Free · runs in your browser

WiFi QR Code Generator

WiFi QR Code Generator. Enter your network name and password to instantly turn your WiFi details into a scannable QR code. Looking to generate a pgp key pair? It works entirely in your browser and takes only a few seconds.

Your values
Options

Quick uses standard settings (error correction M, 256 px, black on white). Design lets you change them.

Case-sensitive. Copy it exactly as your router shows it.

Case-sensitive. Backslashes, semicolons, colons, commas and quotes are escaped for you.

Tick only if the router does not broadcast its network name.

Result

WiFi QR code text
—
Encoded length
—
Escaped characters
—
QR version and grid
—
Capacity used
—
Pixels per module
—
Colour contrast
—
Input checks
—
  • No account, no logging
  • Open formulas explained below
  • Works offline once loaded

Stop spelling out passwords across the counter: a WiFi QR code generator turns your network name, password and security type into one square image, so a guest points a phone at it and the wireless network joins in one scan, an instant and quick way to share internet access. Whether you run a hotel, a cafe or a spare-room rental, your QR code carries the same credentials you would otherwise dictate, with no typing and no typos.

How to Make a WiFi QR Code in Five Steps

To make a WiFi QR code, you only need three facts from your router: the exact network name, the password and the security type. Everything else is optional styling.

  1. Enter the network name (SSID) exactly as it appears in your phone's Wi-Fi list. It is case-sensitive, so "Harbor Loft Guest" and "harbor loft guest" are two different networks.
  2. Type the password character for character. Leave it empty only when the network is truly open.
  3. Pick the security type: WPA/WPA2 for nearly every modern router, WEP for very old hardware, or No password for an open network.
  4. Tick hidden network only if you switched off SSID broadcast in the router settings.
  5. Check the preview, then download a free PNG or SVG and print it, or show it on a screen so guests join the network without typing.

This free tool runs in your browser. The generator is JavaScript on the page, so the credentials stay on your device, and there is no login and no sign up before you can download the file.

A worked example: the Harbor Loft guest network

Say you manage a short-term rental called Harbor Loft. The guest network is Harbor Loft Guest, it uses WPA2, and the password is Tide;Maple:2048. Those two punctuation marks matter, because a semicolon and a colon both have a job inside the code, so the generator escapes them with a backslash. The finished string is 52 characters long, and that is exactly what gets drawn as the QR code.

Waterfall chart showing the 52-character WiFi QR code string built from the WIFI: prefix, security type, network name, escaped password and closing semicolon
The Harbor Loft example string adds up to 52 characters, two of them escape backslashes.

What the generator does when you click download

Nothing leaves your device. The page assembles the text string, passes it to the QR encoder and draws the modules as an image. Because the code is static, it never expires and keeps working without any internet connection, so you can share the same printed wifi code for years, which is also why a printed card keeps working years later as long as the router settings stay the same.

What a WiFi QR Code Stores: The Payload Format

A wifi qr image is not a link to a web page. It holds a short plain text string in a standard format, which is why the built-in camera app on an iPhone running iOS 11 or later and on Android 10 or later recognises it and offers to join the network, so a guest gets wifi access without typing a single character. The string for the example above is:

WIFI:T:WPA;S:Harbor Loft Guest;P:Tide\;Maple\:2048;;

The prefix WIFI: tells the phone what kind of barcode it is looking at. Each field then follows as a letter, a colon, a value and a semicolon: T is the security type, S is the SSID and P is the password. The final extra semicolon closes the string.

Counting the characters in the string

The length of the payload decides how dense the code looks. For this example you can add it up from the parts:

$$L = 5 + 6 + (|S| + 3) + (|P_{esc}| + 3) + 1$$

Here 5 is the WIFI: prefix, 6 is T:WPA;, the SSID of 17 characters adds 3 for its tag and separators, the escaped password of 17 characters adds 3 as well, and the closing semicolon adds 1. That gives 52 characters. A longer password means more modules, which means each module prints smaller on the same sign.

Symbols, escaping and UTF-8

Five symbols are special inside the string: the backslash, semicolon, comma, colon and double quote. A good generator puts a backslash in front of each one, as in Tide\;Maple\:2048. Accented letters, emoji and non-Latin scripts are encoded as UTF-8, so a network called "Café-Gäste" survives the trip from your screen to a guest's phone intact.

Hidden networks and the H field

A normal network leaves the hidden field out. A network that does not broadcast its name adds H:true; before the closing semicolons, which tells the phone to search for it rather than wait to see it advertised. Add it only when the router really is hiding the name, since an unneeded flag can make a phone connect slowly or fail silently.

Using a Guest WiFi QR Code Generator for Hotels, Cafes and Offices

You can create WiFi QR codes with it for any place where people ask for the password more than once a day. The shared pattern is a short-lived visitor who wants internet access now and has no reason to learn your credentials.

  • Hotels, B&B hosts and Airbnb rentals: laminate a card and put it on the nightstand so guests connect on arrival.
  • Restaurants and cafes: a sticker or table tent saves your staff from repeating the password to customers all day.
  • Offices and coworking spaces: post one at reception so visitors and contractors reach the guest network without asking.
  • Clinics and waiting rooms: patients join from their seat while the staff network stays private.
  • Events, schools and campuses: signage near check-in connects attendees in seconds instead of queuing at a help desk.
  • Warehouses: drivers and auditors join a separate guest network from the lobby.

Free WiFi QR code generator versus dynamic codes

A free tool like this one makes a static code: the credentials are baked into the image, nothing is tracked and nothing can be changed later. A dynamic code points to a redirect that you can edit after printing and that records scan analytics, but it needs an account and a working link. If your password changes rarely, static is simpler and more private. If you rotate it weekly, you will be reprinting signs, so plan for that.

Password aloud versus a scan

Reading a long password aloud invites mistakes: mixed-case letters, a zero that looks like an O, a symbol hidden on the second keyboard screen. A scan removes the typo entirely because the phone reads the exact characters from the image. It also keeps the secret out of group chats, since guests join without ever seeing the password.

Choosing the Security Type: WPA, WPA2, WPA3, WEP and Open Networks

The security type tells the phone which handshake to use, and a mismatch is the most common reason a scan appears to do nothing. Use the table to match your router and treat the printed wifi code like the password itself.

Choosing the Security Type: WPA, WPA2, WPA3, WEP and Open Networks
Router settingPick in the generatorEncoded asNotes
WPA2 or WPA2/WPA3 mixedWPA/WPA2T:WPAWorks on iPhone and Android; the safe default
WPA3 onlyWPA/WPA2T:WPAThe format has no WPA3 flag, so the phone negotiates the handshake itself
WEPWEPT:WEPLegacy hardware only; avoid if you can
Open network, no passwordNo passwordT:nopassAnyone in range can join, so keep it for public guest use
Hidden SSIDHidden network tickedH:trueAndroid 10 and later handles it best

If a router runs WPA3, choose the WPA option anyway and check that the password is right. If a code scans but the join fails, compare the type on your sign with the router's own wireless settings first, since an open network and a secured one are encoded differently.

When to scan with a camera app, Google Lens or Wi-Fi settings

The standard camera app is the fastest route: an iPhone shows a "Join" prompt, and Android usually connects after one tap. Some Android phones also read the code through Google Lens or the QR option inside the Wi-Fi settings screen. If a third-party scanner opens the string as plain text instead of joining, ask the visitor to try the built-in camera.

Printing a WiFi QR Code Sign: Size, Quiet Zone and Placement

A code that is too small for its viewing distance never locks on. The reliable rule is to divide the scan distance by ten to get the minimum printed side length:

$$\text{minimum size} = \frac{\text{scan distance}}{10}$$

For the Harbor Loft example, a card on the coffee table is read from 0.6 m, the printed card by the door from 1.5 m, and a framed sign above the sofa from 2.4 m.

Printing a WiFi QR Code Sign: Size, Quiet Zone and Placement
Where the sign sitsScan distanceMinimum printed size
Table tent on the coffee table0.6 m6 cm
Laminated card by the door1.5 m15 cm
Framed sign on the wall2.4 m24 cm
Window poster facing the street4 m40 cm
Timeline of minimum printed WiFi QR code sign sizes from 6 cm at 0.6 m to 40 cm at 4 m
Minimum printed size grows with scan distance: divide the distance by 10.

Quiet zone and error correction

Leave a blank border of at least four modules around the image; this quiet zone is what lets a camera find the edges. Raising the error correction level lets a code survive a scuff or a small logo placed in the middle, but it also adds modules, so keep the logo small and the level moderate.

Paper, formats and sign layout

Download a free SVG for anything larger than A5 so the edges stay sharp, or a PNG at 300 DPI for office printers. Standard sheets such as A4, A5 and US Letter all work, and a print-ready PDF is handy for a print shop. Add your brand colours around the code but keep dark modules on a light background, because low contrast hurts scanning more than anything else. Always scan the printed sign with one iPhone and one Android phone before you put it up, and print the network name and password in small text underneath as a fallback for the few phones that cannot read the format.

Where to place the sign

Put it where people pause: reception, the table edge, the back of a menu or the door of a guest room. A sign tucked behind a plant gets scanned far less than one at eye level. If you also run a visitor check-in desk, pair the code with a second QR for the sign-in form so people connect and register at the same moment.

Building a Guest WiFi Sign for a Coworking Front Desk

Marguerite runs the front desk at a 14-desk coworking floor, and every Monday morning three day-pass visitors ask her for the Wi-Fi password. The router's visitor network is called Alder Row Visitors, it runs WPA2, and the password is kT9#rowan-4417. Nothing in it needs escaping, because the hash and the hyphen are not special characters in the format.

She opens the tool, types the network name and password, leaves the security type on WPA/WPA2 and leaves hidden network unticked, since the name is broadcast. The preview shows a code built from this string:

WIFI:T:WPA;S:Alder Row Visitors;P:kT9#rowan-4417;;

That is 5 + 6 + 21 + 17 + 1 = 50 characters, two fewer than a payload that needed escaped symbols would carry, so the modules print slightly larger on the same card.

Next she needs a size. Visitors read the sign from the desk's edge, about 1.8 m away, and the divide-by-ten rule gives a minimum side length of 18 cm. She picks 20 cm to leave margin and keeps the four-module quiet zone white on all sides, which puts the code on a sheet cut to A5. She prints it, then scans it with her own iPhone and with a visitor's Android phone before pinning it up. Both show the join prompt for Alder Row Visitors within a second.

  • Network: Alder Row Visitors, WPA2, no hidden flag
  • Payload: 50 characters, no escaping needed
  • Scan distance 1.8 m, so minimum size 18 cm, printed at 20 cm
  • Next step: she diarises the router password change for the first of the month, when the sign must be reprinted

WiFi QR Code Safety: Guest Network, Privacy and Clear Text

A scan adds convenience, but the credentials sit in the image as clear text. Anyone with a smartphone can scan the sign, read the stored password and reuse it, so treat the printed code like the password itself.

Use a separate guest network

Never print the code for the network that your own laptops, cameras and smart home devices use. Create a guest network on the router, give it its own password, and print that one. The guest network keeps visitors away from your shared files and lets you change the password without disturbing your staff or family.

Keep the password current

When you change the router password, every printed sign stops working. Write the rotation date in your calendar, keep the source file for the code, and replace signs promptly. Photographs of an old sign can circulate for months, so a regular change is the practical way to keep the security level where you want it.

Why the code is generated in your browser

A trustworthy tool does the encoding on your own device and never sends the SSID or password to a server. That matters because these credentials give access to your router. Check that a Wi-Fi QR code generator states this, and prefer one where no account is required.

Troubleshooting a WiFi QR Code That Will Not Connect

When a printed code fails, walk through the same short list every time:

  • Check the security type against your router, since a secured network entered as open fails on every phone.
  • Re-enter the SSID and password by hand and compare them with the router, including capital letters and symbols.
  • Untick the hidden network box if the name is actually visible.
  • Increase the printed size if the scan distance is more than ten times the side length.
  • Test with the built-in camera app on both iOS and Android before blaming the code.

If the code scans but the phone says the password is wrong, a stray space at the end of the field is the usual culprit. A WiFi sign that fails is almost always a data-entry problem, not a flaw in the barcode, so fixing the three input fields fixes the code. Wi-Fi QR codes that fail the first scan almost always work after one corrected field.

Frequently Asked Questions

Which phones can scan this?
Any modern smartphone -- iOS 11+ and Android 10+ both recognize a WiFi QR code directly in the native camera app, prompting to join the network with no separate app needed. Older devices may need a dedicated QR scanner app instead.
Is my WiFi password sent anywhere?
No. The QR code is generated entirely in your browser -- your SSID and password never leave your device. That said, treat the resulting QR code image itself like the password it contains: anyone who scans it can join your network.
What does the Hidden network option do?
It sets a flag in the QR payload telling the connecting device your network doesn't broadcast its SSID, so it needs to actively probe for it by name rather than picking it from a visible list -- only enable this if your router is actually configured to hide its SSID.
Why does the QR code look different for WPA vs WEP vs Open networks?
The underlying WIFI: payload text changes -- WPA/WPA2/WPA3 and WEP both include your password, while an open (no-password) network omits the password field entirely and just signals T:nopass. Since it's a different text string, the QR pattern itself is naturally different.
Can I print this and hang it up for guests?
Yes -- that's exactly what this is for. Just be aware anyone who photographs or scans a publicly posted QR code gets full network access, the same as if you'd posted the password itself; use this for networks you're comfortable sharing that broadly.

About the author

Vinitha Pu

Founder and designer

Vinitha Pu is a graphic designer based in Palakkad, Kerala, who builds free, privacy-friendly browser tools. She studied Textile and Apparel Design at Avinashilingam University and completed a C-Tech in Graphic Design at Image Creative Education in 2025. She designs, builds and maintains the password generators, strength checkers, hash tools and security calculators on PasswordHive.

  • Content author: Vinitha Pu
  • Fact checked by: Vinitha Pu. Each tool's output is checked against official test vectors or a reference implementation, and every strength and crack-time figure against the formula it uses, before it goes live.
  • Published Updated