FastQRGen

QR Code Error Correction: L, M, Q and H

Error correction is the repair data inside every QR code that lets it scan even when part of it is dirty, damaged or covered by a logo. Here is what each level does and when to use it.

100% in your browser
Add UTM tags to count scans in Google Analytics (free)

Static QR codes can't count scans by themselves. With UTM tags, every visit from this code shows up in GA4 under that source. How it works

Colors and shape
Start from a preset

Changes colours and shape only. Size, format and error correction stay as they are.

Pro

Which level? A logo switches to H.

Logo

The logo is read by your browser and embedded in the image — it isn't uploaded.

Your QR code appears here as you type
    Size
    Format

    Before printing, scan the code with two different phones. Static codes never expire.

    History Pro

    Pro saves every code and batch in this browser so you can re-export them with a new style or size. Nothing is stored on our server.

    How to use the generator with error correction in mind

    1. Enter your content in the tool above and keep it short. Shorter content leaves more room for repair data without making the code dense.
    2. Decide whether you need a logo. If you upload one, the generator raises error correction to H automatically.
    3. Download an SVG for print, or a PNG or JPG for screens.
    4. Print a test copy at the final size and scan it with two different phones.

    The four levels

    The QR code standard, ISO/IEC 18004, defines four error correction levels. Each one sets how much of the code can be missing or unreadable while it still scans.

    LevelRecovers aboutGood for
    L7%Clean screens and very short content; rarely the best choice for print
    M15%Most everyday marketing codes on paper and screens
    Q25%Small logos and codes used outdoors
    H30%Codes with a logo, and print that may get scuffed, folded or dirty

    The trade-off: protection versus density

    Repair data takes up space. For the same content, a higher level needs more modules, so the code looks busier and each module is smaller at a given print size. QR codes come in sizes from 21 × 21 modules (version 1) up to 177 × 177 modules (version 40), and a QR encoder uses the smallest version that fits the content at the chosen level.

    In practice, this means a code at level H usually needs to be printed a little larger than the same code at level M. The size guide helps you pick a size.

    Which level should you use?

    • Code on a website or slide: M is enough. Screens are clean and sharp.
    • Flyers, menus, cards: M or Q. Paper gets handled, folded and stained.
    • Outdoor signs, stickers, packaging: Q or H. Rain, sun and scratches take their toll.
    • Any code with a logo: H. The logo itself uses up part of the repair budget. The generator sets this for you.
    • Long content such as a vCard: stay with M where possible and keep the content short, because the code is already dense.

    Error correction and logos

    A logo in the middle of a code is, from the scanner's point of view, damage. Level H can rebuild about 30% of the code, which is why logos are possible at all. But scratches, glare and poor light use part of that same budget, so keep the logo well under 30% of the code area.

    Some parts cannot be repaired. The three large squares in the corners, called finder patterns, are how a scanner locates the code, so a logo must never cover them. Read more on adding a logo safely.

    What error correction cannot fix

    • Low contrast, such as a light foreground on a light background.
    • A missing quiet zone: the code needs a clear margin of 4 modules around it.
    • A code printed too small for the distance it is scanned from.
    • A blurry print or a code stretched out of shape.

    For those, the fix is in the design and printing, not in the error correction level.

    Frequently asked questions

    Which error correction level is the best?

    None is best for everything. M suits most codes, Q and H suit print that may be damaged, and H is needed when you add a logo.

    Why not always use level H?

    H adds the most repair data, so the code becomes denser and needs a larger print to scan as easily.

    Does the generator change the level automatically?

    Yes. When you upload a logo, error correction is raised to H automatically.

    Can error correction save a code with poor contrast?

    No. Error correction repairs missing parts of the pattern, but the scanner still needs dark modules on a light background to read it.

    Formats checked against the ZXing conventions, RFC 2426 (vCard 3.0) and ISO/IEC 18004 on 2026-11-06.

    FastQRGen Pro

    Batch up to 500 codes, export up to 2048 px, gradients and history. One-time payment — no subscription, no account.

    24-hour pass

    $4.99

    All Pro features for 24 hours, starting when you first enter the key. Good for one event or one print run.

    Secure payment by Stripe. Your key is shown right after payment and emailed to you. Codes you make keep working forever, with or without Pro. Refunds

    I have a key

    Lost your key?