Decode QR Code from Image Online — All Formats Explained
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.
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.
- Go to WifiQRScan — Decode
- Click Upload or drag your image file onto the drop zone
- Select a JPEG, PNG, WEBP, or GIF file from your device
- 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.
- 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:
PrtScnor your distro's screenshot tool
- Windows:
- Go to WifiQRScan — Decode
- Click anywhere in the decode area and press
Ctrl+V(orCmd+Von Mac) - 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):
- Right-click the QR code image → Copy image address
- Go to WifiQRScan — Decode and click the URL tab
- 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):
- Go to WifiQRScan — Decode and click the Camera tab
- Allow camera access when prompted
- Hold the QR code 15–40 cm from the webcam, centered in the frame
- The decoder reads it automatically
What Formats Can Be Decoded?
The decoder supports QR codes and a wide range of barcodes:
2D Codes
| Format | What it's used for |
|---|---|
| QR Code | URLs, WiFi credentials, contacts, app links, payment info |
| Data Matrix | Industrial parts, pharmaceutical packaging, electronics |
| PDF417 | Driver's licenses, boarding passes, event tickets, shipping labels |
| Aztec | Train and bus tickets (common on European rail) |
1D Barcodes
| Format | What it's used for |
|---|---|
| Code 128 | Shipping labels, retail inventory, logistics |
| Code 39 | Manufacturing, ID badges, military |
| EAN-13 | Product packaging — the standard grocery store barcode |
| EAN-8 | Small product packaging |
| UPC-A / UPC-E | North American product barcodes |
| ITF | Outer 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:
| Field | What it means |
|---|---|
| Network Name (SSID) | The WiFi network name — what you see in your device's WiFi list |
| Password | The plain-text password — copy and paste it wherever you need it |
| Security Type | WPA2 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.
For Generic Text, Contacts, or App Links
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:
- Open your browser's developer tools (
F12) - Go to the Network tab
- Upload or paste your image
- 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.