How to Find Your WiFi Password to Make a QR Code — featured illustration
Guides

How to Find Your WiFi Password to Make a QR Code

6 min read
Create a QR code

You sat down to make a WiFi QR code, opened the generator, and got stopped by the second field. Network name, fine. Password: the router has been sitting in a cupboard since 2019 and nobody ever wrote it down.

That is the actual blocker. The code takes thirty seconds to build once you have the password. Getting the password is where people stall. Below are the realistic paths, with one warning up front: I am describing actions rather than exact menu names, because those move between operating system versions and vary across router manufacturers and phone brands. Look for the action, not the label.

What the code needs besides the password

Before you go hunting, know what you are collecting. A WiFi QR code stores three things:

  • The network name (SSID), exactly as broadcast, including capitalization, spaces, and underscores
  • The password
  • The security type

The third one trips people up. The WiFi QR format has a field for encryption, and generators typically offer WPA (which covers WPA2 and usually WPA3), WEP for very old equipment, and an option for open networks with no password at all. Some tools add a separate WPA3 selection. If you are unsure which applies, the router's wireless settings page states the mode it is running.

Picking the wrong value here produces a code that scans and then refuses to join, a confusing failure because the scan itself looks successful. The field-by-field breakdown lives in the complete guide to WiFi QR codes.

The label on the router, and why it is often wrong

Turn the router over. Most consumer units ship with a sticker listing a default network name and a default password, sometimes labeled as a key or a PIN.

Two cautions. The sticker shows factory values, so if anyone ever changed the WiFi password, and plenty of installers do exactly that on setup day, the sticker is now fiction. It will look authoritative and it will not work. Test it before printing anything.

Second, some routers print two different secrets: the WiFi password and the admin password for the router's own settings page. They are not the same, and mixing them up wastes twenty minutes. The WiFi one usually sits near the network name.

If the sticker works, you have everything. Go to the WiFi QR code generator, fill in three fields, and you are done.

The router's own settings page

If the sticker is stale, the router itself holds the current answer.

The approach: connect a device to the network, or plug into the router with a cable, open a browser, and go to the router's address on the local network. That address commonly sits in the 192.168.x.x range and is printed on the same sticker, or listed in your device's network details as the gateway or default router. Log in with the admin credentials, then find the wireless section. The current password is displayed there, sometimes behind a show-password toggle.

Interfaces differ enormously at this point. A mesh system from one brand looks nothing like an ISP-supplied box from another, and many providers now push you into a phone app instead of a web page. If your internet arrived with a provider app, check the app first, since WiFi settings are usually one of its main screens.

While you are in there, note the security mode. That is the third field you need.

A computer that is already on the network

If a laptop is connected right now, the password is stored on it.

On Windows, saved network credentials can be revealed through the wireless network's properties, where a security tab offers to display the key as characters. The route to that screen has been reorganized across Windows versions, so navigate by looking for the network's status or properties rather than following a memorized click path. Administrator rights are typically required.

On a Mac, saved WiFi passwords live in Keychain. Open the keychain utility, search for the network name, open that entry, and choose to show the password. macOS asks you to authenticate with an administrator account before revealing it. Recent macOS releases also surface saved network passwords inside the WiFi settings themselves, so check there first if it is quicker.

The phone in your pocket

Both major phone platforms can show a saved network's password, with meaningful differences.

On recent iOS versions, opening the details for a network you are connected to reveals the saved password after a Face ID, Touch ID, or passcode check. Older versions of iOS did not offer this at all, so if you cannot find it, the device is likely too old rather than you looking in the wrong place.

On Android, saved networks have a share action that generates a QR code on screen, and most builds print the password in text underneath it. That on-screen code is a genuine WiFi QR code and works if somebody scans it right there. It is not a file you can print, and the wording and placement of the share action vary a lot between manufacturer interfaces, so look for a share or QR icon on the network's detail screen.

Worth knowing: the code Android generates and the one you would build for a printed sign carry the same information. The difference is durability and control over size, margins, and design. For anything going on a wall, generate a proper file. To confirm what a code contains before you print it, run it through a QR code scanner and read the decoded text.

Special characters, spaces, and the ones that cause trouble

Once you have the password, check it for characters that need care.

The WiFi QR format uses semicolons and colons as separators inside the encoded string, with a backslash as the escape character. A password containing any of those, plus commas and quotation marks in some implementations, has to be escaped when the code is built. A good generator handles this for you. A hand-assembled string or a sloppy tool produces a code that decodes into a truncated password.

Leading and trailing spaces are the silent killer. Copy a password out of a document and you often bring a space along with it. The code encodes the space, the network rejects the login, and nothing tells you why.

Non-Latin characters and emoji in the network name are legal but inconsistently handled across devices. If your SSID contains an emoji and the code misbehaves on some phones but not others, that is a likely reason.

Ask whoever set it up

Underrated, and frequently the fastest route. The person who installed the router, the office manager, the previous tenant, the property manager, or the provider's support line. ISPs can often read out or reset the current password on an account they control.

If nobody knows and no device is connected, the last resort is a factory reset using the router's recessed reset button, which restores the sticker password and wipes every other setting, including any custom network name. Treat that as a final option rather than a shortcut.

Once you have the SSID, the password, and the security type, the build is short. How to create a QR code walks the general process, and a WiFi code that never needs to change is a good fit for a static QR code. Write the three values on a sticky note, test the finished code with your own phone, and only then send it to the printer.

Share this article