Blurry QR Code? How to Scan It, Fix It or Avoid It
Sign up to save QR Codes and create up to 2 Dynamic QR Codes completely freeBy the QR Penguin team · Updated
Why a QR code comes out blurry
A code goes soft for one of a handful of reasons, and knowing which one you're facing tells you whether the fix is on your side or the code maker's:
- The camera can't focus. Phones focus poorly on anything a few inches from the lens, and laptop webcams are often fixed-focus, so a code held close looks smeared.
- Movement. In dim light the camera uses a slow shutter, and the slightest shake drags every edge sideways.
- A small image stretched. A 200-pixel PNG blown up to fill a poster becomes a grid of fuzzy gray squares.
- Ink spread. Cheap paper, a worn printer or a very small code lets ink bleed into the white gaps.
- A copy of a copy. Each screenshot, photo, fax or compressed upload loses a little sharpness.
How to scan one anyway
Most blurry codes are still readable, because a QR code stores its contents more than once. The extra data is called error correction, and the levels in the standard's specification, published by its inventor DENSO WAVE, let a code recover from roughly 7% to 30% of its data being unreadable. Give the scanner its best chance:
- Step back until the code fills about half the screen; the camera focuses better at that distance than up close.
- Brace your elbows on a table or against your body, or rest the phone on something solid.
- Add light from the front: a lamp, a window or another phone's flashlight. Avoid light from behind the code.
- Tap the code on screen to tell the camera where to focus.
- Try a different phone. Cameras and scanning software differ, and a second phone often reads what the first can't.
If the live camera won't lock on, take the steadiest photo you can and let software read the still. Our image scanning guide shows how, with Google Lens and with a reader that runs in some browsers.
When scanning can't save it
A blur heavy enough to merge neighboring squares destroys the pattern, and sharpening filters can't reliably bring it back; they guess, and a scanner needs each square to be right. At that point the only fix is a better source: a new photo, the original file, or the link itself from whoever published the code. If you're the one stuck with a printed code that won't scan, our troubleshooting guide lists the other causes worth ruling out, from pale colors to a broken link.
Making codes that stay sharp
If you make codes for other people, a few habits prevent nearly every blurry result:
- Download at the size you'll use. Our generator's PNG goes up to 2000 pixels; pick a size that matches the space instead of enlarging a small file later.
- Choose SVG for print. It's a vector, so a print shop can make it any size without softening a single edge.
- Don't save a code as a heavily compressed JPG. Compression smudges the hard edges a scanner relies on.
- Keep it big enough for the distance. A code read from across a room needs to be far larger than one on a name badge; the QR code size guide works it out.
- Leave the white margin around the code. DENSO WAVE's guidance asks for four modules of blank space on every side.
Our generator sets error correction to High by default, the level that copes with about 30% damage, so a code you make here already has the most room for smudges. You can lower it in the options to get a simpler pattern with bigger squares, which can help a code that will be printed very small. Paper, stickers and print settings each add their own risks; the printing guide covers them.
Blurring a code on purpose
People often blur a ticket, boarding pass or gift card before posting a photo of it. A gentle blur isn't enough: as above, error correction is designed to read through damage, and a lightly smoothed code may still scan. Cover the whole square with a solid shape, or crop it out of the picture entirely, before you share it.