Back to Blog

How to Make a QR Code That Still Scans on Paper

Utility

A QR code that scans on screen can fail on a printed flyer. Size, error correction, white border and link length decide it; a worked example with numbers.

Making a QR code takes ten seconds. Making one that still scans after it is printed, folded into a pocket and photographed under a café light takes a few decisions most generators never ask about. Here they are in the order they come up, with a flyer as the worked example.

First decide what the code points to

A standard QR code does not link to anything stored somewhere else. It contains the address itself. That has one big consequence: once it is printed, the destination can never change. If that page moves or the domain lapses, every printed copy is dead.

So the rule is to print only an address you control and will keep. For anything that may change, such as this month's menu or a seasonal offer, print a permanent address on your own site, for example example.com/menu, and change what that page shows or where it redirects. The printed code stays valid for as long as the flyer is in circulation.

The QR code generator also makes codes that do not need a web page at all: a Wi-Fi network with its password, a contact card, an email with the subject filled in, a phone number or a text message. A Wi-Fi code on a guest room door is a good example of a code that never goes out of date, as long as the password does not change.

Shorter content means a coarser, easier code

A QR code is a grid of squares called modules. The more characters it holds, the more modules it needs, and at the same printed size, more modules means each one is smaller and harder for a camera to resolve. This is where tracking links cause trouble.

Suppose you want to know how many visitors came from the flyer, so you tag the link with campaign parameters using the UTM link builder. Compare the two versions at the medium error correction level:

  • https://example.com/menu is 24 characters and makes a grid of 25 x 25 modules.
  • The same address with ?utm_source=flyer&utm_medium=print&utm_campaign=spring added is 78 characters and needs 37 x 37 modules.

Printed 2.5 cm wide, the short version gives modules of about 0.86 mm; the tagged one about 0.61 mm, roughly 30% smaller. Both can work, but the tagged code needs to be printed larger for the same reliability. If space is tight, keep the printed address short and add the tracking on your side, for example by having example.com/flyer redirect to the tagged address.

Pick the error correction level on purpose

Error correction lets a scanner read a code that is partly damaged or covered. The generator offers four levels, which can recover roughly 7%, 15%, 25% and 30% of the code. Higher is not automatically better: every level up adds modules. The tagged menu address goes from 37 x 37 modules at medium to 49 x 49 at the high level.

  • Low: codes shown on a screen, where nothing gets scratched.
  • Medium: the default and the right choice for most paper, such as flyers, posters and business cards.
  • Quartile: things that get handled or worn, such as stickers, packaging, table tents and anything outdoors.
  • High: only when something will cover part of the code, like a logo placed over the middle afterwards.

Size, border and contrast

A common rule of thumb for printed size is one tenth of the scanning distance. Someone holding a flyer at about 25 cm needs a code of about 2.5 cm; a poster read from 2 meters needs about 20 cm. Below roughly 2 cm, scanning gets unreliable on many phones, so treat that as a floor for anything people hold in their hands.

The white border around the code is part of the code. Scanners use it to find where the code starts. The generator's download includes a narrow white border, two modules wide; the QR standard asks for four. Leave at least that much extra empty space around the code in your layout, and never let text, a frame or a background photo run up to its edge.

Keep the code dark on light. The generator draws it black on white, which is the safest combination there is. Some phone cameras do not read inverted codes, light on dark, and low-contrast brand colors are a frequent reason a printed code fails to scan.

Export for print

Download the SVG for anything printed. It is a vector file, so it stays sharp at any size the designer or the print shop scales it to. The PNG goes up to 1024 x 1024 pixels, which is fine for a document, a slide or a web page, but enlarged to poster size it will blur at the edges of every module.

Test the printed proof, not the screen

A code that scans from your monitor tells you little about the flyer. Print one copy at its real size on the paper you will use. Then take a photo of it from the distance a reader will hold it, in ordinary indoor light, and open that photo in the QR code scanner.

The scanner shows the full address it found, so you can check it is exactly the one you meant, with nothing cut off. It also warns about things that make readers hesitate: a plain http address instead of https, a link shortener that hides the destination, a bare IP address. A printed code that triggers one of those warnings will make careful people hesitate too, so fix it before the print run, not after.

Scan the proof with two different phones as well, ideally an older one. If both read it at arm's length on the first try, send it to print.

The flyer, start to finish

  1. Create a permanent address on your own site, example.com/flyer, that redirects to the tagged menu link.
  2. Generate a URL code for example.com/flyer at medium error correction.
  3. Download the SVG and place it at 3 cm wide with empty space around it.
  4. Print one proof, photograph it at reading distance and check it in the scanner.
  5. Print the run.

The flyer link stays the same for as long as the flyers exist, the code stays small and coarse, and you still see in your analytics how many people scanned it.