WiFi QR Code Generator

Let guests join your wireless network by pointing a phone camera at a code instead of typing a long password. Enter the network name and password, choose the security type, then download and print the result.

Network details

#000000
#ffffff
Center logo (optional)

Preview

Loading the QR code generator…

Show encoded text

How to create a WiFi QR code

  1. Type the network name (SSID) exactly as it appears in the Wi-Fi list on your phone, including capital letters and spaces.
  2. Enter the password. Choose WPA / WPA2 for almost every home and office network, or None for an open network (the password box is then disabled).
  3. Tick Hidden network only if your router does not broadcast its name.
  4. Adjust the colors or size if you want, keeping a dark code on a light background.
  5. Test it: on a phone that has never joined the network (or after choosing "Forget this network"), scan the preview and check that it connects.
  6. Download the PNG or SVG and print it where guests will see it.

How it works

A WiFi QR code contains a short text string in a format first documented by the open-source ZXing barcode project and now understood by the built-in camera apps of current iPhones and Android phones. For a WPA network called CafeGuest with the password espresso2026, QR Hut encodes:

WIFI:T:WPA;S:CafeGuest;P:espresso2026;;

Because semicolons and colons separate the fields, QR Hut puts a backslash in front of any backslash, semicolon, comma, colon or double quote in the name or password, as the format requires. Open Show encoded text under the preview to see exactly what goes into the code. The example above becomes a version 3 code (29 × 29 modules) at the default error correction level M.

When someone scans the code, the phone reads these fields and offers to join the network. It then connects directly to your router, so the code works even where there is no mobile signal. The code is generated in your browser: the network name and password are never sent to QR Hut.

Security and printing tips

Where WiFi codes help

Limitations

Scanning a WiFi code from someone else? A public code can point to a network set up by a stranger. Our QR code safety guide explains what to look out for.

Frequently asked questions

Is it safe to put my Wi-Fi password in a QR code?

The password is stored as readable text, so anyone who scans or photographs the code can see it. That is fine wherever you would happily write the password on a card, such as a guest room or a café counter. For anything more sensitive, put a separate guest network on the code.

Do I need a new code if I change the password?

Yes. The password is part of the code, so the old one stops working as soon as you change it. Generate and print a new code with the new password.

Does the phone need an internet connection to use the code?

No. The phone reads the network name and password straight from the image and connects to your router. No website or mobile data is involved.

Will it work on iPhone and Android?

In general, yes. iPhones have joined networks from Wi-Fi codes in the Camera app since iOS 11, and current Android phones support them through the camera or the QR icon on the Wi-Fi settings screen. Very old phones may need a scanner app.

What if my network name or password contains special characters?

That is handled for you. Backslashes, semicolons, commas, colons and double quotes are escaped as the format requires. Open "Show encoded text" under the preview to see the exact data.

Can guests see the password after joining?

Often, yes. Many phones can display or re-share the password of a network they have joined, and any QR scanner shows it in plain text. Treat the code as sharing the password itself.

Why does my phone say it cannot join the network?

Check that the network name matches exactly, including capital letters and spaces, that the security type is right, that the password is current and that "Hidden network" is only ticked for networks that really are hidden.