A password QR code generator turns your network name and WiFi password into a square that any smartphone camera can read, so guests join your network without typing a single character. Enter the details, press the button, then print or download the finished code and share it with your guests, customers or housemates in seconds.
How a Password QR Code Generator Works
A WiFi QR code is not an image of your password. It is a short line of plain text that follows a fixed pattern, drawn as black and white modules. When a camera app or qr code scanner reads that text, the phone recognises the WiFi pattern and offers to connect to the wifi network for you. Because the whole job is string formatting plus drawing, a good tool can do it in your browser, so your credentials never travel to a server. You can use the base64 encoder decoder in seconds with a free tool that runs entirely in your browser.
The text a WiFi QR code stores
Every code holds a string built from four fields, each ended by a semicolon, and the string closes with a second semicolon:
$$\text{WIFI:T:}\langle\text{security}\rangle\text{;S:}\langle\text{SSID}\rangle\text{;P:}\langle\text{password}\rangle\text{;;}$$
The T field is the security type (WPA, WEP or nothing), S is the SSID, also called the network name, and P is the passphrase. An optional H:true marks a hidden network. If a field contains a backslash, semicolon, comma, colon or quotation mark, put a backslash in front of it.
Why one scan replaces typing
Reading out a long password invites typos, especially with look-alike characters such as 0 and O. A scan copies the exact text, which is why a code is the most reliable way to connect to your WiFi from a phone. The same convenience applies to every device with a camera.
Password QR code versus password-protected QR code
The phrase has two meanings. A WiFi password QR code carries your network login, which is what this page builds. A password-protected QR code works differently: a dynamic QR code points to a link, and the link asks for a password before it opens. That password protection needs a hosted service, while the first kind needs nothing but your browser.
Free WiFi QR Code Generator Settings You Choose
This free wifi qr code generator needs only a few choices, and each one changes what ends up in the code.
| Field | What you enter | Stored in the code as |
|---|---|---|
| Network name (SSID) | The exact name your router broadcasts, including capitals | S: |
| Password | Your WiFi password, never shortened | P: |
| Security type | WPA/WPA2, WEP or none | T: |
| Hidden network | Tick only if the SSID is not broadcast | H:true |
| Error correction | L, M, Q or H | Redundancy, not text |
Security type: WPA, WPA2 or WEP
WPA and WPA2 are the safe choice and the default on nearly every router. WEP is an outdated scheme that you should replace if you can. Choosing none builds an unprotected, open network that anyone nearby may join, so only pick it on purpose.
Hidden network option
A hidden network does not announce its name, so the phone has to be told to look for it. Tick the box and the generated text includes the flag, which lets the scanner join a network that never shows in the list.
Error correction levels
The error correction level decides how much damage a code can survive, from about 7% for level L to about 30% for level H. Higher levels add redundant modules, so the square grows. Level M is a sensible default for a code printed on clean paper, while H suits a sticker that might get scuffed or carry a logo.
Worked example: one network, four error correction levels
Take a home guest network called MapleLoft_Guest with the 16-character password k7Rv2mQx9TnB4wLe and WPA security. The stored text is WIFI:T:WPA;S:MapleLoft_Guest;P:k7Rv2mQx9TnB4wLe;;, which is 49 bytes: 18 bytes of framing, 15 for the SSID and 16 for the password. Each error correction level needs the smallest QR version whose byte capacity holds those 49 bytes.
| Level | Smallest version that fits | Byte capacity | Grid size |
|---|---|---|---|
| L (about 7%) | Version 3 | 53 bytes | 29 × 29 modules |
| M (about 15%) | Version 4 | 62 bytes | 33 × 33 modules |
| Q (about 25%) | Version 5 | 60 bytes | 37 × 37 modules |
| H (about 30%) | Version 6 | 58 bytes | 41 × 41 modules |
The grid side follows \(17 + 4 \times \text{version}\), so level H draws 1,681 modules against 841 at level L, twice as many for the same text. Fewer, larger modules scan faster from a distance, which is why a bigger print size matters more than extra protection for most wall signs.
Choosing a Strong Password for Your WiFi Credentials
A code removes the hassle of typing, so you can finally afford a strong safe password. Because nobody has to read it aloud, you can use a long random string instead of a memorable one. Run the free security question answer generator whenever you need another one — it only takes a few seconds.
- At least 16 characters long
- Upper and lowercase letters mixed together
- Digits and numbers placed throughout, not only at the end
- Some special characters, remembering the backslash rule above
Why a longer WiFi password still fits in a scannable code
A random 16-character password drawn from letters and digits carries about 95 bits of strength, against roughly 48 bits for 8 characters. It also adds only 8 bytes to the 49-byte text in the worked example, so scan to share the long password rather than shortening it.
Using a passphrase instead
If you still want people to be able to read the password, a long passphrase of unrelated words works too. Keep it past 20 characters and let the code do the sharing, so the phrase never needs to be spoken in a busy room.
Scan the QR Code: Android, iPhone and Other Scanners
You do not need a special app to read QR codes on modern phones. The built-in camera does the work once you point it at the square.
Android scanning
The Android camera reads WiFi codes natively from Android 10 onward, and any scanner built on the ZXing library handles them as well. Some manufacturers add a scan mode to the lock screen.
iPhone and iOS scanning
The iPhone camera supports WiFi codes from iOS 11, with the built-in camera showing a join prompt at the top of the screen. Third-party apps can read the code but may only show the details, so you would copy the password across by hand.
When a scanner only shows text
Some older readers simply display the raw string. In that case the QR code still holds the right information, and you can copy the password out of it manually.
Scanning tips for printed codes
Keep the whole square in view with a clear margin around it, avoid glare, and hold the phone steady for a second or two. A QR code printed too small is the most common reason a scan fails.
A Café Owner Builds a Patio WiFi QR Code for Table Tents
Dara Okonkwo runs a corner café and has a new problem: patio customers keep asking staff for the WiFi, and the router's password contains a semicolon. She opens the generator and enters the SSID Pinecrest-Cafe-Patio and the 16-character password Jx4;pW8vNd2qZr6T, leaves security on WPA/WPA2 and ticks nothing for a hidden network.
Before she presses the button she checks the semicolon. In the stored text a bare ; ends a field, so the generator writes it as \;, and the finished string reads WIFI:T:WPA;S:Pinecrest-Cafe-Patio;P:Jx4\;pW8vNd2qZr6T;;. That is 55 bytes: 13 for the opening, 20 for the SSID, 3 for the password marker, 17 for the escaped password and 2 for the closing pair.
| Level | Version | Capacity | Grid |
|---|---|---|---|
| M | 4 | 62 bytes | 33 × 33 |
| Q | 5 | 60 bytes | 37 × 37 |
Tent cards get splashed with coffee and rubbed by napkins, so Dara chooses level Q. Fifty-five bytes will not fit version 4 at that level (46 bytes), so the result is a version 5 grid of 37 modules per side. With a quiet zone of four modules on each edge, the printed width is 45 modules, and a 4.5 cm square card gives each module exactly 1 mm, comfortably large for a phone held at arm's length.
She prints one test card on plain paper, scans it with her own phone and sees the join prompt for Pinecrest-Cafe-Patio. Then she scans it with a second phone, an older Android, to confirm the escaped semicolon survived. Both connect, so she downloads the SVG, prints twelve cards and retires the whiteboard where the password used to be written.
Security Tips for Sharing a WiFi Password with QR Codes
Anyone who can see the code can read the credentials, so treat it like the password itself. A few habits keep the convenience from becoming a risk.
Create a separate guest network
Put visitors on a guest network instead of your main one. Then the code you print opens the internet but not your laptops, printers or storage drives, and you can switch it off without touching your own devices.
Placement matters
Do not tape a code to a window facing the street, since a passer-by could scan it and gain unauthorized access. Inside a room, a frame by the sofa is plenty.
Rotate the password when it changes
Whenever you change the password, generate a new square and replace the old print. Guests simply scan again, and nothing else on their mobile needs to change.
Keep the data in your browser
Choose a tool that draws the square in the page rather than sending your data out. Some save a favourite network in localStorage, which stays on your own machine and is never transmitted.
Where a Wi-Fi QR Code Generator Pays Off: Homes, Cafés and Rentals
The same square suits very different places, and the guest experience improves in each of them. Because QR codes cost nothing to reprint, a business can keep a fresh copy at every entrance, desk and table, and a family can keep one on the fridge.
Restaurants and cafés
A restaurant can print the code on table tents, menus or receipts so customers connect themselves without interrupting staff.
Hotels and hospitality
For hospitality work, a hotel can put one code in each room folder, and every visitor gets access within seconds of arrival.
Airbnb and short-term rentals
Hosts on Airbnb can leave a framed code by the entrance. Offices and coworking spaces, and any small business with visitors, benefit in the same way.
Customizing and Downloading Your Code
You can customize the finished square before you use it. Pick dark colors on a light background, keep strong contrast (light colors on a dark background can fail on older phones), and add a logo only at error correction level H so the extra redundancy covers the hidden modules.
Skip decorative styling that lowers contrast. Scanners look for the three large corner squares and the pattern of dark and light modules, so a code with pale colors, a busy photo behind it or heavy rounding can scan slowly or not at all. A plain code with a quiet zone of four modules around it is the safest design for both homes and shops, and you can still add a short label such as the network name beside it.
Longest possible payload
Router limits are generous: an SSID can reach 32 characters and a WPA password 63. Together with the framing text, that longest case is 113 bytes, which still fits a version 6 code at level L (134 bytes), so even a maximum-length network never overflows the format. If your SSID and password sit near that limit, use level L or M so the grid stays small enough to scan; compact QR codes are easier to read from a distance.
Download formats
Take a PNG for screens and documents, an SVG for sharp printing at any size, or a PDF for a ready sheet. A final download and a test scan from a second phone confirm everything works before you hang it up.
Frequently Asked Questions
- Why scan a password instead of typing it?
- Typing a long, random password character-by-character on a phone's on-screen keyboard is slow and error-prone -- a QR scan transfers it exactly, instantly, with zero typos. This is especially useful when setting up a new device or sharing a one-time credential in person.
- Is my password sent anywhere when I generate the QR code?
- No. The QR code is generated entirely in your browser -- nothing is transmitted, logged, or stored. That said, once generated, the QR code itself IS the password in a different visual form -- anyone who photographs or scans it can read the value, so treat it exactly as sensitively as the password itself.
- Can any QR scanner read this?
- Yes -- this produces a standard QR code encoding plain text, readable by any phone's native camera app or any QR scanner app. There's no proprietary format or app-specific requirement.
- Does this work for values other than passwords?
- Yes -- it encodes whatever text you type, so it works equally well for WiFi keys typed as plain text, license keys, recovery codes, or any other short string you need to hand off quickly between devices.
- How much text can a QR code hold?
- A single QR code can hold up to a few thousand characters depending on error-correction level, far more than any reasonable password needs -- you won't hit a length limit with typical credentials.