Skip to content

QR code and barcode reader

Read QR codes and barcodes (EAN, UPC, Code 128, Data Matrix) in a screenshot or photo, see where links go first, and verify GST e-invoice QR codes. No upload.

  • Runs in your browser
  • Nothing is uploaded
  • Free, no sign-up

or drop it here, or paste a screenshot with Ctrl+V (⌘V on a Mac). PNG, JPEG, WebP, HEIC, SVG and most other images, up to 50 MB. Nothing is uploaded.

How it works

Your browser opens the picture and looks for the three squares in the corners that every QR code has, then reads the pattern between them. For barcodes it looks for patches of parallel bars, turns each one level and reads it with ZXing, an open-source barcode reader, then looks for Data Matrix, PDF417 and Aztec codes the same way. Large photos are read at a working size first and again at close to full size, so small codes in big photos are found too. Several codes in one picture are read one at a time.

The page then works out what the code holds and shows it plainly. A link shows the website it goes to, with a warning when something about the address is worth a second look. A Wi-Fi code shows the network name and password, a contact card can be saved to your phone or computer, a product barcode shows its number (and a book's ISBN), a UPI payment code shows the UPI ID it pays and any amount set in it (nothing is paid from here), a GS1 label shows each field with its name, and anything else is shown as text to copy.

An Indian GST e-invoice's QR code holds the invoice's key details, signed by the Invoice Registration Portal (IRP) that gave it its IRN. The page reads those details into a table and checks the signature with your browser's built-in cryptography against NIC's public keys, which are part of the page, so nothing is looked up online. A signature that checks out means the details are exactly what the IRP signed; one that doesn't means the code was changed or made by someone else. Test codes from NIC's sandbox are labelled as tests.

Questions

How do I scan a QR code or barcode from a screenshot or photo?

Choose the picture, drop it on this page or paste it with Ctrl+V (⌘V on a Mac). The page reads every QR code and barcode in it, up to 30, numbers them from the top left and shows what each one holds: a link, a Wi-Fi password, a contact, a product number or plain text.

Which barcodes can it read?

Product barcodes (EAN-13, EAN-8, UPC-A and UPC-E, with the ISBN for books), Code 128 and GS1-128 shipping labels, Code 39, Code 93, Codabar, ITF-14, GS1 DataBar, and the square and stacked kinds: Data Matrix, PDF417 (as on ID cards and boarding passes) and Aztec. GS1 labels are split into their fields, such as the GTIN, batch and expiry date. It shows the number a product barcode holds, but can't say what the product is: that needs the shop's or maker's database, and nothing here is looked up online.

Is it safe to open the link in a QR code?

Not always: fake QR codes on posters, parking meters and emails lead to look-alike sites. This page shows the address a code goes to before anything opens, and points out tricks like an @ sign in the address, look-alike letters and short links that hide the real destination. Nothing opens unless you choose to.

How do I scan and verify a GST e-invoice QR code?

Take a screenshot of the QR code on the e-invoice (or a photo of the printed invoice) and open it here. The page shows the seller's and buyer's GSTIN, the document type, number and date, the invoice value, the number of items, the main HSN code, the IRN and its date, and checks the code's digital signature against the public keys NIC publishes for its e-invoice system (IRP 1), bundled in the page. It says “Signature verified” only when that check passes. A code signed by one of the private IRPs, or with any other key the page doesn't have, is shown with its details but marked as not checked. It also checks that the IRN fits the invoice's GSTIN, year, type and number, and that each GSTIN's last character is right.

Can I scan with my camera here?

No, this page reads pictures only, so it works as a barcode scanner for images rather than a live camera scanner. On a phone, the camera app reads QR codes directly. To read a barcode, or to check a code first, take a photo or a screenshot of it and open that here.

Limits

It doesn't read Micro QR, MaxiCode, postal barcodes (such as USPS Intelligent Mail) or the small add-on barcodes beside some magazine and book barcodes. A code that is blurred, cut off, covered by glare, bent round a bottle or printed very small in a large photo may not be found; cropping close to the code usually helps. Pictures can be up to 50 MB (SVG up to 5 MB).

A product barcode holds a number, not the product's name or price. This page shows the number but can't look it up, since nothing you open here is sent anywhere.

An e-invoice check is only as good as the keys in the page. It has NIC's IRP 1 keys from August 2020 to June 2026 (each matched against signed codes before it was added) and the keys a GST Suvidha Provider publishes as IRP 1's and IRP 2's current ones; codes from the private IRPs, or from a key it doesn't have, are shown but not checked. A good signature can't show whether the e-invoice was cancelled afterwards: search the IRN on the e-invoice portal for that. A PDF invoice needs a screenshot of its QR code first.

The warnings about links look at the address only. They can't tell whether a website is safe, and a short link's real destination is only known once it opens.

Privacy

This tool runs entirely in your browser. The files you open and what you type are never sent to a server, and nothing is stored after you close the page. See the privacy page.

Related tools