Wi-Fi QR Code Generator (Print a Guest Wi-Fi Card)

Runs in your browser: nothing you enter or choose is uploaded.

This WiFi QR code generator turns your network name and password into a QR code that iPhone and Android cameras can scan to join your Wi-Fi without typing anything. You can download the code as a PNG or print a guest card.

It runs in your browser: nothing is uploaded, and your password never leaves your device.

How to use the WiFi QR code generator

  1. Type your network name in Network name (SSID) exactly as it appears in your phone’s Wi-Fi list. Capitals and spaces count.
  2. Type the Wi-Fi password in Password. It’s shown in plain text so you can check for typos. Leave it empty for an open network.
  3. Under Security, keep WPA, WPA2 or WPA3 (most networks) for almost any home router. Choose WEP only for a very old router, or None (open network) if there’s no password.
  4. Tick Hidden network only if your router doesn’t broadcast its name.
  5. Select Make QR code.
  6. Scan the code with your own phone to test it, then download the PNG or print the guest card.

Don’t know the password? A phone or PC that has joined the network already has it saved. Our guide to finding a saved Wi-Fi password shows where to look on Windows 11, Android, iPhone and Mac. Otherwise check the sticker on your router.

How it works

A Wi-Fi QR code is just a short line of text in a format phones recognise. It was first documented by the open-source ZXing barcode project and is now read by the built-in camera on iPhone and most Android phones. It looks like this: WIFI:T:WPA;S:network-name;P:password;H:true;;

  • T is the security type: WPA (which covers WPA, WPA2 and WPA3 personal networks), WEP or nopass.
  • S is the network name (SSID).
  • P is the password.
  • H:true marks a hidden network. The tool only adds it if you tick Hidden network.

Some characters have a special meaning in this format, so the tool escapes them with a backslash: \, ;, ,, " and :. A password like tea;time is stored as tea\;time, and the phone that scans it reads it correctly. Many homemade Wi-Fi codes fail because this step was skipped.

The QR code is drawn by a script running on your device. Nothing you type is sent anywhere.

A Wi-Fi QR code is not encrypted. Anyone who scans it, or photographs it, can read your password with a QR app. Treat the printed card like the password itself.

How to read your result

Your result is the QR code itself. The only test that counts is scanning it: if your phone offers to join the network and connects, the code is right. If it doesn’t, the table below lists the usual causes. Use Download PNG to save the code, or Print guest card to print it with the network name and password.

ProblemLikely causeFix
The phone doesn’t react to the codeQR scanning is off in the camera, or the code is too close, blurry or reflectiveHold the phone about a foot away and move closer slowly; check the camera’s QR setting
It offers to join but failsA typo in the name or password, or wrong capitalsCompare with a device that’s connected and make the code again
The network isn’t foundThe router hides its nameTick Hidden network and make a new code
Older devices can’t joinThe router uses WPA3 onlyUse WPA2/WPA3 mixed mode on the router, if it offers it
The printed card won’t scanPrinted too small or on glossy paperPrint it larger on plain paper

How to scan a Wi-Fi QR code on iPhone and Android

iPhone (based on Apple’s support pages)

Open the Camera app and hold the iPhone so the QR code is in the frame, then tap the prompt that appears to join the network. You can also use Code Scanner from Control Center.

Android

According to Google, you need Android 9 or later to scan QR codes with the built-in camera app, and support varies by phone model: point the camera at the code and tap the banner that appears. Google Lens works too, including the Lens button in the Google search bar and in Chrome.

On a Samsung Galaxy, the Camera app scans QR codes when you point it at one. Setting up a phone for someone? Our guide to setting up a new Android phone covers the other first steps.

How to show a Wi-Fi QR code from your phone’s settings

If your phone is already connected, it can show its own QR code, which is handy when you don’t need a printed card.

  • Samsung Galaxy: according to Samsung, go to Settings β†’ Connections β†’ Wi-Fi, tap the gear icon next to the connected network, then tap QR code.
  • Pixel and other Android phones: Google’s Android Help says to open Settings β†’ Network & internet β†’ Internet, tap your network, then tap Share. Some of these steps need Android 12 or later.
  • iPhone: Apple’s iPhone guide says you can open the network in the Passwords app’s Wi-Fi section and tap Show Network QR Code.

More Galaxy and Android guides are on our Android hub.

Make a printable guest Wi-Fi card

A printed card by the front door or in a guest room saves you spelling out the password every time. A few habits keep it safe:

  • If your router has a guest network, put that on the card instead of your main network, so visitors can’t reach your computers, printers or smart home devices.
  • Keep the card out of view of windows, and out of photos you post online.
  • When you change the Wi-Fi password, make and print a new code: the old one stops working.
  • WEP is broken and easy to crack. If your router only offers WEP, it’s time to replace it.

For more on keeping home devices and accounts safe, see our security hub.

Limitations

  • It can’t create codes for enterprise or work networks that need a username as well as a password (WPA2-Enterprise).
  • WPA-type passwords are 8 to 63 characters, and network names can be up to 32 characters. A code made with something outside those limits won’t connect.
  • Very old phones may need a separate QR scanner app, or the password typed by hand.
  • The tool can’t check that your password is correct: test the code before you print it.

FAQ

Is it safe to make a Wi-Fi QR code online?

It depends on the site. This generator makes the code in your browser and sends nothing, but the QR itself stores the password as readable text, so only share it with people you’d give the password to.

Can an iPhone scan a Wi-Fi QR code?

Yes. Point the Camera app at the code, or use Code Scanner in Control Center, and tap the prompt to join the network.

How do I get the QR code for my Wi-Fi on a Samsung phone?

Go to Settings β†’ Connections β†’ Wi-Fi, tap the gear icon next to the network you’re connected to, then tap QR code.

Do Wi-Fi QR codes expire?

No. The code keeps working until you change the network name, password or security type. Then you need a new one.

Can I make a Wi-Fi QR code without a password?

Yes, for an open network: choose None (open network) under Security and leave the password empty.

Sources