QR Generation and Decoding: Error Correction and Real Scans

Open Tool QR Code Generator and Reader

Two sides of one tool

A QR code encodes data into a black-and-white matrix with redundant error correction so partial damage still decodes. Generation exposes error level from L at roughly seven percent to H at thirty, where higher levels tolerate more obstruction at the cost of density, plus module count, quiet zone, and foreground and background colours. The quiet zone is mandatory white margin, and below four modules many scanners simply give up, while weak colour contrast destroys readability. Decoding takes a screenshot and shows the payload in the result box.

Steps

  1. Enter content: a URL, text, phone number or WiFi string.
  2. Fill the example to see standard syntax, then adapt it.
  3. Set error level: Q or H for print, M is enough on screen.
  4. Set module count and quiet zone, larger for posters, moderate for cards.
  5. Generate, then download PNG for compositing or SVG for print.
  6. Verify by feeding the downloaded file back in and decoding it.

Correction, quiet zone, colour

Higher correction is not automatically better, since H raises density and smears at small print sizes; cards and stickers do well with Q while outdoor posters take H. The quiet zone must stay white, four modules is the floor, and cropping to the border is the top failure. Keep foreground dark on light background, as inverted codes only work in some scanners. Module count and physical size differ: pixels plus print dpi decide sharpness, and 300 pixels across five centimetres is about 150dpi, barely enough. Content length raises density exponentially, so shorten long links first.

Common mistakes

Cropping away the quiet zone. Stuffing long content until modules blur. Light foregrounds with poor contrast. Inverting colours. Placing codes on dark backgrounds where edges merge. And shipping without an actual scan test.

Where static codes fall short

These are static codes whose payload cannot change, so edits require regenerating and replacing every placement; dynamic codes with tracking need a service. Decoding struggles with blur, glare and curved surfaces, where industrial readers belong. Payment and identity credentials must come from official issuers, since self-generated codes are invalid and possibly unlawful. And any code-only entry point should offer a manual fallback.

⏫︎