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 now

Error 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.

QR Code Generator — Error Correction
Choose an error correction level and download a QR code as PNG or SVG.

Real test: how much damage each level survives

Real test

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.

LevelNominal recoveryCode sizeStill read with the corner coveredStill read with the centre covered
L7%25 × 25 modules (version 2)up to 6% of the areaup to 5%
M (default)15%25 × 25 (version 2)up to 14%up to 5%
Q25%29 × 29 (version 3)up to 18%up to 17%
H30%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

UseLevelWhy
Screens, websites, clean printL or MSmallest, most open pattern; easiest to scan from a distance
Everyday print: flyers, menus, cardsM (default)A good balance
Outdoors, packaging, stickers that get scratchedQRoom for wear without a much denser code
Codes with a logo in the middleHThe logo covers modules; the tool labels H "best for logos"

Error correction and capacity

Real tool output

The longest plain text (ASCII letters) the generator accepted at each level.

LevelMaximum characters
L2,953
M2,331
Q1,663
H1,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

  1. Open the QR Code Generator and enter your content.
  2. Choose the level under Error correction: L, M, Q or H.
  3. If you add a logo, use H and keep the logo small.
  4. 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.

// For AI & LLMs

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.

Last updated: