QR Code Tools: ZXing Decoder, Wi-Fi Password Reader and Generator

Read a Wi-Fi password from a QR image with a tested example, decode screenshots with ZXing, scan printed codes, or generate a new QR code.

QR Code Tools: ZXing Decoder, Wi-Fi Password Reader and Generator

Like it ? share it

A QR code has a life cycle: someone makes it, someone prints it, and then someone has to read it back, usually to find out why it stopped working. We built three tools for those moments: a generator, a ZXing image decoder, and a Wi-Fi scanner for a phone camera.

If you already have a Wi-Fi QR code in a photo or screenshot, start with the QR Code Decoder. It reads the text stored in the image, including a password if the code contains one.

How to read a Wi-Fi password from a QR image

Here is a practice code for a fictional network. EnfectDemo and DemoOnly123 are demonstration values; this code does not connect to an Enfect network.

Practice Wi-Fi QR code containing the fictional network EnfectDemo and password DemoOnly123

  1. Save the practice image, or use your own Wi-Fi QR image.
  2. Open the ZXing QR Code Decoder and select UPLOAD.
  3. Click DROP AN IMAGE, OR CLICK TO BROWSE and choose the file. The decoder accepts PNG, JPG, GIF, BMP and WebP up to 10MB.
  4. Read DECODED PAYLOAD. For this example, it should show the text below.
  5. Use COPY PAYLOAD if you need to copy the result. The password is the value after P: and before the next unescaped semicolon.
WIFI:S:EnfectDemo;T:WPA;P:DemoOnly123;;

Enfect QR decoder displaying the Wi-Fi payload from the practice image

This screenshot comes from an upload to the live decoder on October 8, 2026. The decoded text matched the example above.

Field Value in this example Meaning
S EnfectDemo Network name, or SSID
P DemoOnly123 Password stored in the code
T WPA Authentication label in the payload

The T field is the code's stored label. It does not measure the router's current settings or prove that the password still works. A printed code can remain readable after someone changes the router password.

You can also use PASTE for an image copied to your clipboard, or URL for a direct image address. An image host may block cross-origin reads; downloading the image and uploading it avoids that particular problem.

If there is no password

An open-network code can use T:nopass and omit P. Other codes may be incomplete, or may contain a URL instead of Wi-Fi configuration. The decoder shows what the image contains; it cannot recover an unknown password that was never stored there.

The ZXing Wi-Fi format also supports a hidden-network field, H. Special characters such as semicolons and backslashes need escaping, so splitting a complicated payload at every semicolon can give the wrong result. For security labels and these edge cases, see Wi-Fi QR code format and WPA3 troubleshooting.

If the image will not decode, crop closer while keeping the white border around the code. Use a sharper original, improve contrast, and straighten a tilted photo. Guessing the password from a damaged image is not a reliable recovery method.

For an image with several codes, read each QR code separately. Keep each result beside its source crop.

Scanning a printed Wi-Fi code with a phone

The Wi-Fi QR Scanner is the camera option. Open it on your phone, allow camera access, and point it at the code. It displays the network name, password and security type as separate fields you can copy.

This is useful when a phone's usual camera offers to join the network but you need the password to type into a laptop. The scanner reads the QR payload; joining the network still depends on the device and the router's actual configuration.

Making a code

The QR Code Generator turns text or a URL into a code. You can set the colours, add a logo, and export SVG for print or PNG for a screen. To practise with the Wi-Fi example, paste the complete WIFI:... text into the generator, then decode the exported image to check it.

The colours matter more than they look. A code in two mid-tone brand colours can look right on screen and fail on paper. If you change the defaults, test the result before it goes to print.

For a URL code, check the decoded address before visiting it. Reading a QR code without opening its link walks through that workflow with screenshots.

Where the decoding happens

The image decoder runs ZXing compiled to WebAssembly inside your browser. Uploaded files are decoded on the device. The camera scanner processes the camera feed in the page, and the generator builds the code there too.

With the decoder's URL input, the browser still needs to request the image from its host. Keep that distinction in mind when choosing between a local file and an image address. A QR code can contain a Wi-Fi password, a payment link or a home address; share decoded text only with people who should have it.

All three tools are available from the QR tools page. If a code should decode but does not, email w2816771@gmail.com with a non-sensitive example and what happened.