What a Wi-Fi QR Code Does

A Wi-Fi QR code stores your network name (SSID), password and security type in one small square. A guest points their phone camera at it, taps the “Join network” prompt and is online — no spelling out a 20-character password, no typos. It works on iPhone (iOS 11 and later) and on Android phones through the camera app or Google Lens, with no extra app.

Wi-Fi QR code that connects a phone to a network with one scan using the built-in camera
A Wi-Fi QR code stores the network name, password and encryption type, so guests can join without typing a password.

Under the hood there is no magic and no server: the code simply contains a short line of text such as

WIFI:T:WPA;S:MyNetwork;P:MyPassword;;

The phone recognises the WIFI: prefix, reads the fields and offers to join. Because the credentials live inside the image itself, the code works offline, never expires, and keeps working until you change the password.

Quick answer

To create a QR code for your Wi-Fi: open our free generator, choose Wi-Fi, enter the network name and password, pick the security type, and download the PNG or SVG. Everything is generated in your browser — your password is never uploaded.

How to Create a Wi-Fi QR Code (Free)

The generator on our homepage has a dedicated Wi-Fi mode. It runs entirely in your browser, needs no account, and the result is a standard static code that any phone can read.

How to create a Wi-Fi QR code: open the generator, enter the SSID, enter the password, select the encryption type
Enter your SSID, password and encryption type, then generate the code — it takes under two minutes.

Step by step

1

Open the generator and pick Wi-Fi. Go to the homepage generator and click the Wi-Fi tab. Three fields appear: Network Name (SSID), Password and Encryption.

2

Type the network name exactly. SSIDs are case-sensitive and spaces count — “Home WiFi” and “home wifi” are different networks. Copy it from your phone’s Wi-Fi list or the router label.

3

Enter the password. Use the password for the network you want guests on (ideally a guest network). For an open network, leave it empty.

4

Choose the security type. WPA/WPA2 is right for almost every modern router, including WPA2/WPA3 mixed mode. WEP is only for very old equipment. None is for open networks.

5

Test, then download. Scan the preview with your own phone and make sure it actually joins. Then download PNG for quick printing or SVG if a designer or print shop will scale it.

The web generator produces clean black-on-white codes, which are the most reliable to scan. If your password contains unusual characters or your network is hidden, read the special cases section first — there is a simple workaround.

What Our Wi-Fi Tab Does (and Does Not Do)

Most “my Wi-Fi code won’t connect” problems are really questions about what the generator put inside the code. Here is exactly what ours does when you press Generate in Wi-Fi mode:

TopicWhat the Wi-Fi tab does
String it buildsWIFI:T: + security + ;S: + name + ;P: + password + ;;
Security optionsWPA/WPA2 (writes T:WPA), WEP, None (writes T:nopass)
Spaces at the endsRemoved from the name and the password before encoding. Spaces inside are kept.
Special characters \ ; , : "Not escaped. The text you type goes into the string unchanged.
Hidden network flag (H:true)Not available in the Wi-Fi tab.
Accents, emoji, non-Latin lettersEncoded as UTF-8, so they are stored correctly; test on both phone families anyway.
Empty passwordAllowed. With None selected the string ends ;P:;;, which phones accept for open networks.
Error correction and quiet zoneLevel M, with a four-module quiet zone included in the PNG and SVG.
Where it runsIn your browser. The name and password are not sent to a server.

In plain terms: for an ordinary network name and password made of letters, digits, spaces and symbols such as - _ # ! @ $ %, the Wi-Fi tab is all you need. If your password or name contains a semicolon, comma, colon, backslash or double quote, or your network is hidden, build the string yourself and paste it into the Text tab. The special cases section shows how, with copy-ready examples.

How Guests Scan and Join

Tell guests it is the normal phone camera — no app needed.

New to scanning? Our guide to how to scan a QR code covers older phones and scanner apps.

Find Your Network Name and Password First

Most failed Wi-Fi codes come down to one wrong character. Get the exact details before you start:

The Wi-Fi QR Code Format (WIFI:T:S:P:H)

The WIFI: text format is a de facto convention, popularised by the open-source ZXing barcode project and now understood by the iPhone and Android cameras. It is a list of key:value; fields followed by an extra semicolon:

Wi-Fi QR code format WIFI:T:WPA;S:MyWiFi;P:MyPassword;H:false;; with the T, S, P and H parameters explained
The WIFI: string holds the encryption type (T), network name (S), password (P) and an optional hidden-network flag (H), ending with ;;
WIFI:T:<security>;S:<network name>;P:<password>;H:<true|false>;;
FieldMeaningValues / exampleNeeded?
T:Security typeWPA (WPA/WPA2/WPA3-mixed), WEP, nopassRecommended
S:Network name (SSID), case-sensitiveS:Cafe GuestYes
P:PasswordP:sunny-day-42 (omit or leave empty for open networks)If secured
H:Hidden (non-broadcast) networkH:trueOnly for hidden SSIDs

Rules worth knowing:

// WPA2 home or guest network
WIFI:T:WPA;S:Smith Guest;P:welcome-to-our-home;;

// Open network (no password)
WIFI:T:nopass;S:Library Free WiFi;;

// Hidden network
WIFI:T:WPA;S:Studio-5G;P:Br1ght#Lights;H:true;;

// Password containing a semicolon: pa;ss42
WIFI:T:WPA;S:Office;P:pa\;ss42;;

Hidden Networks, Special Characters and WPA3

Our web generator fills in T, S and P for you. It does not have a hidden-network switch, and it does not add backslash escapes, so two situations need a small manual step.

Hidden networks or passwords with ; , : \ "

Use the generator’s Text mode instead of Wi-Fi mode and type the full string yourself. A QR code that contains the text WIFI:T:WPA;S:Studio-5G;P:Br1ght#Lights;H:true;; is exactly the same as one made in Wi-Fi mode — phones only look at the text. This route lets you add H:true; and escape any special characters. Always test the result before printing.

Manual Wi-Fi string in Text mode

1

Write the string in a text editor: WIFI:T:WPA;S: + name + ;P: + password + ; (add H:true; for a hidden network) + a final ;.

2

Put a backslash before any \ ; , : " that appears in the name or password.

3

Paste it into the Text tab of the generator, scan the preview with two phones, then download.

Worked examples: what to type and what you get

The right-hand column is what goes into the Text tab. Replace the sample names and passwords with your own.

Your networkString to paste into the Text tabWi-Fi tab enough?
Name Home Wifi, password blue-sky-2026, WPA2WIFI:T:WPA;S:Home Wifi;P:blue-sky-2026;;Yes
Open network Library Free WiFiWIFI:T:nopass;S:Library Free WiFi;;Yes (choose None)
Password with a semicolon: pa;ss42WIFI:T:WPA;S:Office;P:pa\;ss42;;No
Password with a colon: a:b:cWIFI:T:WPA;S:Office;P:a\:b\:c;;No
Password with a comma: one,twoWIFI:T:WPA;S:Office;P:one\,two;;No
Password with a backslash: ab\cdWIFI:T:WPA;S:Office;P:ab\\cd;;No
Password with a double quote: say"hiWIFI:T:WPA;S:Office;P:say\"hi;;No
Name with a semicolon: Joe's Cafe; 5GWIFI:T:WPA;S:Joe's Cafe\; 5G;P:secret99;;No
Hidden network Studio-5GWIFI:T:WPA;S:Studio-5G;P:Br1ght#Lights;H:true;;No

The pattern is always the same: put one backslash in front of each of the five characters \ ; , : " that appears inside the name or password, and leave the structural semicolons and colons alone. Paste the finished string into the Text tab, generate, then scan the preview with an iPhone and an Android phone. If the phone offers to join, the string is right; if it shows plain text, look for a missing WIFI: prefix, a missing final ;; or a stray space.

Numbers-only passwords

The format description used by scanner software says a name or password made only of hex digits (0–9, A–F) may be wrapped in double quotes so it is not mistaken for a hex value. Behaviour differs between phones, so this is only a fallback: if a purely numeric password fails to join from a code that looks correct, try P:"12345678"; in the Text tab and test again.

Names or passwords with accents, emoji or non-Latin letters

Plain letters, digits and common symbols work everywhere. If your network name or password contains emoji, non-Latin scripts or accented letters, test the downloaded code on both an iPhone and an Android phone before printing — character-encoding support for these varies between generators and scanners. The simplest fix, if you control the router, is a guest network whose name and password use plain characters.

A note on hidden networks: hiding the SSID does not make a network meaningfully more secure, and phones have to probe for it actively. If you control the router, a visible guest network with a strong password usually gives a smoother scan-and-join experience.

WPA3

Use T:WPA (our “WPA/WPA2” option) for WPA3 networks too. The phone finds the network by name and negotiates WPA2 or WPA3 with the router itself, so T:WPA works for WPA2, WPA3 and the common WPA2/WPA3 transition mode. Some Android phones write T:SAE when they share a WPA3-only network; that value is not read the same way by every scanner, so T:WPA is the safer choice for a printed sign. If a WPA3-only network will not join from the code, switch the router (or a guest network) to WPA2/WPA3 transition mode.

WEP, open and enterprise networks

Download

QR Code Apps for Mac & Safari

Prefer generating codes without opening a browser tab? These two native Apple apps cover both habits — a full generator on the desktop, and a one-click share button inside Safari.

Gen QR Fast QR code generator for links, text, Wi-Fi and vCards. Works fully offline, exports PNG and SVG.
Mac App Get
Tab to QR Turn the current tab into a QR code to scan or share, straight from the Safari toolbar.
Safari Extension Get

Branded Wi-Fi Signs with Gen QR on Mac

For a home or a quick office printout, the free black-and-white code is all you need. Cafes, hotels, rentals and shops often want the code to match the room: brand colours, a logo in the centre, a neat card for every table. That is what Gen QR – Code Maker is for. It is a native Mac app with a Wi-Fi code type, and it adds:

Where to Put a Wi-Fi QR Code

Where to use Wi-Fi QR codes: offices and co-working spaces, cafes and restaurants, hotels and vacation rentals
Place Wi-Fi QR codes in lobbies, on table tents and in guest rooms.

What to Print on the Wi-Fi Sign

A bare square is easy to ignore. A small card that answers the three questions every guest has works better:

  1. What is it? A short heading such as “Scan to join our Wi-Fi” above the code.
  2. Which network? The network name in small print below, so people can check they are joining the right one.
  3. Plan B. The password in small print for laptops and for phones that cannot read codes.

Download the SVG for the printed card, drop it into your layout at roughly 3–4 cm square or larger, keep the white border around it, and print on matte paper. Laminate with a matte finish if guests will handle the card often, then re-test the laminated copy. For sizes at distance see the QR code size guide; for choosing paper and printers see QR code print resolution.

Wi-Fi QR Code Best Practices and Security

Wi-Fi QR code best practices: print at least 2 x 2 cm, place at chest to eye level, regenerate after a password change
Print at least 2 x 2 cm, mount it at chest to eye level, and regenerate the code whenever the password changes.

Wi-Fi QR Code Not Connecting? Check These

Create Your Wi-Fi QR Code Now — Free

Enter your network name and password. Generated in your browser, downloaded as PNG or SVG. No account needed.

Frequently Asked Questions

Open the free generator at generateonlineqr.com, choose the Wi-Fi tab, enter your network name exactly as it appears, enter the password, choose WPA/WPA2 (or WEP or None), then test the code with your phone and download it as PNG or SVG. The code is generated in your browser and the password is not uploaded.

The code contains the password in plain text, so anyone who can scan or photograph it can read it. It is as safe as writing the password on a card. Use a guest network for codes on display so visitors cannot reach your own devices.

Yes. iPhones running iOS 11 or later join from the built-in Camera app, and current Android phones join from the camera app or Google Lens. Older phones may need a scanner app.

Yes, if the code includes H:true, for example WIFI:T:WPA;S:Studio;P:secret;H:true;;. Our web generator has no hidden-network switch, so type the full string into its Text mode instead, then test it before printing.

Choose WPA/WPA2, which writes T:WPA. Phones negotiate WPA2 or WPA3 with the router themselves, so T:WPA works for WPA2, WPA3 and WPA2/WPA3 transition mode. If a WPA3-only network will not join, enable transition mode for guests.

The old code stops working because the old password is stored inside it. Generate a new code with the new password and replace the printed copies.

On Android 10 and later, open Wi-Fi settings, tap the connected network and choose Share to show a ready-made QR code. On iPhone with iOS 16 or later, view the saved password under Settings, Wi-Fi, the info button, Password, then enter it into our Wi-Fi generator.

No. The phone decodes the network name and password from the image itself, which is the point: it lets you get online in the first place.

No. The Wi-Fi tab puts your name and password into the string exactly as typed and does not add backslash escapes. If a password or network name contains a backslash, semicolon, comma, colon or double quote, type the full string in the Text tab and put a backslash in front of each of those characters, for example WIFI:T:WPA;S:Office;P:pa\;ss42;;. Test the code before printing.

Not in the way a URL code can be dynamic. A phone only offers to join a network when the code itself contains the WIFI: text, so a code that points to a redirect would open a web page instead. A Wi-Fi code is therefore static: it holds the current password, and you generate and reprint it when the password changes.

T is the security type (WPA, WEP or nopass), S is the network name (SSID), P is the password and H:true marks a hidden network. The string starts with WIFI: and ends with two semicolons, for example WIFI:T:WPA;S:MyNetwork;P:MyPassword;;.