Home » SEO Tools » WiFi QR Generator

WiFi QR Code Generator

Create a QR code for your WiFi network, so guests can join by scanning it instead of typing a long password.

Last updated 13 November 2026

Use the tool

This tool uses the same QR code library approach as the QR Code Generator on this site. If the library fails to load, it will say so plainly instead of showing a fake code. After generating, test the code with a real phone camera before sharing it widely.

A WiFi QR code stores a network name, password and encryption type in a code a phone camera can read. Guests scan the code and join the network without typing a long password, which also avoids spelling mistakes.

This tool builds the standard WiFi code format and renders it with the same QR code library approach used by the QR Code Generator on this site. It runs in your browser, and it shows a plain message if the library fails to load, instead of a fake code.

How to Use This Tool

  1. Enter your network name: type the SSID exactly as it appears on your router.
  2. Enter your password: type the WiFi password exactly, including capitals.
  3. Pick encryption and hidden status: most home networks use WPA or WPA2 and are not hidden.
  4. Click Generate QR Code: test it with a real phone camera, then download and print it if it works.

Good Practice Tips

  • Test before sharing: scan the code yourself on a phone that is not already on the network.
  • Do not share publicly: anyone with the code can join your network, so share it only with guests you trust.
  • Check capitals: WiFi names and passwords are case sensitive, so a wrong capital will fail to connect.
  • Change the password if it leaks: if a printed code gets shared too widely, change the password and make a new code.

What Is in a WiFi QR Code

A WiFi QR code is a short text string in a standard format, drawn as a code a phone camera can read. When a phone scans it, the phone reads the network name, password and security type from the string and joins the network.

The string starts with WIFI: and ends with two semicolons. Each part has a letter that says what it holds.

FieldWhat it holdsExample
TSecurity type: WPA, WEP or nopassWPA
SNetwork name, the SSIDMyHomeWiFi
PNetwork passwordyour-password
HHidden network: true or falsefalse

Put together, a home network called MyHomeWiFi looks like this:

WIFI:T:WPA;S:MyHomeWiFi;P:your-password;;

The tool above builds this string from your form and turns it into a PNG code. For a web address or a plain message, use the QR Generator, and to read a code you were given, use the QR Scanner.

Which Security Type to Pick

Pick the security type that matches your router. Most home networks today use WPA, and the WPA choice above covers WPA, WPA2 and WPA3 networks, so there is no separate WPA3 choice to make.

Pick WEP only for very old gear that cannot use WPA at all, since WEP is an old standard with weak protection. Pick No password only for a network that is truly open, since anyone nearby can join it.

If your network is hidden, set the hidden choice to Yes. The code then carries the H:true flag so the phone knows to look for the network by name. Hidden codes do not work on every phone, so test one on a guest phone before you print it.

Share WiFi on iPhone and Android Without This Tool

Newer phones can share a WiFi network on their own, with no code needed. Use these steps when you are standing next to your guest.

On Android

On Android 10 or newer, open Settings, then Network and internet, then WiFi. Tap the network you are connected to, then tap Share. After you confirm with your lock screen code or fingerprint, your phone shows a code your guest scans.

On iPhone

On an iPhone, open Settings, then WiFi, then tap the network you are connected to. Tap Share Password when it appears, and hold the two phones close together. Newer iPhones also show the network as a code in the Passwords app.

If the Code Does Not Connect

A code that scans but does not connect almost always has one of three faults. First, the security type may be wrong. A code made with the wrong type fails without a clear error, so check the router settings and make the code again with the matching choice. Second, the password or the network name may be mistyped. Both are case sensitive, so a single wrong capital stops the phone from joining. Third, the password may have changed after you made the code. If the password changed, the old code is dead and you need a new one.

How to Print the Code

Print the code about 2 to 3 inches wide, dark on a light background, with a clear blank margin around it. That blank margin is called the quiet zone, and a camera needs it to find the edges of the code. Print the network name and password as plain text under the code as well, for guests whose devices cannot scan a code.

Keep Your Password Safe

The password sits inside the code as plain text, so anyone who scans the code or photographs it can read the password. Share a printed code only with guests you trust, and do not post a photo of it online.

For a code on display in a cafe, an office or a rental home, set up a guest network with its own password and make the code for that network instead of your main one. If a code spreads too far, change the guest password and print a new code.

Frequently Asked Questions

Will this code work on both Android and iPhone?

Most modern phones can scan a WiFi code with the camera app. Test it on your own phone before sharing it widely.

Is my WiFi password sent to a server or uploaded anywhere?

No. The code is built in your browser on your own device, and nothing you type is uploaded to a server. The password is only stored inside the code image you download.

What if the QR code does not appear?

That means the QR library did not load. Check your connection and try again, instead of trusting a blank box.

Which security type should I pick for a WPA3 network?

Use WPA. The tool has no separate WPA3 choice, and the WPA value covers WPA, WPA2 and WPA3 networks. Pick WEP only for very old gear that cannot use WPA, and pick No password only for a truly open network.

Does the code expire?

No. The code is static and never expires on its own. If you change the password or the network name, the old code stops working and you need to make a new one.

Can someone read my password from the code?

Yes. The password sits inside the code as plain text, so anyone who scans it or photographs it can read it. Use a guest network for codes you display in public, and change the password if a printed code spreads too far.

Why does the code not connect my phone?

Check three things: the security type must match the router, the password must match exactly including capitals, and the network name must match exactly. If you changed the password after printing the code, make a new code.

Can I use this code on a laptop?

Generally no. Laptops do not scan codes with a camera in the same way phones do, so print the network name and password as text under the code for laptop users.

How big should I print the code?

Print it about 2 to 3 inches wide, dark on a light background, with a clear blank margin around it. A small or low contrast print is hard for a camera to read.

↑