How a QR code for a link works
A link QR code stores the web address itself, written as a pattern of black and white squares called modules. A phone camera decodes the pattern and offers to open the address. Nothing sits in between: the code doesn't pass through a server, so it can't expire, can't be switched off and doesn't record who scanned it. The flip side is that it can't be edited once printed.
The format comes from Denso Wave, then a division of Japan's Denso Corporation that made barcode readers, which announced it in 1994. A small team led by Masahiro Hara designed it to hold far more than the roughly 20 characters a barcode could, and to be read fast, which is where “Quick Response” comes from. The auto industry was an early adopter, using it in electronic kanban systems to manage parts from production through shipping, and Denso Wave chose not to enforce its patent, which is a big reason the codes are everywhere today.
Why longer links make denser codes
QR codes come in 40 sizes called versions. Version 1 is a grid of 21 × 21 modules, and each version adds 4 modules per side, up to 177 × 177 at version 40. The generator picks the smallest version that fits your content, and the preview shows which one you got.
| Link | Characters | Version | Grid |
|---|---|---|---|
| https://example.com | 19 | 2 | 25 × 25 |
| https://example.com/menu | 24 | 2 | 25 × 25 |
| A link with three tracking parameters | 91 | 6 | 41 × 41 |
Fewer, larger modules scan faster and from farther away. Before you print, strip tracking parameters you don't need, or point the code at a short, clean address on your own site, which the Slug Generator can help you name.
Error correction levels explained
Every QR code carries backup data, so it still scans when part of it is scratched, smudged or covered. The higher the level, the more damage it survives, but the backup takes space, so the code gets denser.
| Level | Can restore about | Good for |
|---|---|---|
| L (Low) | 7% of the code | Long content printed on clean paper |
| M (Medium) | 15% | Most uses; the usual default |
| Q (High) | 25% | Outdoor signs, packaging, anything handled a lot |
| H (Highest) | 30% | Codes likely to get dirty, worn or partly covered |
Example: The 91-character tracking link at each level
- Low: version 5 (37 × 37)
- Medium: version 6 (41 × 41)
- High: version 8 (49 × 49)
- Highest: version 9 (53 × 53)
Going from Medium to Highest adds 12 modules per side, so print it larger to keep it easy to scan.
How big to print a QR code
A common rule of thumb is that a code scans comfortably from about ten times its width. Treat it as rough guidance: dense codes, dim light, glossy surfaces and older phones all need more size. Always leave the quiet zone, a clear margin four modules wide on every side. Downloads from this page already include it, so don't crop it off or let text crowd into it.
| Where it's scanned | Typical distance | Rough minimum width |
|---|---|---|
| Business card, table tent | 25 cm (10 in) | 2.5 cm (1 in) |
| Flyer on a notice board | 50 cm (20 in) | 5 cm (2 in) |
| Poster in a hallway | 1 m (3.3 ft) | 10 cm (4 in) |
| Shop window or banner | 3 m (10 ft) | 30 cm (12 in) |
Colors and contrast that still scan
Scanners look for dark modules on a light background. Brand colors are fine as long as the code stays clearly darker than its background. The generator warns you when contrast drops below 3:1, or when the code is lighter than its background, since many phone cameras can't read inverted codes.
| Code color on white | Contrast ratio | Verdict |
|---|---|---|
| Black | 21:1 | Ideal |
| Navy blue (#1F3A93) | About 10:1 | Scans well |
| Mid gray (#999999) | About 2.8:1 | Too faint |
| Bright yellow (#FFD400) | About 1.4:1 | Won't scan reliably |
Rounded and dotted styles keep the three large corner squares solid. Those squares use a 1:1:3:1:1 pattern of dark and light that scanners search for to find the code's position and angle, so they're best left alone.
Static vs dynamic QR codes
The codes made here are static: the link itself is inside the code. So-called dynamic codes contain a short redirect address owned by a service, which forwards visitors to your real page. That lets you change the destination and count scans, but every printed code then depends on that service. If it shuts down or a subscription lapses, the codes on your menus and flyers can stop working.
Want flexibility without the dependency? Point a static code at a page you control, like yoursite.com/menu, and update that page whenever the menu changes. The code never needs reprinting.
Whichever kind you use, run four quick checks before anything goes to the printer:
- Scan with at least one iPhone and one Android phone.
- Test from the real distance, in the real lighting.
- Turn off Wi-Fi and check the page loads on mobile data.
- Print one copy at final size and scan the paper, not the screen.
Other content types work the same way: a Wi-Fi code for guests, or a plain-text code for labels that must work offline.