Guides

How to make a Wi-Fi QR code guests can scan to join

A Wi-Fi QR code lets a guest join your network by pointing their phone camera at it, with no typing. Here is the exact text to put in it, the mistakes that stop it working, and how to make one without sending your password to anyone.

Last checked 2026-11-06.

Make a Wi-Fi QR code

How a Wi-Fi QR code works

A QR code is just text, stored as a pattern of squares. When a phone camera reads a QR code, it looks at that text and decides what to do with it. If the text is a web address, the phone offers to open it. If the text follows a particular Wi-Fi format, the phone offers to join that network.

That format is an informal standard that phone makers adopted years ago, and it looks like this:

`WIFI:T:WPA;S:YourNetworkName;P:YourPassword;;`

Each part does one job:

If your network is hidden (it does not appear in the Wi-Fi list), add `H:true;` before the final semicolon: `WIFI:T:WPA;S:Office;P:secret123;H:true;;`

Making the code, step by step

There is no account and no email needed, and you can use the code anywhere, including in a business.

Special characters: the most common reason it fails

Four characters have a special meaning in the Wi-Fi format: the semicolon `;`, the comma `,`, the colon `:` and the backslash `\`. If your network name or password contains one of them, put a backslash in front of it so the phone reads it as part of the password rather than as a separator. The double quote `"` is usually escaped the same way.

For example, if the password is `pa;ss:word`, write `P:pa\;ss\:word;`.

Spaces are fine as they are. Letters with accents and other alphabets are also fine: the generator here encodes text as UTF-8, which phone scanners read correctly.

Other reasons a Wi-Fi code does not work

Keeping your password private

Think about where your Wi-Fi password goes while you make the code. Many QR generator sites build the code on their server, which means your network name and password are sent to them. Some also make "dynamic" codes that route through their own short link.

The generator on this site draws the code inside the page, on your device, so the password is never sent anywhere. You can check: open your browser's developer tools, choose the Network tab, and make the code. No request carries what you typed.

The code itself is a different matter: anyone who can photograph it can read the password from it. Treat a printed Wi-Fi code the way you would treat the password written on a card. For a café, an Airbnb or an office lobby, a separate guest network is the safer choice, so the code never unlocks the network your own computers use.

Where to put it

Need the PNG smaller for a document or email? Resize it with Image Resize. For why static codes keep working after print, see QR codes that never expire.

When another approach is the better choice

Worth knowing before you print a hundred cards: a Wi-Fi QR code is the wrong choice if you need to rotate the password often, or if guests should never see the same network your own devices use. In those cases use a separate guest SSID, or hand out the password on paper and change it when a stay ends. No tool will make a static code that can revoke access later without reprinting.

Questions people ask

What do I type to make a Wi-Fi QR code?

`WIFI:T:WPA;S:network name;P:password;;` with your own name and password. Paste it into the generator's text box.

Does a Wi-Fi QR code expire?

No. The login is stored in the pattern itself. It stops working only if you change the network name or password.

Is my Wi-Fi password sent to your server?

No. The code is drawn in your browser and nothing is uploaded.

What if my password has a semicolon or colon in it?

Put a backslash in front of it, for example `pa\;ss`.

Can I make one for a hidden network?

Yes. Add `H:true;` before the final semicolon.

Is it free?

Yes, with no account. Free PNG downloads carry a small "made with upfrontpdf.com" line under the code, which you can crop off; the SVG has none on any tier. A plan removes the line from the PNG too; paid checkout is not open yet (see pricing).

Try it

The code is drawn in your browser, so your Wi-Fi password is never sent to us or anyone else.

Make a Wi-Fi QR code

More guides