🔎

QR Code Decoder

✓ Free & no signup 🔒 Runs 100% in your browser Updated 2026-11-25 Website Management Tools
🧿

Drop a QR code image here
or click to choose a file (PNG, JPG, WebP)

You have a QR code as an image file, and you want to know what it points to without pointing your phone camera at it. Scanning an unknown QR code with your camera is a leap of faith: the moment it resolves, many camera apps offer to open the link, and one accidental tap sends your browser to wherever the code says. This tool flips that workflow around. Drop the image in, and the code is decoded on your own device so you can read the destination as plain text first and decide whether it deserves a click.

The decoding uses your browser's built-in BarcodeDetector API, which means the entire job happens locally. Your image is never uploaded anywhere, there is no server round trip, and the tool works with no signup. It runs on phones as well as desktops, which is convenient when the QR code lives on a poster or a receipt you want to photograph and inspect on the spot.

Honesty first about the fine print: BarcodeDetector is supported in Chromium-based browsers, which today means Chrome and Edge on desktop, Chrome on Android, and most Android system webviews. Firefox and Safari, including Safari on iPhone, do not ship it, so this tool will report that decoding is unavailable there rather than pretending. If your browser lacks support, the practical fix is opening this page in Chrome or Edge.

Why Decode a QR Code Instead of Just Scanning It

Camera apps optimize for convenience, and that convenience is exactly the problem when you do not know what a code contains. Decoding the image first gives you three things a camera app does not:

  • Inspection before action. You see the full payload, including every query parameter, before anything opens. A code labeled Wi-Fi free access that actually encodes a link to a phishing page gives itself away the moment you read the decoded text.
  • Exact, copyable text. Camera apps truncate long URLs and hide parameters behind a redirect. Here you get the complete string, ready to copy into notes, a report, or a browser address bar only after you have approved it.
  • Auditability of printed materials. If you receive printed codes on invoices, package labels, or event flyers, decoding lets you verify that each one encodes what it claims, which matters when a single misprinted code on a thousand flyers means a thousand dead links.

Attackers do abuse QR codes precisely because people scan reflexively. The technique, sometimes called quishing, places a sticker with a malicious code over a legitimate one on a parking meter or a public notice. The decoded text is your defense: check the domain character by character, watching for lookalikes such as rn substituted for m or a hyphen swapped into a trusted brand name.

How to Use This Tool (Step by Step)

  1. Save or photograph the QR code as an image. PNG and JPG both work; a screenshot of a code on screen works too.
  2. Drop the image into the tool or pick it with the file chooser. Nothing leaves your device at any point.
  3. Read the decoded result. URLs appear in full, plain text appears as-is, and structured payloads such as Wi-Fi strings show their fields.
  4. If nothing decodes, check the image quality guidance below before re-shooting; the most common failure is a blurry or cropped photo, not a broken code.
  5. Only after reading the result, decide what to do: copy the text, visit the link deliberately in a browser, or discard it.

What Decoded Payloads Look Like

QR codes are just text containers, and knowing the common payload formats tells you instantly what a code does. A few concrete examples:

Decoded text you seeWhat it isWhat happens on scan
https://example.com/coupon?ref=summerPlain URL, with a tracking parameter visibleCamera app offers to open the site
WIFI:T:WPA;S:CoffeeBar;P:latte2024;;Wi-Fi network credentialsPhone offers to join that network
mailto:hello@example.com?subject=HiEmail draft with pre-filled recipientMail app opens a new draft
tel:+15551234567Phone numberDialer opens with the number ready
SMSTO:+15551234567:Vote YESSMS with pre-filled bodyMessaging app opens a draft text
MECARD:N:Doe,John;TEL:+15550001111;;Contact cardContacts app offers to save the person

The Wi-Fi row deserves a caution in both directions. As the creator of a guest network, that format is a great convenience. As the scanner of someone else's code, remember that joining an unknown network hands that network operator a position close to your device; do not join networks from codes on random stickers, and stick to your mobile data when in doubt.

Image Quality Requirements (Why Your Decode Failed)

BarcodeDetector is fast but not magic, and most failed decodes trace back to the image rather than the code. Work through this list when a decode comes back empty:

  • Blur. The single most common cause. Phone cameras autofocus quickly, but a photo taken mid-step or in low light leaves module edges smeared. Hold steady, tap to focus, and get close enough that the code fills a good third of the frame.
  • Cropping. The quiet zone, the blank margin around the modules, must survive in the photo. If the code is printed flush against text or borders, include that margin; scanners separate the code from its surroundings using that empty space.
  • Glare and shadow. Glossy menus and laminated signs reflect light straight into the lens, blowing out a stripe of modules. Angle the photo slightly or shade the surface with your hand.
  • Size in the frame. A code occupying 5 percent of a wide photo of a poster is often too small for the detector. Crop the photo down around the code before decoding; any basic image editor, or the phone's built-in crop, works.
  • Damage. Torn labels and scratched stickers genuinely lose data. QR error correction recovers roughly 7 to 30 percent damage depending on the level the generator chose, but the three corner finder squares must be intact no matter what, since they locate and orient the code.

Browser Support, Explained Honestly

The BarcodeDetector API is part of the emerging Web Platform shape-detection capabilities. Chromium implemented it, and it ships in Chrome and Edge on Windows, macOS, ChromeOS, Linux, and Android. Firefox has declined to ship it so far, and Safari on macOS and iOS does not include it either, which is why iPhone users see an unsupported-browser message here instead of a result. There is no graceful polyfill that changes this: JavaScript QR libraries can decode images in pure code, and many sites take that route, but this tool deliberately uses the platform's own detector for speed and locality. If you regularly decode codes and you are on Safari, opening this page in Chrome or Edge is the one-step fix. Support can change over time as browsers evolve, so if you see a new message here, your browser vendor may have shipped the API since this was written.

Practical Uses Beyond Security

  • Recovering data from screenshots. Someone sent you a QR screenshot instead of the link. Decode it, copy the URL, open it on the device where you actually want to read it.
  • Verifying a batch of printed codes. Before a print run ships, decode a sample from the proofs and compare against your destination list; catching a typo on screen beats recalling a thousand flyers.
  • Extracting Wi-Fi details. Decoding a code on a hotel card reveals the SSID and password as plain text, which you can then type into a laptop that has no camera workflow.
  • Inventory and archive work. Photograph codes on boxes or documents in bulk and decode the images on a desktop later, turning paper codes into a searchable list of identifiers.

Tips and Best Practices

  • Read the entire decoded string before acting, especially the domain and everything after the question mark in URLs.
  • Crop photos tightly around the code, keeping the white margin, rather than sending the detector a full poster shot.
  • Treat unknown Wi-Fi and payment codes with the same suspicion as unknown links; the payload format tells you what they touch.
  • Keep the source image file if you are documenting a suspicious code; the original plus the decoded text make a complete report.
  • When decoding many codes, work through them one at a time and copy results out immediately, since the tool holds one image at a time.

Frequently Asked Questions

Is it safe to scan a QR code from a stranger?
Scanning itself is usually harmless, because a QR code is just text and the camera app only shows you a preview. The danger is the tap that follows: opening the decoded link can lead to phishing pages, fake login forms, or drive-by malware, a technique sometimes called quishing. Attackers also stick malicious codes over legitimate ones on parking meters and posters. Read the decoded URL first, check the domain letter by letter for lookalikes, and never enter credentials on a page you reached from an unexpected code. Decoding the image here, without opening anything, is the safe way to inspect one.
Why does this tool not work in Safari or Firefox?
This tool relies on the browser's built-in BarcodeDetector API, which currently ships only in Chromium-based browsers: Chrome, Edge, and Chrome on Android. Firefox and Safari, including Safari on iPhone, have not implemented it, so the tool reports that decoding is unavailable rather than faking a result. There is no polyfill that adds the native detector. If you are on an unsupported browser, open this page in Chrome or Edge, or use a tool that decodes with a pure JavaScript QR library instead. Browser support may expand in the future as the API matures.
Does my image get uploaded when I decode a QR code here?
No. Decoding runs entirely on your device through the BarcodeDetector API, and the image never leaves your browser. There is no server round trip, no account, and no storage; once you close or refresh the page, the tool holds nothing. That local processing matters when the code contains sensitive data, such as a Wi-Fi password on a router label or a payment code on a receipt. The one precondition is browser support, so Chrome or Edge is required, since browsers without BarcodeDetector cannot decode at all.
Why won't my QR code image decode?
Usually the image, not the code, is the problem. Blur from camera shake is the top cause, followed by glare on glossy surfaces, a code that is too small in the frame, and cropping that cut off the quiet zone, the blank margin scanners need to separate the code from its surroundings. Photograph steadily with the code filling about a third of the frame, tap to focus, angle the shot to avoid reflections, and crop tightly around the code. If the physical code is torn or scratched, error correction can only recover so much, and the three corner squares must be intact.
What information is inside a QR code, exactly?
Only text, up to 7,089 digits or 4,296 alphanumeric characters at the largest grid size. What makes codes do things is a text convention: a URL opens a website, a string starting with WIFI: carries network credentials, mailto: drafts an email, tel: opens the dialer, and MECARD or vCard formats save a contact. Decoding shows you that raw text, which is why inspection works: a code claiming to be a menu that decodes to a login page for your bank is exposing itself. The payload is also fully visible to anyone, so no secret can be hidden inside a printed code.
Can I decode a QR code from a photo of a screen or poster?
Yes, photos of screens and posters decode fine as long as image quality holds up. For screens, avoid moire by shooting slightly off-axis rather than dead-on, and capture large enough that modules stay sharp; a screenshot of the code itself is even better than a photo of a screen. For posters, get close, keep the whole code plus its white margin in frame, and watch for glare on laminated surfaces. If the full poster shot fails, crop the photo down around the code first and try again; a tighter crop almost always decodes.

Related Tools