WiFi QR Code Generator

Share:

Build the WIFI-connect string that turns into a scannable QR code — share your WiFi without typing the password out loud.

RT-DEV-071 · Developer Tools
Your browser is too old for this tool’s interactive features. Please update to Safari 13.1, Chrome or Edge 80, Firefox 74 or newer.

WiFi QR Code Generator Tool

Privacy: The WIFI-connect string is built entirely in your browser. The QR-render button opens our standard QR code generator with the string pre-filled, passing it after the # in the link — the part of a URL a browser never sends to a server — so your SSID and password stay on this device.
WIFI-connect string (paste this anywhere you want to generate a QR)
WIFI:T:WPA;S:RECATOOLS_Cafe;P:welcome2025;;
Render QR code in our QR generator →

Welcome to RECATOOLS_Cafe

Scan the QR code below to connect to our WiFi instantly.

WPA · Network: RECATOOLS_Cafe
Click "Render QR code" above to open our QR generator with this string already filled in — no manual paste needed.

QR-code rendering library will be added inline in a future update. Until then, the deeplinked generator does the same job in one click.

Advertisement
After results · AD-W1 Responsive · Post-tool — peak engagement

How to use the WiFi QR generator

Enter your WiFi details

SSID is the network name (case-sensitive — exactly as it appears in the network list). Password is the WPA/WPA2 passphrase. Pick security type: WPA (covers WPA/WPA2/WPA3, the modern default), WEP (legacy — WEP is broken and should not be used), or Open (no password).

Check "Hidden" if needed

If your network is configured to not broadcast its SSID, tick the Hidden box. The generated string will include the hidden flag, which tells the scanning phone to connect even though the SSID is not in its visible network list.

Copy the WIFI: string or render directly

The dark panel shows the standard WIFI:T:WPA;S:...;P:...;; string. Copy it for use in any QR generator, or click "Render QR code" to open our built-in generator with the string already filled in.

Print and place

Print the QR (3cm × 3cm or larger scans easily at arm's length). Place it near your reception desk, cafe counter, or guest entrance. Current iPhone and Android cameras recognise the WIFI: prefix and offer to join.

Advertisement
After how-to · AD-W2 Responsive

WiFi QR codes — a phone convention the Wi-Fi Alliance later wrote down

The WiFi QR code format began as a convention of the open-source ZXing barcode library and was formally defined by the Wi-Fi Alliance in its WPA3 Specification (version 3.0, December 2020). It turns "scan to connect" into a real feature on every modern phone. The format itself is just a text string that starts with the prefix WIFI: followed by semicolon-separated key-value pairs — T: for security type, S: for SSID, P: for password, and an optional H:true for hidden networks. Encoded as a QR code, this string becomes a scannable image that current iPhone and Android cameras, and most QR scanner apps, recognise as a WiFi credential — prompting the user with a one-tap "Connect to NetworkName?" dialog instead of asking them to type the password.

The exact format, with escape rules

The canonical example is WIFI:T:WPA;S:MyHomeWiFi;P:S3cr3t!;; — note the double semicolon at the very end, which acts as the terminator. In ZXing's format, which this tool writes and phone cameras read, special characters inside SSID or password (colon, semicolon, comma, backslash, quote) are backslash-escaped: a password containing a literal semicolon (Pa;ssword) is written as P:Pa\;ssword. For open networks (no password), set T:nopass and omit the P: field entirely. For WEP networks, ZXing uses T:WEP; the Wi-Fi Alliance's definition deliberately leaves WEP out, and it percent-encodes special characters (%3B for a semicolon) rather than backslash-escaping them. The tool above handles the escaping automatically.

Where this is genuinely useful

Cafes, restaurants, AirBnBs, hotels, co-working spaces, doctor's waiting rooms, and event venues — anywhere guests need to connect to WiFi briefly. A small printed WiFi QR card on the reception desk does the job. The alternative — a hand-written password card you ask the customer to type — is slow, error-prone, and screams "we don't care about your experience." A QR sticker turns the same friction into a one-tap action. For corporate guest WiFi where the password rotates daily, generate a fresh QR every morning; the labor cost is one print job.

What this is not — and the security implications

A WiFi QR code is just a printed copy of your password in QR-encoded form. Anyone who photographs it can decode it. That's not actually a problem for most use cases — your password is already exposed to every device you've granted access to, and the threat model for a printed cafe QR is no worse than a printed-out password card. But it does mean: don't print and post your corporate-LAN QR publicly. Use a dedicated guest network (segregated VLAN, separate SSID, rate-limited, isolated from production resources). Most SME-grade routers (TP-Link Omada, Ubiquiti UniFi, ASUS AiMesh) support guest networks natively — the right setup is a guest SSID with a regularly rotated password, distributed via QR, completely separate from your main network where work devices live.

ASEAN-specific notes — Singapore, Malaysia, Indonesia

Two quick regional notes. First, Singapore's Wireless@SG public WiFi has no shared password to encode — IMDA's set-up guide connects users with their local or foreign SIM card — so a WIFI: QR sticker cannot join it. Second, many ASEAN SME routers ship with default SSIDs of the form TP-LINK_XXXX or UniFi-XXXX; rename to your brand before generating the QR so customers see something memorable on their phone's network list.

A library's convention that the Wi-Fi Alliance later made formal

01

The WIFI: format was popularised by the ZXing barcode library; the Wi-Fi Alliance wrote a formal, back-compatible definition into its WPA3 Specification v3.0 (December 2020).

02

The Wi-Fi Alliance version adds fields ZXing never had: R: to switch off WPA3 transition mode and K: for an SAE-PK public key.

03

The two definitions escape differently: ZXing backslash-escapes \ ; , " :, the Wi-Fi Alliance percent-encodes anything outside its printable set, semicolon included.

04

WPA3 uses the same T:WPA tag — the Wi-Fi Alliance definition sets T to WPA for every password-based network and omits it for open ones.

05

A WPA/WPA2 passphrase is 8 to 63 ASCII characters; 64 characters is read as a raw hex key instead. WPA3-only (SAE) passwords have no such limit.

06

The QR code itself includes error correction: at level H about 30% of its codewords can be restored (DENSO WAVE), which is why printed stickers survive wear.

07

Hidden networks (SSID not broadcast) need the H:true flag in the QR string — without it, the phone won't try to associate with a network it can't see in scans.

08

The Wi-Fi Alliance definition says a phone must ignore fields it does not recognise, so the format can grow without breaking older scanners.

09

Under the Wi-Fi Alliance definition a scanning phone sets up a network profile from the code, subject to the user's confirmation where the phone asks for it.

10

For a counter or table card, 3–5 cm a side scans easily at arm's length; go larger only when people will scan from further away.

Frequently asked questions

Current iPhones read it with the Camera app, and current Android phones with the Camera app or Google Lens. Older devices need a QR scanner app that recognises the WIFI: prefix.
After generating the WIFI string here, click "Render QR code" to open our QR generator with the string filled in, then download the PNG/SVG and print at 3-5cm size. For a more polished look, use any design tool (Canva, Figma) to place the QR on a card with your brand and instructions ("Scan to connect").
Yes — tick the "Hidden network" checkbox. The tool adds H:true to the string so scanning phones know to attempt connection even though the SSID won't appear in their network list.
No. The same T:WPA tag covers WPA, WPA2, and WPA3 — the Wi-Fi Alliance definition uses WPA for every password-based network. The phone then negotiates the strongest mode both sides support.
Same level of safety as writing it down. Anyone who photographs the QR can decode it. Best practice is to use a dedicated guest network with a different password from your main LAN, rotated periodically. Don't print and post your corporate-LAN password publicly.
Wireless@SG (Singapore's public WiFi) has no shared password to encode — IMDA's set-up guide connects users with their SIM card. A WIFI: QR carries a network name and password, so it cannot sign you in to it.
Colon (:), semicolon (;), comma (,), backslash (\), and double-quote (") in the SSID or password must be backslash-escaped. The tool above handles this automatically — you can paste passwords with any characters and the output string will be correct.
A WPA/WPA2 passphrase is 8 to 63 ASCII characters; a 64-character value is read as the raw key in hex, so a 64-character password that is not hex will not connect. Regenerate at 63 or fewer. WPA3-only (SAE) networks have no such cap.
Not in our generator — it does not add logos. If you add one in a design tool, choose error-correction level H in the generator first, keep the logo small and away from the three corner squares, and test the printed code on more than one phone.
No. The string is built locally; when you click "Render QR code", it is passed after the # in the link to our QR generator, and a browser never sends that part of a URL to a server. The generator then clears it from the address bar.

Method & sources

How it computes

Assembles WIFI:T:<type>;S:<ssid>;P:<password>;[H:true;]; in ZXing's format, backslash-escaping \ ; , " and :, and hands it to the QR generator in the URL fragment (after #), which a browser never sends to a server.

What this tool implements

  • ZXing's Barcode Contents wiki defines the T, S, P and H fields and the backslash escapes the tool writes.
  • The Wi-Fi Alliance formalised a back-compatible WIFI URI in WPA3 Specification v3.0 (December 2020): T is WPA for any password network, it adds R and K, and it percent-encodes rather than backslash-escapes — the page had said the format was never a standard.
  • hostapd: a WPA passphrase is 8 to 63 characters and 64 hex digits is a raw key; SAE passwords have no such limit.

Sources

Advertisement
Pre-footer · AD-W3 728 × 90