About this tool
Upload or paste an image containing a QR code to read its text or URL. Decoding happens locally, and decoded links are only displayed — never opened automatically — so you can check them first.
Typical uses
- Read a QR code from a screenshot on your computer
- See the real URL behind a QR code before visiting it
- Extract Wi-Fi details or text from a code
How to use
Upload a QR image or paste an image from the clipboard.
Read the decoded text and copy it if needed.
For example, upload or paste a chat screenshot containing a QR code, inspect the decoded result and then decide whether to copy its URL.
Images are limited to 30 MB. Decoded URLs are displayed and never opened automatically.
Decoded links are displayed and never opened automatically; assess them before visiting. Images are limited to 30 MB, and blurred or cropped codes may fail.
What it reads and how the result is shown
Decoding runs in your browser with the QR code reader from ZXing’s JavaScript port (@zxing/browser 0.1.5). It reads standard QR codes only: Micro QR, Data Matrix, Aztec, PDF417 and one-dimensional barcodes are out of scope (use the barcode image decoder for those). On success the page shows “Format: QR_CODE” and the exact text stored in the code, line breaks included, with a single “Copy content” button.
- The file must have an image type or a png, jpg, jpeg, webp, gif or bmp extension, otherwise you see “Choose an image file.”; above 30 MB you see “Image must be at most 30 MB.” A file format the browser cannot open ends with the same message as a missing code, “No QR code found. Try a sharp, complete, high contrast image.”; HEIC photos can be converted to JPG with the HEIC converter first.
- The image is first decoded at its full pixel size. If nothing is found, the page retries on smaller copies: the long side goes down to at most 1600 px (and no more than 80% of the original), then 20% smaller each time until it is under 80 px, stopping at the first success. Fully transparent pixels count as white, so a QR PNG with a transparent background reads fine.
- Press Ctrl+V / ⌘V anywhere on the page to paste a screenshot without saving it. To scan a printed code with a camera, use the camera scanner page.
- Each image gives at most one result. In our tests, two codes side by side returned the left one; two codes stacked vertically returned the top one; a large and a small code side by side returned the large one. When a picture holds several codes, crop it down to the one you want.
How URLs, Wi-Fi codes and contacts appear
The tool does not interpret the content; it shows the text stored in the code. Each sample below was generated with this site’s generators and decoded with the reader this page uses; the displayed text matched the original character for character (⏎ marks a line break):
| Content | Text shown on the page |
|---|---|
| URL (QR code generator) | https://example.com/menu?table=12 |
| Wi-Fi (Wi-Fi QR code) | WIFI:T:WPA;S:Café\;Guest;P:p@ss\:word\,1;; |
| Contact (contact QR code, vCard 3.0) | BEGIN:VCARD ⏎ VERSION:3.0 ⏎ N:;Jane Smith;;; ⏎ FN:Jane Smith ⏎ ORG:Smith & Co ⏎ TEL;TYPE=CELL:+44 20 7946 0958 ⏎ END:VCARD |
| Plain text | Order #4471 – collect by 15 March |
- A URL is plain text: it is not a clickable link and nothing is visited; decoding makes no network request. Before copying, read the domain between “://” and the first “/”.
- In Wi-Fi codes, ; , : " and \ are preceded by a backslash, the escaping the WIFI: format requires. Drop those backslashes when typing the password by hand: the password in the sample is p@ss:word,1.
- Contacts are not imported into an address book. To save one, scan the original code with a phone camera or copy the fields across by hand.
- Chinese, Japanese and accented French text came back correctly as UTF-8 in our tests with codes from this site’s generator.
Why a code is not found: tested case by case
We encoded one URL the way this site’s QR generator does, changed one thing about the image and gave it to this page’s reader. Unless noted: 8 px per module, a 4-module white margin, error correction level M.
| Image | Decoded |
|---|---|
| Reference: black on white, 8 px per module, 4-module margin | Yes |
| Mirrored left to right | Yes |
| Rotated 90° (180° likewise) | Yes |
| Tilted 30° | Yes |
| Inverted: white code on black | No |
| Code touching a dark frame, no margin | No |
| 1 module of white between code and dark frame | Yes |
| Blurred, σ = 0.5 module | Yes |
| Blurred, σ = 0.75 module | No |
| Grey modules #777777 (brightness 119) | Yes |
| Grey modules #888888 (brightness 136) | Yes |
| Orange modules #ff8800 | Yes |
| Level M, centre 5% covered | Yes |
| Level M, centre 10% covered | No |
| Level H, centre 15% covered | Yes |
| Level H, centre 20% covered | No |
| Top-left position pattern cropped off | No |
- Inverted codes (light modules on a dark background) fail: the reader only accepts dark modules on a light background. Invert the colours in an image editor first. Mirroring, 90° or 180° rotation and a 30° tilt made no difference.
- The code does not need a wide margin, but it must not touch dark objects. When a code in a photo sits against a dark frame or text, crop with at least a thin white border around it.
- Pale modules depend on module size. The reader judges light and dark in 8 × 8-pixel blocks, and a block whose values differ by 24 levels or less is usually taken as background. #888888 and orange modules at 8 px per module failed in the full-size pass and were read by the automatic retry on smaller copies. Shrinking does not rescue inverted, blurred or cropped codes.
- How much of the centre may be hidden depends on the correction level: level M read with 5% covered but not 10%; level H read with 15% but not 20%; level L failed even at 5%. A missing position pattern in any corner stops decoding.
- The smaller-copy retry also fixes clean codes the full-size pass occasionally misses. A contact code for “张伟 / 星河贸易” exported by our contact QR tool at 512 and 1024 px is missed at full size and read on retry (the 256 px export reads at full size). Of 40 random 110-byte codes (version 7) drawn at 6 px per module, 5 were missed at full size; the retry read all of them.
- Blur up to half a module still decoded; three quarters of a module did not.
Related tools
Decoded content stays on this page (“Decoded. The content is displayed here only.” “Decoded content is never opened or visited automatically.”). These tools cover the next steps.
Frequently asked questions
Why can’t it read my image?
Make sure the image is sharp, the whole code is visible and there is no heavy distortion or glare. Cropping to the code can help.
Will the URL open automatically?
No. It is only shown on the page; you decide whether to copy or visit it.
What size images are supported?
Up to 30 MB per image.
Suggest an improvement to this tool
Missing an option, something awkward to use, or a wrong result? Let us know.