A QR code is a two-dimensional barcode that a phone camera can read in a fraction of a second. It can hold a web address, plain text, a Wi-Fi login, a contact card or an e-mail draft. A code that fails to scan is worse than no code at all, so a few design rules are worth knowing.
Keep the content short
The more data a QR code holds, the denser its pattern becomes and the harder it is to read from a distance. A short web address produces a clean, coarse pattern. If your link is long, use a short, clean address on your own site that redirects to the final page.
Contrast and colours
Scanners look for dark modules on a light background. Black on white is the safest. Dark blue or dark green on white also works, but inverted codes (light on dark) fail on many older scanner apps, and low-contrast colour combinations fail even more often. Always leave a quiet zone, an empty margin of at least four modules, around the code.
Size and distance
A rule of thumb is that the code should be at least one tenth of the scanning distance. A code scanned from 50 cm should be about 5 cm wide; a poster read from 3 metres needs a code roughly 30 cm wide. Print at a resolution that keeps the edges sharp, and prefer vector formats such as SVG for print jobs.
Error correction and logos
QR codes include error correction at four levels (L, M, Q and H) that let a code stay readable even if part of it is dirty or covered. Higher levels allow you to place a small logo in the centre, but they also make the pattern denser. Use level M for most cases and H only when you add a logo.
Test before you publish
Scan the finished code with at least two different phones and from the real distance before you print hundreds of flyers. Check that the destination page works on mobile and does not require a login the visitor does not have.
Safety
Treat a QR code like any link. Do not scan codes stuck over other codes in public places, and look at the address your phone shows before you open it.
Static or dynamic codes?
A static QR code stores the content directly in its pattern. It works without any service behind it, never expires and cannot be changed after printing. A dynamic code stores a short redirect address run by a provider, so the destination can be changed later and scans can be counted. The trade-off is dependence: if the provider shuts down or you stop paying, every printed code stops working.
For a business card, a Wi-Fi sign or a link you control, a static code is usually the better choice. If you need a stable printed code with a destination that may change, point the code at a short address on your own domain and manage the redirect yourself. You keep the flexibility without tying your printed material to somebody else's subscription.
Matching the code type to the job
A QR code is more than a web link. The format of its content tells the phone what to offer the user:
- Website address: opens the browser. Always include https:// so that scanners treat it as a link.
- Wi-Fi: contains the network name, security type and password, so guests can join without typing.
- vCard: saves a name, phone number and e-mail address as a contact.
- E-mail or SMS: opens a pre-filled message, useful for feedback or sign-up campaigns.
- Calendar event: adds a date and place to the user's calendar.
Remember that a Wi-Fi code contains your password in readable form. Anyone who photographs it can recover the password, so use a separate guest network for codes displayed in public.
Printing without problems
Screen previews hide many printing issues. Keep these points in mind before sending a file to a print shop:
- Prefer a vector format such as SVG for print, because it stays sharp at any size.
- Leave the quiet zone, a clear margin of about four modules around the code. Cutting it away is a common reason for failed scans.
- Avoid glossy, curved or textured surfaces where reflections or bending distort the squares.
- Print a real proof at final size and test it under the lighting where it will be used.
- Do not place the code across a fold, a staple or the edge of a page.
Where people will actually scan it
Think about the moment of scanning. A code on a train platform poster may need to be scanned from several metres, while one on a table tent is only a hand's length away. Consider phone signal too: a code in a basement, a lift or on the underground leads to a page that may not load. Tell people what they will get with a short line such as "Scan to see the menu". A bare code with no explanation is ignored more often and looks less trustworthy.
The page behind the code
The scan is only the first step. The destination should load quickly on a mobile connection and be readable on a small screen without zooming. Sending people to a full desktop site's home page wastes the moment; take them directly to the menu, the form or the product. Do not change the page structure later without keeping the old address alive, because printed codes can stay in circulation for years.
A brief final test
Before a large print run, try the code with at least two different phones and two scanning apps, including an older device if possible. Scan it in low light and from the longest distance you expect. Confirm the destination, and read the address the phone shows before you tap. This takes five minutes and can save an entire batch of printed material.