Printing
QR codes in print: how to print a QR code that always scans
Printing a QR code is simple until it isn't: a fuzzy PNG, a code trimmed into its margin or a glossy finish that glares can stop it scanning. This is the checklist we use, from file format to stickers, signs and 3D prints.
By Armaghan Abdul Qayyum · Updated · 8 min read
To print a QR code that scans reliably, use a vector file (SVG or PDF), print it dark on a light background at 100% scale, make it at least 2 cm (0.8 in) wide for close-up items and about a tenth of the scanning distance for signs, keep a blank margin of four modules around it, and scan a test print on two phones before printing the full run. The rest of this guide explains each step and the special cases: stickers, curved packaging, fabric and 3D printing.
1. Choose the right file format
| Format | Use it for | Watch out for |
|---|---|---|
| SVG | Print design (Canva, Illustrator, InDesign, Affinity), signs, packaging | Some office apps import SVG poorly; use PDF there |
| Sending to a print shop, Word and PowerPoint layouts | Don't let the app rasterise it at low resolution | |
| EPS | Older print workflows that ask for it | Convert from SVG or PDF; most shops now accept PDF |
| PNG | Quick prints from a home printer | Needs about 300 pixels per inch (118 per cm) of printed width |
| JPEG | Avoid for print | Compression softens edges and adds noise around the squares |
The free QR code generator downloads SVG, PDF, PNG and JPEG. If an old file looks soft or fuzzy, our guide to blurry QR codes explains why, and why you should remake it rather than sharpen it.
2. Get the size right
- Close-up items (business cards, labels, receipts, packaging): at least 2 cm (0.8 in) wide, including only the code, not the margin.
- Posters and signs: about one tenth of the scanning distance. A sign read from 2 m needs a code about 20 cm wide.
- Long links need bigger codes. More characters make more, smaller squares. Our QR code size calculator counts the real squares in your code and gives the minimum print size for your distance.
Our full table of sizes by distance is in QR code size for printing.
3. Keep the quiet zone
The QR code standard, ISO/IEC 18004, asks for a blank border at least four modules wide on every side. Scanners use it to find where the code starts. Most print problems with the quiet zone happen at the last step: a designer crops the white border to save space, a guillotine trims into it, or a sticker, staple or fold lands on it. Leave the margin in the layout and tell the printer it's part of the code.
4. Colours and inks
- Dark code, light background. Black on white is safest. Dark colours on light ones work too, as long as the contrast is strong. Light codes on dark backgrounds fail on some older scanner apps.
- Use 100% black (K) for the code, not rich black made of four inks. On a press, four plates are never perfectly aligned, and small squares come out with coloured, fuzzy edges.
- Avoid metallic and fluorescent inks for the code itself. They reflect light unevenly, which confuses cameras.
- Logos and colours are fine if they leave enough contrast. See QR code design best practices and QR code with logo.
5. Paper, finishes and materials
| Material | What to know |
|---|---|
| Uncoated paper | Ink spreads a little, so squares grow. Print the code a bit larger and keep the link short |
| Matte or silk coated paper | The safest choice: sharp edges and no glare |
| Gloss paper or gloss laminate | Can reflect lights straight into the camera. Matte or soft-touch laminate is better for signs and menus |
| Card for table tents | 160–300 gsm stays upright and survives wiping. Our printable templates include a folding table tent |
| Clear or coloured plastic | Print a solid white layer under the code so it doesn't take the colour of whatever is behind it |
6. QR code stickers
- Include the quiet zone inside the sticker. A die-cut sticker trimmed tight to the code often fails.
- For outdoor stickers, use vinyl with a UV-resistant laminate, or the code fades and the contrast goes.
- On bottles, cups and tubes, keep the code small enough that it sits on a gentle part of the curve. If it visibly wraps around the surface, make it smaller or move it to a flatter spot, and test it on the real object.
- For shop windows, print on the inside face with a white backing, so the code reads from outside with no reflection behind it.
- Public stickers can be covered by fake ones, a scam called quishing. Check your codes regularly; see are QR codes safe?
7. 3D printing, engraving and embroidery
A QR code can be 3D printed, laser engraved or stitched, but each one makes edges softer than ink, so give it bigger squares. As a starting point, aim for squares at least 1–2 mm wide, use a short link to keep the code at 21 × 21 or 25 × 25 squares, and make test pieces before the final one.
- 3D printing: change filament colour for the top layers (dark squares on a light base) rather than relying on raised squares of the same colour, which only show up in raking light. A finer nozzle or layer height gives sharper corners.
- Laser engraving: test on the real material. Engraved wood or anodised metal often comes out light on dark, which some scanners struggle with; fill or invert if needed.
- Embroidery and patches: thread can't make sharp square corners, so keep the code as large and simple as possible and test a sew-out.
8. The print-shop checklist
- Send SVG or PDF, not a screenshot or a JPEG.
- Tell the printer the white border is part of the code and must not be trimmed or printed over.
- Ask for the code in 100% black, not rich black.
- Check the code's printed width against the distance people will scan from.
- Ask for a proof at actual size and scan it with an iPhone and an Android phone.
- Scan the first copies off the press, in the lighting where they'll be used.
- Keep the link or the page behind it working for as long as the print is in use.
Static or dynamic for print?
Print can't be edited, so decide what the code holds before you send it. A static code stores the link itself and never expires, which is ideal when the page won't move. A dynamic code stores a short link you can point somewhere new after printing, which suits menus, catalogues and packaging with a long shelf life. Make sure the service keeps dynamic codes running: our test of 20 free QR code generators found many that switch them off when a plan ends, while EndureQR's dynamic codes keep working even if you cancel. More in static vs dynamic QR codes.