You know the routine. A guest arrives, asks for the WiFi password, and you either spell out a 20-character string of mixed-case letters and numbers or scrawl it on a napkin. WiFi QR codes eliminate this friction entirely. Your guests scan a code, tap "Join," and they are connected. No typing, no mistakes, no shouting your password across the room.

How WiFi QR Codes Work

A WiFi QR code encodes your network credentials in a standardized text format that smartphones recognize natively. When a phone's camera detects this format, it offers to connect to the network automatically. Here is the format under the hood:

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

Breaking that down:

Both iOS (since iOS 11) and Android (since version 10) support WiFi QR codes natively through the built-in camera app. No third-party QR reader needed.

Step-by-Step: Creating a WiFi QR Code

1. Gather Your Network Details

You need three pieces of information:

  1. Network name (SSID) -- Exactly as it appears in your WiFi settings. Copy it character by character; a single wrong letter will cause the connection to fail.
  2. Password -- The WiFi password, exactly as set in your router.
  3. Security type -- Almost all modern networks use WPA2 or WPA3. If you are not sure, check your router's admin page. Select "WPA" in the generator -- it covers WPA2 and WPA3.

2. Generate the QR Code

Open the QR Forge generator and enter your WiFi string in this format:

WIFI:T:WPA;S:YourNetworkName;P:YourPassword;;

Replace YourNetworkName and YourPassword with your actual credentials. If your network name or password contains special characters like semicolons, colons, commas, or backslashes, escape them with a backslash (for example, my\;password).

Quick Settings

For WiFi QR codes, we recommend error correction level M or Q and a size of 256px or larger. WiFi codes contain relatively little data, so they stay clean and easy to scan even at moderate sizes. Download as SVG if you plan to print it.

3. Test It

Before printing or displaying your code, test it with at least two different phones:

Security Considerations

Sharing your WiFi credentials via QR code is convenient, but it comes with trade-offs you should understand.

Important

A WiFi QR code contains your password in plain text. Anyone who scans it -- or even photographs it -- has your WiFi credentials. Treat the printed code with the same care you would treat a written-down password.

For Homes

For Offices

For Cafes and Restaurants

Where to Display Your WiFi QR Code

The best placement depends on your environment:

At Home

At the Office

At a Cafe or Restaurant

Printing and Display Tips

  1. Label the code clearly -- Print "Scan for WiFi" or "Connect to WiFi" above or below the QR code. Without a label, most people will not know what the code does.
  2. Include the network name as text -- Some guests may prefer to connect manually. Print the SSID name (but not the password) as text next to the code.
  3. Use a durable format -- Laminated cards, acrylic stands, or stickers under a clear coat last longer than paper in high-traffic areas.
  4. Size for scanning distance -- A 3 cm code works for phone-distance scanning. For a wall poster scanned from 1-2 meters away, go at least 10 cm. See our error correction guide for more on how code density affects scannability.
  5. Use SVG format -- Download your QR code as SVG from QR Forge for perfect quality at any print size.

Troubleshooting

For details on adding a QR code to your business cards, check out our dedicated guide.

Create Your WiFi QR Code

Generate a free WiFi QR code in seconds. No account needed.

Create Your QR Code Now