Basics
Blurry QR code: why it happens, how to fix it and when it still scans
A blurry QR code usually still scans until the blur reaches about half the width of one of its little squares. Past that point, no amount of error correction saves it. Here's what causes blur, how to fix it for good, and how to blur a code you don't want scanned.
By Armaghan Abdul Qayyum · Updated · 7 min read
A QR code looks blurred when the edges of its squares (called modules) are soft instead of sharp. The usual causes are a small image stretched to a bigger size, a print made at too low a resolution, ink spreading on absorbent paper, or a phone camera that can't focus. The fix is almost never to sharpen the blurry image: make the code again as an SVG or PDF, or as a PNG big enough for the print size, and print it at 100%. If you only have a blurry photo of a code, try our free QR code scanner, which reads codes from images in your browser.
How much blur can a QR code take? We tested it
We made a standard QR code, blurred it in steps and tried to decode each version with jsQR, the open-source decoder our scanner uses. We measured blur against the width of one module, because that's what matters: the same blur ruins a code with tiny modules and barely touches one with big modules.

| Test (decoded with jsQR) | Result |
|---|---|
| Gaussian blur up to 0.5 module wide | Scans, at error correction L, M and H alike |
| Gaussian blur of 0.6 module or more | Fails, at every error correction level |
| Same size, 42-character link vs 121-character link | The longer link survived only about half as much blur (σ 3 px vs 6 px), because its modules were smaller |
| Small JPEG at 3 pixels per module, quality down to 2% | Still scans: heavy compression looks ugly but kept the pattern |
| Tiny PNG (1–2 pixels per module) enlarged with smoothing | Still scans on screen, but prints with soft, fuzzy edges |
Two lessons come out of this. First, error correction doesn't help with blur. It repairs a missing or damaged patch, such as a logo or a scratch, but blur softens every module at once, so a code at level H failed at exactly the same point as one at level L. (More on what it does cover in our guide to QR code error correction.) Second, shorter content gives you more room. Fewer characters mean fewer, bigger modules at the same printed size, so the code tolerates more blur, more distance and a worse camera.
Why your QR code is blurry
| Where it blurs | Common cause | Fix |
|---|---|---|
| The file | A small PNG or a screenshot stretched to fit a poster or slide | Download it again as SVG or PDF, or as a PNG at the final size |
| The file | Resizing with smoothing (the default in most editors) | Scale by a whole number with "nearest neighbour", or use a vector file |
| The print | Printed at under 300 dpi, or "fit to page" enlarged a small image | Export at 300 dpi for the printed size and print at 100% |
| The print | Ink spreads on absorbent paper, so dark squares bleed into light ones | Use coated or smoother paper, or print the code bigger |
| The print | Rich black (four inks) slightly out of line on the press | Ask for 100% black only (K) for the code |
| The camera | The phone is too close to focus, or the lens is dirty | Step back to 15–30 cm, wipe the lens, tap the code to focus |
| The camera | Low light or a shaky hand | Add light, hold steady, or use the camera's zoom instead of moving closer |
| The screen | A code on a monitor photographed at an angle, or shown very small | Make it bigger on screen, or take a screenshot and scan that |
How to fix a blurry QR code for print
- Go back to the link or text the code holds. If you still have it, make a fresh code in the free QR code generator instead of repairing the old image.
- Download SVG (or PDF) for anything printed. A vector code stays sharp at any size, from a business card to a banner.
- If you must use a PNG, size it for the print: about 300 pixels per inch (118 per cm) of printed width. A 5 cm code needs a PNG of about 600 × 600 px. Our QR code size calculator works out the pixels for you.
- Check the printed size is big enough for the scanning distance. As a rule of thumb, a code should be at least a tenth as wide as the distance people scan from. See QR code size for printing.
- Keep the content short. A shorter link makes bigger modules, which is the best insurance against blur on cheap paper or old phones.
- Print one test copy at 100% and scan it with two different phones before you print the rest.
Can you unblur a QR code from a photo?
Sometimes. If the blur is mild, crop the photo tightly around the code, raise the contrast or switch it to black and white, and try our QR code scanner or your phone's camera again. Our test above shows why a black-and-white threshold helps: a code blurred by half a module still decoded after it was turned back into pure black and white, but one blurred by 0.7 module did not.
Be careful with AI "unblur" and upscaling tools. They can't recover detail that was never captured; they guess it. A QR code has checksums, so a wrongly guessed code usually just fails to scan instead of opening the wrong link, but if it does open something, check the address before you trust it. The reliable fix is always to get the original link and make a new code.
How to blur a QR code in a photo (so nobody can scan it)
People blur QR codes before posting photos of boarding passes, tickets, parcels, WiFi signs and screens, because the code can hold a booking reference, an address or a password. Our test shows the risk: a light blur often still scans. A code blurred by half a module decoded perfectly.
- Cover it completely with a solid box in any photo editor or the markup tool on your phone. This is the only method that's always safe.
- If you prefer blur, use a strong one: make the code look like a grey smudge with no visible squares or corner markers. Then scan your edited image to check it no longer reads.
- Pixelation is only safe with big blocks, each several times wider than the code's squares. Small blocks can leave the pattern readable.
- Crop or cover the code before you post it. Blurring it afterwards in a story or reel doesn't remove the original from the people who already saw it.
A sharp code that points to the wrong place is worse than a blurry one
If you're reprinting anyway, think about what the code links to. A static code holds your link itself and never expires. A dynamic code holds a short link you can change later, which saves a reprint if the page moves. Some services switch dynamic codes off when a plan ends, so check that first: our test of 20 free QR code generators shows which ones do. EndureQR's dynamic codes keep working even if you cancel.