CalculatorsConvertersDeveloperTextAll toolsDirectory
Submit your tool Sign in
Theme
Home/Answers/Generators
How-to

How can I make a QR code for my wifi password?

Short answer

Encode your network details in the standard wifi string format, WIFI:T:WPA;S:YourNetworkName;P:YourPassword;;, and turn that text into a QR code. Phone cameras recognize this format and offer to join the network when scanned. A browser-based QR generator builds the code on your own device, so your wifi password is never sent to a server.

The wifi QR format

A wifi QR code is just text in a specific shape: WIFI:T:WPA;S:NetworkName;P:Password;; where T is the security type (WPA, WEP, or nopass for open networks), S is the network name and P is the password. If your password contains a semicolon, colon, comma or backslash, put a backslash in front of that character. Modern iPhone and Android camera apps detect this format and prompt to join the network.

Why generate it locally

Your wifi password is a credential, and pasting it into a site that builds the QR code on its servers hands that credential over. A client-side generator turns the text into a QR image entirely in your browser, so the password never leaves your device. You can then download the PNG and print it for guests.

Static codes never expire

Because the network details are encoded directly into the QR image, the code is static. It keeps working forever, with no account and no service that can shut down or start redirecting your code. If you are rotating the wifi password anyway, a local password generator makes a strong random one, and then you encode the new details into a fresh code.

Step by step

  1. Build the wifi string. Write your details in the format WIFI:T:WPA;S:YourNetworkName;P:YourPassword;; replacing the placeholders with your real network name and password.
  2. Paste it into the generator. Open the QR code generator and paste the wifi string as the text to encode. Everything stays on your device.
  3. Download and print. Download the QR code as a PNG and print it or frame it for guests to scan.
  4. Test it. Point your phone camera at the code and confirm it offers to join the network.

Frequently asked questions

Is my wifi password uploaded anywhere?

No. The QR code is generated entirely in your browser, so the password never leaves your device.

What do I put for T if my network is open?

Use nopass as the type and leave the P field empty, like WIFI:T:nopass;S:NetworkName;;.

Will the code stop working later?

No. The network details are encoded directly in the image, so the code is static and never expires.

Related answers