Error correction is what allows a QR code to survive some dirt, print damage, distortion, or visual customization and still scan successfully.
A QR code includes recovery data in addition to the main payload. If part of the code is damaged or hidden, the scanner may still reconstruct the original content. More error correction means more recovery potential, but it also increases data density.
| Level | Approximate recovery | Typical use |
|---|---|---|
| L | About 7% | Very clean environments and simple codes |
| M | About 15% | General-purpose everyday QR generation |
| Q | About 25% | More demanding print or light customization |
| H | About 30% | Logo overlays and harsher real-world conditions |
If you add a logo, rounded modules, gradients, or other visual styling, error correction becomes more important because some usable data area may be reduced. But styling should still be conservative. Error correction helps, it does not excuse poor contrast or bad sizing.