QR Code Decoder

Drop in a screenshot, a photo or a link to an image. You get the data inside the code, the details of how it was built, and a clean copy back when a damaged code can still be read.
A picture you pick from your device is read in your browser and never uploaded. A picture loaded from an address is read straight from that site when it allows it, and fetched through this site when it does not.


Drop a file on this box, or paste a screenshot with Ctrl and V.

Most sites block a direct read. When that happens the page offers to fetch the picture through this site, and only does it if you say yes.

Decoding by jsQR (Apache 2.0), served from this site.

Advertisement

About

Every QR code holds one run of text: a web address, a WiFi name and password, a contact card, or a few lines of plain writing. This tool pulls that text out of a picture, then reads the code around it, which is the part a phone camera ignores.

The second half is what matters when a code will not scan. It reports the version, the damage recovery level, and how much of the code is damaged, measured square by square against a clean rebuild of the same data. When the damage is too heavy for the data to survive, it still tells you a code is there, which is not the same answer as finding no code. When it does read a damaged one, it hands back a clean copy you can print again.

How to use

  1. Choose an image, drop a file in, or paste a screenshot.
  2. Wait while the code is found and read.
  3. Read the data, then check the damage note and the details under it.

Frequently asked questions

How do I get an image in?

Pick a file with the button, drop one on the box, or copy a screenshot and press Ctrl and V. If the code sits on a website, paste the address of the picture itself into the second box, the address that ends in .png or .jpg.

Why will a link from another site not load on its own?

Because a browser only lets a page read an image when the site that hosts it agrees, and plenty of sites refuse. When that happens this page offers to fetch the picture through the site instead. It asks first, does nothing unless you agree, and keeps no copy.

What exactly is the data in a QR code?

One run of text. A link is stored as the address itself, a WiFi code stores the network name and password with a few keywords in front, a contact card stores the fields of a name and phone number, and anything else is stored as plain writing. The coloured box near the top shows that text exactly as the code holds it, and the lines under it break out the useful parts.

What if the code is too damaged to read?

You get a warning that a QR code is there but cannot be read, with how many corner patterns survived, roughly how many squares across it should be, and what its header still says. When enough data survives to read it, the result comes with a clean rebuilt copy you can print again. A picture with no code at all gets a plain answer instead, without the warning.

How hard does it try before giving up?

Harder than a phone camera does. It reads the picture at four sizes, in six contrast treatments, then in overlapping crops, then looks for the corner patterns directly, then straightens the code up and reads that one. A clean screenshot is done on the first pass, and a bad photo takes a few seconds.

Can it repair a damaged code?

It can rebuild one. Once the data is recovered, the page encodes the same text again at the same size and damage level and offers it as a clean PNG you can print or share. That repairs the code, not the damage. If the data is gone past what the recovery level can rebuild, nothing brings it back.

What does the damage note mean?

The code is rebuilt from the data it gave up and compared with the picture square by square, so the percentage covers the whole code rather than a sample. Anything under the recovery level still reads, which is why a code with a scuff or a crease often works when it looks like it should not.

What are the version and the scramble pattern?

The version sets how many squares the code has, from 21 across at the smallest up to 177 at the largest, and it grows as the data does. The scramble pattern is one of eight ways the data is mixed before it is drawn, so a code never ends up with one big blank block or a solid stripe. Neither of them changes what the code says.

It says the code is inverted or mirrored. Is that a problem?

No. Inverted means light squares on a dark background, which some designs and dark mode posters produce. Mirrored means the picture was flipped somewhere on the way to you, like a selfie taken in a mirror. Both read correctly, and the note simply says which one happened.

Can it read more than one code in a picture?

One per picture, and it takes the first one it can read. Crop down to the code you want first, since that also gives it more of the picture to work with.

Is anything sent to a server?

Only when you say so. A picture from your device is read in the browser and never uploaded. A picture from an address is read in the browser too when that site allows it; when it does not, the page asks, and only then does this site fetch it. Nothing is written to disk and no copy is kept, so a code from a private document is treated like any other.

Advertisement