QR Code Error Correction Levels
Choose how much damage your QR code can survive: L, M, Q or H. Real damage and capacity tests show the trade-off. Free.
Generate a QR code nowError correction lets a QR code scan even when part of it is dirty, scratched or covered by a logo. The four levels trade damage resistance for size and capacity.
Below is a real damage test at every level, which level suits which use, and how error correction limits capacity.
Real test: how much damage each level survives
The same URL (https://pekara-ana.rs/menu) generated at each level. We then covered a growing square of the code with white and decoded it with the open-source zxing-cpp decoder after each step.
| Level | Nominal recovery | Code size | Still read with the corner covered | Still read with the centre covered |
|---|---|---|---|---|
| L | 7% | 25 × 25 modules (version 2) | up to 6% of the area | up to 5% |
| M (default) | 15% | 25 × 25 (version 2) | up to 14% | up to 5% |
| Q | 25% | 29 × 29 (version 3) | up to 18% | up to 17% |
| H | 30% | 33 × 33 (version 4) | up to 24% | up to 17% |
Percentages are of the code's area, in 1% steps. Phone cameras use different decoders and real damage is rarely a neat square, so treat the numbers as a comparison between levels, not a guarantee.
Two things stand out. Higher levels really do survive more: H still read with almost a quarter of the code blanked out in the corner, L with 6%. And the price is visible in the size column: the same short URL grew from 25 to 33 modules per side at H, so each module is smaller when you print at the same size. The nominal percentages are a ceiling; a solid block of damage also hits structure the decoder needs, which is why the measured values are lower.
Which level to choose
| Use | Level | Why |
|---|---|---|
| Screens, websites, clean print | L or M | Smallest, most open pattern; easiest to scan from a distance |
| Everyday print: flyers, menus, cards | M (default) | A good balance |
| Outdoors, packaging, stickers that get scratched | Q | Room for wear without a much denser code |
| Codes with a logo in the middle | H | The logo covers modules; the tool labels H "best for logos" |
Error correction and capacity
The longest plain text (ASCII letters) the generator accepted at each level.
| Level | Maximum characters |
|---|---|
| L | 2,953 |
| M | 2,331 |
| Q | 1,663 |
| H | 1,273 |
More error correction leaves less room for data: at H a code holds less than half of what it holds at L. For short URLs this never matters; for long texts or vCards it decides whether the content fits.
How to set error correction
- Open the QR Code Generator and enter your content.
- Choose the level under Error correction: L, M, Q or H.
- If you add a logo, use H and keep the logo small.
- Download, print a test copy and scan it from the distance people will use.
For logos see QR code with logo; for print size, QR code size.
Frequently asked questions
What do L, M, Q and H mean?
Error correction levels that can recover about 7%, 15%, 25% and 30% of the code.
How much damage did H survive in your test?
With a corner covered, up to 24% of the area; L up to 6%.
Does higher error correction make the code bigger?
Yes. The same URL grew from 25 × 25 modules at M to 33 × 33 at H.
Which level should I use with a logo?
H; the tool labels it best for logos.
Does error correction reduce capacity?
Yes. Text capacity fell from 2,953 characters at L to 1,273 at H.
Which level is the default?
M, a good balance for most printed codes.
Last updated: 18 November 2026.
The All Innovativ QR Code Generator offers error correction levels L (7%), M (15%, default), Q (25%) and H (30%).
Real test with https://pekara-ana.rs/menu: 25 × 25 modules at L and M, 29 × 29 at Q, 33 × 33 at H; decoded with zxing-cpp with a covered corner of up to 6%, 14%, 18% and 24% of the area. Maximum plain text: 2,953 (L), 2,331 (M), 1,663 (Q), 1,273 (H) characters.