Wi-Fi QR Code Generator

A wifi qr code generator that builds the code inside your browser: type the network name and password, press Create, and a QR code appears that phones read with their camera to join the network without anyone typing or reading a password aloud. The encoding is done by this page's own code, the network name and password are never put in the address bar, in storage or in any request, and the PNG, SVG and print card are produced on your device. Below: how guests scan it on iPhone and Android according to Apple's and Google's pages, what the security choices mean, how to print and place the card, and what to do when you change the password.

Result class: Calculated (WIFI: payload)Type the network name and password. The code is built in this page; nothing is uploaded, saved or put in the address bar.
Your code appears here
— — Hz

Runs in your browser. Nothing is uploaded.

How to use

  1. Type the network name exactly as devices show it (it is case-sensitive), choose the security type (WPA/WPA2/WPA3 for almost every home network) and type the password; Show lets you check it. Tick Hidden network only if your router does not broadcast the name.
  2. Press Create QR code. The code is drawn on the card at once, with the QR version, size and error-correction level listed under it. Test it before printing: point a phone camera at the screen and confirm the join prompt names your network.
  3. Download PNG (choose 512, 1024 or 2048 pixels in Settings) or SVG for printing at any size, or press Print card for a ready-made card with the network name; the password is printed only if you tick that option in Settings.
  4. Changed the password? Make a new code and replace the old card; a code is a snapshot of the credentials at the moment it was made.

Create your code with the wifi QR code generator

Three fields and a button. The network name must match what devices display, including capitals and spaces, because the phone that scans the code looks for a network with exactly that name. The security type is WPA for the overwhelming majority of home networks, which covers WPA2 and WPA3 Personal as well, since the QR scheme uses one value for the family and the phone picks the strongest it shares with the router; WEP is for a router old enough to predate 2006 and is a reason to replace the router; Open network is for a network without a password, and hides the password field. The password is typed into a password field with a Show button so you can check it, and the page refuses a WPA password shorter than 8 or longer than 63 characters, which are the limits of the standard, rather than quietly encoding a typo. Tick Hidden network only if the router has been set not to broadcast the name; the code then tells the phone to look for the network even though it is not in the list. Press Create QR code and the code is drawn on the white card on the right, sized to the length of your data: a short name and password fit a small version-2 or 3 code, a long passphrase a larger one, up to version 10, and the line under the card says which. The facts line also shows the error-correction level from Settings. Test the code before you print it by pointing a phone at the screen; a join prompt naming your network means the code is right. The PNG and SVG buttons save files to your device and the Print card button opens a printable card in a new window; nothing is uploaded at any point.

How guests scan it (iPhone, Android)

Modern phones read QR codes with their ordinary camera app, and a Wi-Fi code produces a prompt to join the network rather than a web page. On an iPhone or iPad, Apple’s instructions are to open the Camera app from the Home Screen, Lock Screen or Control Center, hold the device so that the QR code appears in the viewfinder, and tap the link that appears; the Code Scanner control in Control Center scans the same way and can be added to Control Center if it is not there (Apple: scan a QR code with your iPhone or iPad). On a Pixel, Google’s steps are to open the Camera app, make sure Camera scan suggestions is turned on under Settings, More settings, point the camera at the code, wait a moment for the bubble or link and tap it; or to swipe down from the top of the screen to Quick Settings and tap Scan QR code, which opens a dedicated scanner. Google’s page notes that a QR code can connect you to a Wi-Fi network, which is exactly what this one does (Google: scan QR codes with your Pixel phone). Other Android phones’ camera apps, and Google Lens, behave the same way. Laptops are the exception: most have no built-in way to scan a code, so a guest with a laptop still needs the password typed, which is a reason to keep the Show-password option on the printed card for a home office, or to point the laptop user at a phone that has already joined and can share the network.

WPA/WPA2/WPA3, WEP, open networks and hidden SSIDs

The code carries a short text string in a published format, the WIFI: scheme documented in the ZXing project’s barcode-contents reference: WIFI:T:WPA;S:mynetwork;P:mypass;; where T is the authentication type (WEP, WPA, or nopass for an open network), S is the network name, P is the password and an optional H:true marks a hidden network, with the special characters backslash, semicolon, comma, colon and double quote escaped by a backslash so that a password containing them is carried intact (ZXing: barcode contents, Wi-Fi network config). This page writes that string exactly and escapes those characters, which is why a password with a semicolon or a quote works. The WPA value covers WPA, WPA2 and WPA3 Personal alike, because the phone negotiates the actual protocol with the router after it has the password; there is no separate WPA3 value to choose. WEP is kept for completeness: a router still using WEP offers no real protection and the better fix is a new router or a settings change, after which a new code is needed. Open networks encode no password and the phone joins without a prompt beyond confirmation. Hidden networks are a special case worth a sentence: hiding the name does not add security, since the name is transmitted whenever a device connects, but it does mean phones will not show the network in their list, and the H flag in the code tells the phone to connect anyway. Enterprise networks with a user name and password per person use a different field set and are not covered by this generator.

A QR code is forgiving of size and surface within limits. Print it at least 3 centimetres across for a card read from a hand’s length, larger for a wall, and keep the white margin around the code, the quiet zone, which the PNG and SVG include; a code cropped to its edges scans poorly. Matt paper beats glossy, since reflections confuse cameras, and a flat card beats a curved or laminated one for the same reason. The 2048-pixel PNG in Settings is for print; the SVG scales to any size without blurring and is the file to give a print shop or to drop into a document. The error-correction setting trades size for robustness: M, the default, lets a code survive about 15 percent damage and is right for a printed card; H survives 30 percent and suits a code that will live on a fridge or a shop counter and get scuffed, at the cost of a denser pattern; L is the smallest code and is fine for a screen. Place the card where guests sit, not where strangers stand: a code on a window facing the street is a password in public. The Print card button produces a card with the code and the network name, and adds the password in text only if you tick that option in Settings, which suits a guest room and does not suit a café.

Privacy: your password never leaves this page

The generator is built so that the two things you type have nowhere to go. The code is produced by this page’s own QR encoder, written for this site, running in your browser; there is no request to a server with the payload, no third-party library fetching anything, and no analytics value beyond the fact that a code was made and which security type was chosen. The network name and password are not placed in the address bar, so the link you are on cannot be shared by accident with them in it, and they are not stored in local storage or cookies, so the next person using the browser does not find them. The password field is cleared when you leave the page. The PNG and SVG downloads are written by the browser to your own device, and the print card opens in a window you control. What this page cannot change is the nature of a Wi-Fi QR code itself: the code contains the network name and password in readable form, by design, so that any phone can join, which means the printed card deserves the same care as a written password. For the device side of the same question, the MAC address lookup explains how phones now randomise the hardware address they present to a network, and the network tools hub lists the rest of this category.

Changed your password?

A Wi-Fi QR code is a snapshot: it holds the name and password as they were when you made it, and a password change makes every printed copy wrong at once. The how to change your Wi-Fi password guide walks through changing it on each router brand and ISP from their own pages, and the natural last step of that guide is this page: make the new code, test it on your own phone, print it and replace the old card. If the name stayed the same and only the password changed, devices already on the network will prompt for the new password and the new code answers that prompt for guests; if the name changed too, phones see a new network and the code is the easiest way to move the household’s devices over. Keep one copy of the current code somewhere you will find it, such as inside a cupboard door, and shred the old one; a code that still carries last year’s password is confusing rather than dangerous, but a code that carries the current one is the key to the network.

Frequently asked questions

How do I generate a QR code for my Wi-Fi?

Enter the network name and password above, choose the security type and press Create QR code; the code appears on the card and can be downloaded as PNG or SVG or printed. It encodes a standard WIFI: text string that phone cameras recognise, so a guest points the camera at it and taps the prompt to join. The whole process runs in your browser and the password is not sent anywhere.

Is it safe to type my Wi-Fi password into this page?

The page keeps it in the browser's memory only while you use it: it is not added to the address bar, not written to local storage, not included in any request, and the field is cleared when you leave. The code itself contains the password in readable form, as every Wi-Fi QR code does, so treat the printed card like a written password.

How do guests scan the code on an iPhone?

Apple's steps: open the Camera app from the Home Screen, Lock Screen or Control Center, hold the device so the QR code appears in the viewfinder, and tap the notification or link that appears; the Code Scanner control in Control Center does the same. A Wi-Fi code produces a prompt to join the network, which the guest accepts.

How do guests scan it on Android?

Google's steps for Pixel: open the Camera app with Camera scan suggestions turned on in its settings, point it at the code, wait for the bubble or link and tap it; or swipe down to Quick Settings and tap Scan QR code. Google notes that a QR code can connect you to a Wi-Fi network. Other Android makers' camera apps and Google Lens behave the same way.

Which security type should I choose?

WPA for any network protected by WPA, WPA2 or WPA3 Personal, which is nearly every home network made in the last fifteen years; the WIFI: scheme uses the single value WPA for all three and the phone negotiates the rest. WEP only for an old router that still uses it, which is worth replacing. Open network for a network with no password, in which case no password field is encoded.

Why does the code not scan?

Usually size or contrast: print the code at least 3 cm wide with a white margin around it, on matt paper, and keep it flat. On screen, raise the brightness and do not photograph a reflection. If the camera reads it but the phone cannot join, the network name or password in the code is wrong, often a case difference or a trailing space; make a new code and test it on your own phone first.

Last updated:

Reviewed by: TestPane Editorial Team

Tested on: Chromium 141 (automated, payload and canvas decode via BarcodeDetector where available), Firefox 142 (automated, payload), WebKit 26 (automated, payload)