Wi-Fi QR Code

Type your network name and password. Guests point their phone camera at the code and tap to join, with no password typing. Made in your browser; the password is not sent anywhere.

How it works

Phone cameras read a special kind of text from a QR code: WIFI:T:WPA;S:name;P:password;; It names the security type, the network name and the password. iPhones and Android phones both offer to join when they see it.

Semicolons separate the fields, so a semicolon inside a name or password has to be escaped with a backslash. So do backslashes, commas, colons and double quotes. A password such as pass;word that is not escaped is read as "pass", and the phone fails to join. This page escapes all five characters for you.

The page also checks the password against the rules phones apply. A WPA password must be 8 to 63 characters, and a WEP key 5 or 13 characters, or 10 or 26 hex digits. A code that breaks those rules scans, but the phone then refuses to join.

How to use it

  1. 1 Type the network name exactly as your phone lists it, including capitals and spaces.
  2. 2 Say how people join: with a password, with no password, or with an old WEP key.
  3. 3 Type the password, and tick the box if your network is hidden.
  4. 4 Scan the code with your own phone to test it, then download it as SVG or PNG and print it.

Good to know

  • Put the code on a guest network rather than your main one. Anyone who can photograph the code can read the password out of it.
  • If you change the Wi-Fi password, the printed code stops working. Make a new one.
  • Print the network name and password in small type under the code too, for laptops and older phones that cannot scan.
  • The "The code holds" line shows the exact text inside the code, so you can check the escaping yourself.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

A Wi-Fi code for a holiday rental, with a password that breaks most generators

Picture a holiday flat where the owner is tired of guests mistyping the Wi-Fi password. The guest network is called Seaview Guest, and its password is Sun;Sea:2024. That is 12 characters, so it passes the WPA rule of 8 to 63. It also contains a semicolon and a colon, the two characters most likely to break a Wi-Fi QR code.

Here is why. The code holds one line of text in which semicolons separate the fields. Written naively, the line reads WIFI:T:WPA;S:Seaview Guest;P:Sun;Sea:2024;; and a phone reading it sees the password end at the first semicolon. It tries to join with "Sun" and fails. The correct line escapes both characters: P:Sun\;Sea\:2024; and this page writes exactly that. The full text is shown under the form as "The code holds", so the owner can see the backslashes before printing.

The text is 45 characters, which fits a version 4 code, 33 modules a side. The owner chooses "Screen or paper" because the code will be printed and framed on the fridge, away from damage. Before printing, they scan the code on screen with an iPhone and an Android phone. Both offer to join Seaview Guest, and both connect. Then they download the SVG, add it to a welcome sheet with the network name and password printed underneath for laptops, and print it.

One more check is worth doing. If the owner had chosen "No password" by mistake, the code would leave the password out entirely and the phone would fail to join a protected network. If they had typed a 7-character password, the page would warn that phones refuse WPA passwords shorter than 8 characters. Both mistakes are easy to make and hard to spot in a printed code, which is why the page states them in words.

This tool has limits. It cannot read your router, so the name and password must be typed exactly as they are set, capitals included. It does not support WPA2 Enterprise networks that log in with a username, which the common Wi-Fi code format does not describe. The finished code holds the password in plain text, so anyone who can see it can read it: share it where you would share the password itself. And if the password changes, the printed code is out of date.

Frequently asked questions

Which phones can join from a Wi-Fi QR code?

iPhones from iOS 11 onwards and current Android phones read Wi-Fi codes with the built-in camera. Some older Android phones need the scanner inside the Wi-Fi settings screen or a scanner app.

Is it safe to type my Wi-Fi password here?

The code is made by JavaScript in this tab, and the password is not uploaded or stored. Keep in mind that the finished code holds the password in plain text: anyone who scans it, or photographs it, can read it.

My password has a semicolon in it. Will the code work?

Yes. A semicolon, comma, colon, backslash or double quote in the name or the password is escaped with a backslash, which is what the format asks for. The "The code holds" line shows the result.

What should I choose for WPA2 or WPA3?

Choose "With a password". The code then says WPA, which is the value the format uses for the whole WPA family. Phones read the network's actual security when they connect.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.