Wi-Fi QR Code Generator

Guests scan the code and join your Wi-Fi, without you spelling out the password.

Fill in the details to see your code.

Look

Last reviewed:

What's inside a Wi-Fi QR code

A Wi-Fi QR code holds one short line of text in a format phone cameras recognize. For a network called HomeNet with the password correct-horse-battery, the whole code reads WIFI:T:WPA;S:HomeNet;P:correct-horse-battery;; (the two semicolons at the end are part of the format). When a guest scans it, the phone reads the network name and password and offers to join, so nobody has to squint at a router sticker or spell out a password letter by letter.

FieldMeaningExample
TSecurity type: WPA, WEP or nopassT:WPA
SNetwork name (SSID)S:HomeNet
PPassword, left out for open networksP:correct-horse-battery
HAdded as H:true for a hidden networkH:true

Five characters have special meaning in this format: backslash, semicolon, comma, colon and double quote. If your network name or password contains one, it needs a backslash in front. The generator adds these automatically: a network named Cafe;Guest is written as S:Cafe\;Guest inside the code.

Choosing the right security type

Match the security setting to what your router uses. You'll find it in the router's admin page or app, usually under wireless or Wi-Fi settings. Most home and small-office routers today use WPA2 or WPA3.

Router settingChooseNotes
WPA2-Personal, WPA3-Personal or a mixed modeWPA / WPA2 / WPA3The right choice for nearly every network
WEPWEPAn outdated standard with well-known weaknesses; switch the router to WPA2 or WPA3 if you can
Open (no password)NoneAnyone in range can join; traffic isn't encrypted
Enterprise (asks for a username too)Not supportedCampus and office logins need a different setup

If your router is set to WPA3 only, some older phones and laptops can't join at all, with or without a QR code. A WPA2/WPA3 mixed mode lets older devices connect while newer ones use WPA3.

Getting the network name and password exactly right

Network names and passwords are case-sensitive, and spaces count. “HomeNet” and “homenet” are different networks, and a password with a trailing space won't work. The most reliable way to get the name right is to copy it from the Wi-Fi list on a phone that's already connected.

  • Watch for look-alike characters on router stickers: 0 and O, 1, l and I, 5 and S.
  • Many dual-band routers show two names, such as Home-2G and Home-5G. Make a code for the one guests should use, or one for each.
  • Tick Hidden network only if the name doesn't appear in the Wi-Fi list. Hiding a network doesn't make it meaningfully more secure.
  • Changed the password? The old code stops working, so print a fresh one the same day.

Share a guest network, not your main one

Anyone who photographs the code can read the password inside it, and so can anyone they share the photo with. For a code taped to a café wall, a holiday rental's welcome book or an office reception desk, set up your router's guest network first. It has its own name and password and keeps visitors away from your computers, printers and smart devices.

Example: A holiday rental's welcome card

  1. Guest network: Lakeview-Guest, WPA2, new password for the season
  2. Code printed 5 cm (2 in) square on a laminated card
  3. Network name and password also printed in text below the code
  4. Password changed between seasons and the card reprinted

Guests connect in seconds, your own devices stay on a separate network, and old guests lose access when the season ends.

Printing the details in text matters for laptops, smart TVs and game consoles, which can't scan a code. Next to the Wi-Fi card, a plain-text code can hold house rules or checkout instructions, and a location code can show guests where to park.

Placing and testing the code

Put the code where people actually stand when they ask for the password: by the door, on the fridge, on the reception counter. Avoid glossy laminate under bright lights, since glare can hide part of the code. Matte finishes scan more reliably.

Test with both an iPhone and an Android phone before you laminate anything. Current camera apps on both recognize Wi-Fi codes; very old phones may need a separate scanner app. If a phone reads the code but fails to connect, the problem is almost always the details, not the code: check the name, password and security type again. For a general guide to sizing and contrast, see the main QR code generator.

Hosting a wedding, workshop or conference? Print the Wi-Fi code on the table cards or the back of the program. Guests scan it once, and nobody has to queue at the front desk asking how to spell the password.

Sources and further reading

How to use it

  1. 1Enter the network name (SSID) exactly as it appears.
  2. 2Pick the security type and enter the password.
  3. 3Print the code and put it near your router or reception.

Questions

Is my Wi-Fi password sent anywhere?

No. The code is generated in your browser; the password only exists in the code you download.

Do these QR codes expire?

Never. The information is stored inside the code itself, not on a server, so it keeps working forever and nothing is tracked.

PNG or SVG?

SVG stays perfectly sharp at any size, so use it for print and signage. PNG is easiest for documents, slides and social posts.

Also handy: Word Counter, Countdown Timer to Any Date