What is a QR code?
A QR code encodes text, URLs, and other information into a black-and-white block pattern that a phone camera can scan to restore the content.
The longer the content, the denser the pattern and the more modules. The same content also becomes denser at a higher error correction level.
How to choose the error correction level?
The error correction level decides whether the code can still be scanned when partially blocked or worn: L about 7%, M about 15%, Q about 25%, H about 30%.
- On-screen display in a clean environment → M is usually enough
- Printed, possibly worn, or stuck onto textured surfaces → choose Q or H
- Overlaying a logo in the center of the code → H is the safer choice
What is the margin (quiet zone)?
A QR code needs a ring of whitespace around it so scanners can identify its boundary accurately. This ring is called the quiet zone.
Keep a margin of 2–4 modules. Setting the margin to 0 and placing the code flush against other graphics may make it unscannable.
Colors and contrast
QR codes are recognized through light-dark contrast: the foreground (modules) should be darker than the background. Stronger contrast is more reliable.
A light foreground on a dark background, or insufficient contrast between the two, may fail on some scanners. Keep a dark foreground + light background.
Download PNG or SVG?
PNG: fixed pixels, suitable for sending directly in chat apps or inserting into documents. Choose a larger size if you need to enlarge it.
SVG: vector format that never blurs when enlarged, suitable for printing or design layouts.
URL, text, and batch generation
The main interface has three independent sections: URL link, text generation, and batch generation. Each keeps its own input, without interfering with the others.
- URL link: enter a full URL that opens directly after scanning, with a live preview on the right
- Text generation: encodes arbitrary text, supporting Chinese and line breaks
- Batch generation: one item per line, generates multiple QR codes at once, downloadable one by one or packaged as a ZIP