Skip to content
M2TOOLKIT

Web guide

How to Make a QR Code for Your Wi-Fi

Create a QR code that connects guests to your Wi-Fi with one scan, print it so it scans reliably, and keep your network safe while sharing it.

By M2Toolkit Editorial TeamPublished 5 min read

Quick answer

Open the Wi-Fi QR Code Generator, enter your network name and password exactly, choose the security type (usually WPA/WPA2/WPA3), and download the code. Guests open their phone camera, point it at the code and tap the notification to join — no typing.

Spelling out a 16-character Wi-Fi password to every guest gets old fast. A Wi-Fi QR code solves it: iPhones (iOS 11 and later) and Android phones read the standard Wi-Fi QR format straight from the camera app.

Make the code

  1. 1
    Find your network name (SSID) and password — often on a sticker on the router, or in your phone's Wi-Fi settings.
  2. 2
    Enter them exactly. Both are case-sensitive, and spaces count.
  3. 3
    Choose the security type. Almost all home networks today use WPA2 or WPA3; pick “WPA / WPA2 / WPA3”.
  4. 4
    Download the PNG and print it, or the SVG for a designer.
  5. 5
    Test it with two different phones before you frame it.
Try the free Wi-Fi QR Code GeneratorYour password is only used inside your browser to draw the code.

What's actually inside the code

The QR code simply contains a short text in a standard format:

WIFI:T:WPA;S:MyHomeNetwork;P:correct-horse-battery;;

T is the security type, S the network name and P the password. Special characters like ; , : and " are escaped with a backslash — the generator does this for you, which is a common reason home-made codes fail.

Printing it so it scans every time

TipWhy
At least 3 × 3 cm (1.2 in)Small codes are hard to focus on
Dark code on a light backgroundMany phones can't read inverted codes
Keep the white borderScanners need the “quiet zone” to find the code
Matte paper, no glareReflections hide parts of the pattern
Add a line of text: “Scan to join our Wi-Fi”People recognise what it's for

Keeping your network safe

Anyone who can see the code can join your network — just like anyone who knows the password. For homes with frequent visitors, Airbnbs, offices and cafés, set up a separate guest network on your router and put that in the QR code. Guests get internet access without seeing your other devices.

Frequently asked questions

Do Wi-Fi QR codes work on iPhone?

Yes, on iOS 11 and later: open the Camera app, point it at the code and tap the Wi-Fi notification.

Does the code expire?

No. It contains your network details directly, so it works until you change the network name or password.

Can I make a QR code for a hidden network?

Yes — tick “Hidden network” in the generator so phones know to look for it.

About this guide

The people who build M2Toolkit's tools write these guides. Every formula and example in an article is checked against the matching tool, and articles are reviewed when the tool changes.

Tools mentioned in this guide