WiFi QR Code Generator

Generate a QR code for your WiFi network so guests can connect by scanning. Supports WPA, WEP, and open networks.

A WiFi QR code packs your network name, security type, and password into a single scannable image using the WIFI: URI format originally defined by the ZXing library and now part of the WPA3 specification. Point a phone camera at the code, tap the connect prompt, and the device joins without typing. iOS has supported this natively since iOS 11 (2017) and Android since Android 10 (2019). This tool renders the QR entirely in your browser - nothing is sent to any server.

Ad
Ad

About WiFi QR Code Generator

How It Works

The tool builds a WIFI:T:...;S:...;P:...;H:...;; string and renders it as a QR image via the qrcode npm library running client-side. iOS 11+ and Android 10+ recognise the format in their stock Camera apps.

StepAction
1. Enter network name (SSID)Type your WiFi network name exactly as it appears on devices
2. Enter passwordType your WiFi password (leave blank for open networks)
3. Choose security typeSelect WPA/WPA2/WPA3, WEP, or None
4. Hidden network (optional)Toggle on if your SSID is not broadcast
5. Generate and downloadThe QR code renders instantly - download as PNG

Worked example: For SSID Cafe Guest, password coffee;time, WPA2, visible network, the encoded string is WIFI:T:WPA;S:Cafe Guest;P:coffee\;time;; - note the semicolon in the password is escaped with a backslash per the WPA3 spec. Spaces are allowed, but colons, semicolons, commas, backslashes, and double-quotes must be escaped.

StepAction
1. Enter network name (SSID)Type your WiFi network name exactly as it appears on devices
2. Enter passwordType your WiFi password (leave blank for open networks)
3. Choose security typeSelect WPA/WPA2/WPA3, WEP, or None
4. Hidden network (optional)Toggle on if your SSID is not broadcast
5. Generate and downloadThe QR code renders instantly - download as PNG

Supported Security Types

TypeSecurity LevelWhen to Use
WPA/WPA2/WPA3Strong (AES encryption)Default for nearly all home and office networks since ~2006
WEPWeak (known vulnerabilities)Only for very old devices that do not support WPA; upgrade if possible
None (open)No encryptionIntentionally open networks like guest hotspots in public venues

How Many People Scan QR Codes Now?

QR code scanning is now mainstream: Juniper Research forecasts 2.2 billion active QR code users globally in 2025, and Uniqode's 2026 industry report finds 59% of smartphone users scan a QR code at least once per week. WiFi sharing is one of the top three personal use cases, behind only menu access and mobile payments. Scan friction has also collapsed - iOS 11 (2017) and Android 10 (2019) made WiFi scanning work from the stock camera app with a single tap.

Stat (2025/2026)ValueSource
Global QR users~2.2 billion (29% of smartphone users)Juniper Research 2025
Weekly scan frequency59% scan at least weeklyUniqode 2026 report
QR payment volume$3 trillion (2025), projected $8T by 2029Juniper Research
US share of global scans~42% of volumeUniqode 2026 report
iOS native WiFi QR supportiOS 11 (Sep 2017)Apple release notes
Android native supportAndroid 10 (Sep 2019)Google release notes

Why Are Some WPA3 WiFi QR Codes Broken?

Plenty of online generators still output T:WPA2, but the WPA3 spec only recognises WPA (covering WPA1/2/3) or WEP. A value of WPA2 is non-standard and newer WPA3 clients may refuse it. This tool always writes T:WPA so the same QR works from WPA1 through WPA3 transition networks.

A second common break is incorrect escaping. The WPA3 URI ABNF requires \, ;, ,, :, and " inside an SSID or password to be backslash-escaped. Characters outside the printable ASCII set should be percent-encoded. Generators that skip this produce codes that some Android builds parse differently from iOS. The escapeWifiString helper in this tool handles all five reserved characters on both the SSID and password before building the string.

Supported Security Types

TypeSecurity LevelWhen to Use
WPA/WPA2/WPA3Strong (AES encryption)Default for nearly all home and office networks since ~2006
WEPWeak (known vulnerabilities)Only for very old devices that do not support WPA; upgrade if possible
None (open)No encryptionIntentionally open networks like guest hotspots in public venues

Where to Place Your WiFi QR Code

LocationFormatTips
Fridge or notice boardPrinted on paper, attached with magnets or tapePrint at least 3x3 cm for reliable scanning
Near the routerSmall printed card or stickerGuests naturally look near the router when they need WiFi
Framed on the wallPrinted, framed with a label "Scan to connect"Works well in living rooms and offices
Airbnb/rental welcome packPrinted in a welcome bookletInclude the network name as text backup in case scanning fails
Cafe or restaurant tableLaminated table tent or wall signInclude your business name and "Free WiFi" text
Conference roomPrinted on the whiteboard or wallMakes onboarding meeting attendees fast
Digital sharingShare the PNG via WhatsApp, email, or SlackUseful for remote teams who need office WiFi before they arrive

Which Devices Can Scan WiFi QR Codes?

Every mainstream phone sold in the last five years scans WiFi QR codes from the stock camera app. Desktop support is patchier: Windows and macOS cameras do not parse QR codes natively, so you would need a reader app or the phone as a bridge.

DeviceHow to ScanSupported Since
iPhone / iPadOpen the Camera app and point at the QR codeiOS 11 (2017)
Android phonesOpen the Camera app or Google LensAndroid 10+ natively; earlier versions with QR scanner apps
Windows 11 laptopsNo native camera QR scanning; use Camera app with a QR extension or phoneN/A
macOSNo native camera QR scanning; type manually or use a QR reader appN/A
Samsung Galaxy (One UI)Quick settings tile "Scan QR code" or cameraOne UI 2 (2020)

The WIFI URI Format

Behind the scenes, the QR code encodes a string in this format:

WIFI:T:WPA;S:MyNetwork;P:MyPassword;H:false;;

ParameterMeaningValues
TSecurity typeWPA, WEP, or blank (open)
SSSID (network name)Your network name (special characters are escaped)
PPasswordYour network password (omitted for open networks)
HHidden networktrue or false
RTransition Disable (WPA3 only)Hex bitmap to block downgrade attacks
KPublic key (WPA3 only)Base64 public key for out-of-band provisioning

What Are the Security Considerations?

A printed WiFi QR is no more or less sensitive than the password it contains - anyone who can read or photograph the QR can join the network. The practical controls are physical placement and network segmentation.

ConcernRisk LevelMitigation
QR code visible to visitorsLow - same as giving out the password verballyPlace in private areas; use a guest network for public spaces
Password stored in the QR imageLow - the password is in the QR data, not encryptedAnyone who can scan it can read the password; this is by design
Using your main network for guestsMediumSet up a separate guest network on your router for visitors
Password server leakNone hereThe QR code is generated entirely in your browser; nothing is uploaded
Photo of the QR shared onlineHighAnyone seeing the photo can join - rotate the password after any accidental share

Common Mistakes That Break WiFi QR Codes

  • Wrong security type - selecting "None" when the network actually uses WPA2 means the phone prompts "connected" but cannot authenticate.
  • Trailing spaces in the SSID - many routers expose an SSID like MyNetwork with an invisible trailing space. Copy it exactly or connecting will silently fail.
  • Unescaped special characters - passwords containing ;, ,, :, ", or \ must be backslash-escaped. This tool does it automatically.
  • Printing too small - below 2 cm per side, phone cameras struggle to resolve all modules. Aim for 3 cm minimum for a dense WPA2 password.
  • Low contrast printing - coloured or faded QR codes fail. Stick with black on white for reliability.
  • Hidden SSID without the H flag - if you tick "Hidden network" on the phone while scanning a QR without H:true, some Android builds refuse to connect.

Printing Your QR for Reliable Scans

Most scanning failures come from print size or contrast, not the QR data itself. ISO/IEC 18004 (the QR spec) recommends a "quiet zone" of at least 4 modules of whitespace around the code. For a typical WiFi string at error correction level M, 3 cm x 3 cm on 300 DPI paper gives 99%+ first-try scan rates on modern phones.

Print SizeTypical Scan DistanceGood For
2 cm x 2 cm~15 cmBusiness card (phone held close)
3 cm x 3 cm~25 cmWallet card, table tent
5 cm x 5 cm~50 cmWelcome booklet, framed at desk
10 cm x 10 cm~1 metreWall poster in cafe or reception
20 cm x 20 cm~2 metresConference room, lecture hall

For general-purpose QR codes from any text or URL, use the QR code generator. Need a strong password for your network? Try the password generator - a 20-character random password is both secure and easy to share via QR code. If you also need to share device identifiers, the UUID generator covers that case.

Sources

Frequently Asked Questions

How does the WiFi QR code work?

The QR code encodes your WiFi credentials in a standard format that smartphones understand. When someone scans the code with their phone camera, the device automatically connects to the network without needing to type the password manually.

Which devices can scan WiFi QR codes?

Most modern smartphones support WiFi QR codes natively. iPhones running iOS 11 or later can scan with the Camera app. Android phones running Android 10 or later support it through the camera or Google Lens.

Is my WiFi password safe?

Yes. The QR code is generated entirely in your browser using the qrcode JavaScript library. Your SSID and password never leave your device and are never sent to any server. Anyone who can see or scan the printed code can read the password though, so treat the printed code like the password itself.

What security type should I choose?

WPA/WPA2/WPA3 is the most common and recommended option for home and office networks. WEP is an older, less secure protocol. Choose "None" only for intentionally open networks like guest hotspots.

Can I use this for a hidden network?

Yes. Toggle the "Hidden network" option and the QR code will include a flag telling the scanning device to look for a hidden SSID.

Link to this tool

Copy this HTML to link to this tool from your website or blog.

<a href="https://toolboxkit.io/tools/wifi-qr-generator/" title="WiFi QR Code Generator - Free Online Tool">Try WiFi QR Code Generator on ToolboxKit.io</a>