Decode QR Code from Image Online — All Formats Explained

7 min read
qr-code-decoderbarcode-decoderpdf417guide

Got an image with a QR code or barcode and need to know what's inside it? A browser-based decoder is the fastest way — no app to install, no account to create, and your image stays on your device the whole time.

This guide explains how to decode from any image file, which formats are supported, what the decoded output means, and how to troubleshoot when a scan fails.

Try it free — no app, no account

Upload a file or paste a screenshot — all formats decoded instantly in your browser.

Decode a QR Code from Image

How to Decode a QR Code from an Image — Step by Step

Option 1 — Upload an Image File

This works for any image saved on your computer or phone.

  1. Go to WifiQRScan — Decode
  2. Click Upload or drag your image file onto the drop zone
  3. Select a JPEG, PNG, WEBP, or GIF file from your device
  4. The result appears in under a second

Best for: screenshots you've saved, photos taken on your phone, downloaded QR code images, scanned documents.

Option 2 — Paste a Screenshot

This is faster if the QR code is already on your screen.

  1. Take a screenshot of the QR code:
    • Windows: Win + Shift + S, draw a box around the code
    • Mac: Cmd + Shift + 4, drag to select the code area
    • Linux: PrtScn or your distro's screenshot tool
  2. Go to WifiQRScan — Decode
  3. Click anywhere in the decode area and press Ctrl+V (or Cmd+V on Mac)
  4. The screenshot pastes directly — no file to save first

Best for: QR codes on another browser tab, in a PDF, on a shared screen during a call, or sent to you in a chat message.

Option 3 — Paste an Image URL

If the QR code is hosted online (in a Google Doc, email, Slack, or a web page):

  1. Right-click the QR code image → Copy image address
  2. Go to WifiQRScan — Decode and click the URL tab
  3. Paste the URL and click Decode

Note: This only works if the URL points directly to an image file and the server allows cross-origin access. Some cloud services block this — if it fails, download the image and use the Upload method instead.

Option 4 — Use Your Webcam

If you have a physical QR code (on paper, a product, or a device sticker):

  1. Go to WifiQRScan — Decode and click the Camera tab
  2. Allow camera access when prompted
  3. Hold the QR code 15–40 cm from the webcam, centered in the frame
  4. The decoder reads it automatically

What Formats Can Be Decoded?

The decoder supports QR codes and a wide range of barcodes:

2D Codes

FormatWhat it's used for
QR CodeURLs, WiFi credentials, contacts, app links, payment info
Data MatrixIndustrial parts, pharmaceutical packaging, electronics
PDF417Driver's licenses, boarding passes, event tickets, shipping labels
AztecTrain and bus tickets (common on European rail)

1D Barcodes

FormatWhat it's used for
Code 128Shipping labels, retail inventory, logistics
Code 39Manufacturing, ID badges, military
EAN-13Product packaging — the standard grocery store barcode
EAN-8Small product packaging
UPC-A / UPC-ENorth American product barcodes
ITFOuter carton and pallet labels

The format is detected automatically — you don't need to tell the decoder what type of code you have.


What Does the Decoded Output Mean?

For WiFi QR Codes

If you scan a WiFi QR code, you'll see three fields:

FieldWhat it means
Network Name (SSID)The WiFi network name — what you see in your device's WiFi list
PasswordThe plain-text password — copy and paste it wherever you need it
Security TypeWPA2 or WPA3 for modern networks, WEP for older routers

On mobile, a Connect button appears so you can join the network directly without typing.

For URLs

You'll see the full URL the QR code points to. Check it carefully before visiting — QR code scams sometimes disguise malicious URLs inside legitimate-looking codes.

For Product Barcodes (EAN, UPC)

You'll see the product number — a 12- or 13-digit code. This number identifies the product in global databases but doesn't contain price or product name information by itself. You'd need to look it up in a product database to get the name.

For PDF417 (Driver's Licenses, Boarding Passes)

PDF417 codes on government-issued IDs contain personal data in a structured format defined by the issuing authority. The decoder shows the raw encoded string. For driver's licenses in the US, this follows the AAMVA standard — names, DOB, address, and license details are all embedded.

The decoder shows the raw content as-is. Common formats include:

  • URLs starting with https://
  • Contact cards starting with BEGIN:VCARD
  • Calendar events starting with BEGIN:VCALENDAR
  • Email links starting with mailto:
  • Plain text — anything that doesn't match a known prefix

Tips for Getting a Clean Decode

The most common reason a decode fails is image quality. Here's what helps:

Crop tightly. The QR code should fill most of the image frame. A tiny QR code in a large photo gives the decoder less pixel data to work with.

All four corners must be visible. QR codes use corner "finder patterns" (the three square symbols) for alignment. If any corner is cut off, the decode fails.

Avoid glare and shadows. A shadow crossing the QR code or a glare spot from a flash can break the pattern. Photograph in even, diffuse lighting.

Increase contrast. If the code is faded — common on old stickers — a screenshot or scan at higher contrast helps. Some image editors have an auto-contrast option.

Use PNG over JPEG when possible. JPEG compression adds artifacts around high-contrast edges, which can confuse decoders on small or dense QR codes. If you're screenshotting, PNG is lossless.


Privacy — Does the Tool Upload My Image?

No. WifiQRScan runs entirely in your browser. Your image file is read and decoded locally using WebAssembly — no part of it is sent to any server.

You can verify this yourself:

  1. Open your browser's developer tools (F12)
  2. Go to the Network tab
  3. Upload or paste your image
  4. Confirm no outbound request carries image data

This matters especially for PDF417 codes from driver's licenses and boarding passes, which contain personal information.


Troubleshooting

"No QR code found" error

  • Crop the image so the code fills at least 60% of the frame
  • Check that all four corners of the QR code are visible
  • Try a fresh screenshot rather than a downloaded image (screenshots are lossless)
  • If the code is from a phone screen, the display refresh rate can interfere with camera captures — use a screenshot instead of a photo

Partial or garbled result

  • The QR code may be damaged or printed at too small a size
  • Try a higher-resolution source image

Barcode decodes but format shows "Unknown"

  • Some proprietary barcode formats use standard encodings but with custom data schemas — the decoder correctly reads the raw data even if the format label isn't specific

WiFi QR code decodes but password looks wrong

  • Copy the password carefully — some fonts make 0 and O, or l and 1, look similar
  • The password in the code may have been entered incorrectly when the code was generated — regenerate it at WifiQRScan — Generator

Try it free — no app, no account

Paste a screenshot or upload a file — all formats, no account needed.

Decode Your Image Now

Frequently Asked Questions

How do I decode a QR code from an image online?
Go to WifiQRScan's decode page, click Upload, and select your image file. The decoder reads it in your browser and shows the result instantly — no account, no upload to any server.
What image formats are supported?
JPEG, PNG, WEBP, and GIF are all supported. For best results, use PNG or a high-quality JPEG. Heavily compressed images may fail if the QR code has visual artifacts.
Can I decode a barcode (not a QR code) from an image?
Yes. WifiQRScan decodes QR codes and many common barcode formats including Code 128, EAN-13, EAN-8, UPC-A, UPC-E, PDF417, Data Matrix, and Aztec. Upload your image and the decoder identifies the format automatically.
Is the image uploaded to a server when I decode it?
No. All decoding happens in your browser using WebAssembly. Your image file never leaves your device. You can verify this by watching your browser's network activity — no image data is sent.
What if my QR code image won't decode?
The most common causes are a blurry image, a corner that's cut off, or low contrast. Crop the image so the code fills most of the frame, improve lighting if it's a photo, and try again. If it still fails, try pasting a fresh screenshot of the code.
Can I decode a QR code from a PDF?
Take a screenshot of the PDF page containing the QR code, then paste the screenshot into WifiQRScan with Ctrl+V (or Cmd+V on Mac). The decoder will read it from the pasted image.