Spill coffee on a barcode and it's finished. Spill coffee on a QR code and there's a fair chance it still scans. That resilience is built in: every QR code carries extra data that lets a reader rebuild what's missing. How much extra is your choice, and it's the setting labeled error correction in our generator.
What error correction actually is
When a code is made, the generator adds Reed–Solomon error-correction codewords to your data — the same family of math used on CDs and in deep-space communication.[2] When a phone reads the code, it uses those extra codewords to detect and fix bytes that came through wrong because of a smudge, a scratch or a fold. Reed–Solomon works on whole bytes, which makes it especially good at fixing damage that's bunched together in one place, like a tear or a sticker edge.[2]
You never see any of this. You just see that a worn code still works.
The four levels
The QR format offers four levels, named by letter.[2] Each restores roughly this share of the code's codewords:[1]
| Level | Restores about | Good for |
|---|---|---|
| L (low) | 7% | Codes on screens; very long content in a tight space |
| M (medium) | 15% | Most printed codes: flyers, menus, packaging, business cards |
| Q (quartile) | 25% | Outdoor signs and labels that get handled or weathered |
| H (high) | 30% | Harsh environments, and codes with a logo covering the center |
DENSO WAVE, which invented the format, says M is the most commonly selected level, and suggests Q or H where codes are likely to get dirty — its original example was a factory floor.[2]
What it costs
Error correction isn't free. Those recovery codewords take up room, so the same content at a higher level needs a bigger symbol — more modules across.[2] How much data fits in a given size depends on both the content type and the level you choose.[3]
That matters because, at a fixed print size, more modules means smaller modules, and small modules are the main reason codes fail at a distance. So a higher level is a trade: more tolerance for damage, a little less tolerance for distance and poor focus. If your code will sit behind glass on a clean wall, M or even L gives you bigger, easier modules. If it will ride on a delivery box, Q earns its keep.

What error correction can't fix
Here's the part most explanations skip. Reed–Solomon protects the data region of the code — not the structural patterns a reader uses to find and orient it.[1] The most important of those are the three big squares in the corners, the finder patterns. Their black-white-black proportions, 1:1:3:1:1, were chosen by DENSO WAVE's engineers because that ratio almost never appears in ordinary printed material, so a reader can spot them instantly at any angle.[4]
If one of those corner squares is wiped out, many readers can't orient the code at all — even if the total damage is tiny and well within the error-correction budget.[1] The same goes for the code's format information, though the format protects that by storing it twice.[1]
Practical consequences:
- Never put a logo, sticker or design element over a corner square. Our generator keeps logos in the center for that reason.
- Leave the quiet zone blank. Text or borders butting up against the code confuse the finder search.
- Scattered damage is easier than one big blot of the same total size in the wrong place.
How our generator uses it
- Default is M, the everyday choice.
- Add a logo and we switch to H and lock it there, because a logo deliberately hides modules and H gives the decoder the most room to rebuild them.[1]
- The preview shows the result — version, module count and level — so you can see what each level costs. Switch from M to H on a long link and watch the module count jump.
- The scan check decodes your actual design, so you're not relying on the percentages alone.
Choosing in ten seconds
Short content, clean surface, no logo: M. Lots of data, screen only: L. Outdoor or rough handling: Q. Logo, or the harshest conditions: H. Then print a proof and scan it where it'll live.
