Skip to content

How-to · Productivity

How to Make a Wi-Fi QR Code (and Why Some Don't Connect)

Let guests join your Wi-Fi with one scan: how to make the code, why some scan but won't connect, and how to print one that works on every phone.

By OnlineToolPro Editorial TeamPublished 6 min read

The short answer

Open a QR code generator, choose Wi-Fi, enter the network name exactly as it appears on your phone, pick the security type (almost always WPA) and type the password. Download the code and test it with an iPhone and an Android phone before printing. Guests then point their camera at it and tap to join — no typing.

Reading out a 16-character router password to every visitor gets old fast. A Wi-Fi QR code fixes that: guests scan it with their camera and connect in one tap. Cafés, rentals, offices and anyone with relatives who visit often get a lot out of one.

Making the code takes a minute. Making one that works on every phone needs a little more care — most of the “it won't connect” complaints come from the same handful of mistakes.

On this page
  1. How to make a Wi-Fi QR code
  2. What's actually inside the code
  3. Why a Wi-Fi QR code scans but won't connect
  4. How guests scan it
  5. Printing it so it scans first time
  6. Is it safe?
  7. FAQ

How to make a Wi-Fi QR code

  1. 1
    Open the QR code generator and choose Wi-Fi.
  2. 2
    Type the network name (SSID) exactly — capitals, spaces and symbols included. Copy it from your phone's Wi-Fi list if you're not sure.
  3. 3
    Choose the security: WPA/WPA2/WPA3 for nearly every home and office network, No password for open networks.
  4. 4
    Type the password, again exactly.
  5. 5
    If your network doesn't broadcast its name, turn on Hidden network.
  6. 6
    Download PNG for screens and documents, or SVG for printing at any size.

The code holds the network details directly. There's no link to a website and nothing that can expire or be switched off — it works for as long as the name and password stay the same.

What's actually inside the code

A Wi-Fi QR code is just a short line of text in a format phones recognize:

WIFI:T:WPA;S:HomeNetwork;P:correct-horse-42;;
Fields in a Wi-Fi QR code
FieldMeaningExample
TSecurity typeWPA, WEP or nopass
SNetwork name (SSID)HomeNetwork
PPasswordcorrect-horse-42
HHidden networktrue (only when hidden)
Fields in a Wi-Fi QR code

Knowing this helps with troubleshooting: any QR scanner app will show you the text inside a code, so you can check whether the name and password in it are right.

Why a Wi-Fi QR code scans but won't connect

  • A typo in the name or password. Both are case-sensitive. Home-WiFi and Home-Wifi are different networks.
  • Special characters weren't escaped. The format uses ;, :, ,, " and \ as separators, so those characters must be written with a backslash in front. A password like pass;word breaks a code made by a careless generator. Ours escapes them automatically.
  • Hidden network not marked as hidden. Phones look for the name in the air; if the router doesn't broadcast it, the code needs the hidden flag.
  • The password changed. The code stores the old one. Make a new code whenever you change the password.
  • Work or university networks. Networks that need a username as well as a password (WPA2-Enterprise, eduroam) aren't supported by the standard Wi-Fi QR format.
  • WPA3-only networks on older phones. Most phones join WPA3 networks from a code marked WPA, but some older devices can't use WPA3 at all. Routers in WPA2/WPA3 “transition” mode work with everything.

How guests scan it

Scanning a Wi-Fi QR code
PhoneHow
iPhone / iPadOpen the Camera, point it at the code, tap the “Join network” prompt.
AndroidUse the camera or Google Lens; on most phones you can also tap the QR icon in Settings → Wi-Fi.
LaptopsMost don't scan QR codes — keep the password written below the code for them.
Scanning a Wi-Fi QR code

Printing it so it scans first time

  • Size: at least 2.5–3 cm (about an inch) across for scanning up close; bigger if people scan from across a counter.
  • Contrast: dark code on a light background. Light-on-dark and low-contrast brand colors fail on some phones.
  • Margin: keep the white border around the code. Text or decoration touching it causes misreads.
  • Error correction: “Medium” is fine for a framed sign. Choose “High” for a sticker that may get scratched.
  • Use SVG for print so it stays sharp at any size, and add the network name and password underneath in plain text as a fallback.
Test the printed code with both an iPhone and an Android phone before laminating it or ordering a batch.

Is it safe?

The code isn't encrypted. Anyone who can photograph it can read the password with any QR app. That's fine in your living room; on a café counter it means the password is effectively public.

For anything beyond close friends and family, put the code on a guest network. Most routers can create one in a few clicks: guests get internet access but can't see your computers, printers or smart-home devices.

Our generator builds the code inside your browser, so your Wi-Fi password isn't sent to a server. That's worth checking with any QR site, since the password is literally what you're typing in.

Frequently asked questions

Do Wi-Fi QR codes expire?

No. The network details are stored in the code itself, so it works as long as the network name and password don't change. Dynamic QR services that route through a link can stop working; a Wi-Fi code doesn't use one.

Can I make a Wi-Fi QR code for a hidden network?

Yes — turn on the hidden network option. It adds H:true to the code so phones know to connect even though the network isn't broadcasting its name.

Where do I find my Wi-Fi password?

Often on a sticker on the router. On an iPhone with iOS 16 or later, go to Settings → Wi-Fi, tap the ⓘ next to your network and tap Password. Android phones can show it under Settings → Wi-Fi → your network → Share.

Does it work for WPA3?

Usually yes. Choose WPA — it covers WPA2 and WPA3 personal networks. Some older phones can't join WPA3-only networks at all, with or without a QR code.

Can a Wi-Fi QR code be hacked?

The code itself can't run anything, but anyone who sees it can read the password. Use a guest network for public places, and watch for stickers placed over yours that lead somewhere else.

OnlineToolPro Editorial Team

Builds and tests the tools on this site

The team behind OnlineToolPro. We write guides from building and testing these tools, and check platform rules against official documentation such as YouTube Help. When something changes, we update the article and its date.

Other tools you might find useful next.