QR Code Decoder

Upload a QR code image and we extract the information encoded inside it — whether it's a URL, Wi-Fi credentials, a vCard, plain text, or something else. Everything is decoded locally in your browser.

Upload a QR code to decode

PNG, JPG, or WEBP — processed entirely in your browser

Click to browse or drag & drop

How the decoder works

When you drop an image into the upload box, the browser wraps it in a local object URL with URL.createObjectURL() — a pointer to the file held in your device's memory. No upload takes place; the file is never sent over the network.

The image is drawn onto an off-screen <canvas> and its pixels are read with getImageData(), then handed to jsQR, a pure-JavaScript QR reader that runs in your browser. If the first pass at the image's natural resolution fails, the decoder automatically retries at several downsampled scales (0.75×, 0.5×, and 0.35×), because slightly resampled images sometimes decode more reliably than the raw original.

The file, the canvas pixels, and the decoded text all stay on your device. The detected type label (URL, Wi-Fi, vCard, and so on) is inferred locally from the payload's prefix — https://, WIFI:, BEGIN:VCARD — so the whole pipeline is private and offline.

The same algorithmic stages a hardware scanner performs happen here in JavaScript. jsQR walks the pixel array looking for the three finder patterns — the nested square markers that occupy three corners of every QR code — and triangulates from them to locate the fourth corner and the internal timing patterns. From those reference points it builds a sampling grid, binarises each cell against a local threshold so that subtle grey gradations collapse into clean black-or-white modules, and reads off the raw bit matrix. The bits are then partitioned into data codewords and Reed-Solomon error-correction codewords; the decoder solves the syndromes to reconstruct any modules obscured by glare, dirt, or print artefacts, then unpacks the corrected bit stream through the encoding mode declared in the code's header. Because the entire pipeline operates on the canvas pixel buffer already held in memory, no second copy of the image ever leaves your device.

How to decode a QR code

  1. Save or screenshot the code. Capture the QR code as a PNG, JPG, or WebP image. Phone screenshots work just as well as downloaded files.
  2. Upload it above. Drag the file onto the upload box or click to browse. The image is read locally — it is never uploaded to a server.
  3. Read the decoded data. The raw payload appears in the result card, along with the detected type and the original image dimensions.
  4. Copy what you need. Use Copy decoded data to paste the payload into a browser, a Wi-Fi setup, or a contact app.

What each result type means

URL

A web link. Paste it into a browser address bar to open the destination page.

Wi-Fi

Network credentials in WIFI:T:…;S:…;P:…;; format. S: is the network name, P: the password, and T: the security type (WPA, WEP, or nopass).

vCard / contact

A contact record beginning with BEGIN:VCARD. Save it as a .vcf file and import it into your phone or address book.

Email, SMS, phone

A mailto:, sms:, or tel: link with the recipient and any pre-filled subject or message.

Plain text

Any free-form text the code creator typed in — a note, a code, or a message with no special structure.

Troubleshooting

“No QR code was found”

The decoder could not locate a code in the image. Re-capture in better light, fill more of the frame with the code, and make sure the white margin around it is not cropped off.

The image is blurry or skewed

QR decoding needs reasonably sharp, flat modules. Photograph the code straight-on from a few centimetres away, or download the original image file instead of photographing a screen.

The code is very small or low-resolution

Tiny codes carry fewer pixels per module and may not decode. Zoom in or re-capture at a higher resolution so each square module is at least a few pixels wide.

It is a different 2D barcode

This tool reads QR codes specifically. Data Matrix, Aztec, PDF417, and standard barcodes will not decode here — use a general-purpose barcode reader for those.

Privacy

Decoding happens entirely in your browser. Your image never leaves your device and nothing about it is stored or transmitted.

Frequently asked questions

What image formats can I decode?

PNG, JPG, and WebP all work, including phone screenshots. The image is drawn to an off-screen canvas and read by jsQR, so any format the browser can render can be decoded. SVG files need to be rasterised to a raster format first.

Why does it say no QR code was found?

The decoder could not locate a code in the image. Re-capture in better light, fill more of the frame with the code, and make sure the white margin around it is not cropped. Very small, blurry, or low-contrast images often fail at the finder-pattern detection stage.

Is my uploaded image sent anywhere?

No. The image is wrapped in a local object URL and processed on your device. The file, the canvas pixels, and the decoded text all stay in your browser — nothing is uploaded, stored, or transmitted.