What size in pixels should a QR code be?
Updated · By QR ALTRIX
Quick answer
For screens, a QR code should be displayed at 150–300 pixels wide; for printing, export it at 300 pixels per inch of the final size (for example 600 px for a 2-inch code), or better, download a vector SVG or PDF that has no pixels at all. Use a whole-number scale so each module is the same number of pixels and edges stay crisp.
Recommended exports
- Website or email: 300–600 px PNG, shown at 150–300 px.
- Social media post or slide: 1000 px PNG.
- Print up to 10 cm: 1200 px PNG, or SVG/PDF.
- Large print (posters, banners, vehicles): SVG, PDF or EPS only.
Why blurry QR codes fail
When a small PNG is stretched, the edges between modules blur and the scanner cannot tell dark from light. Vector files describe each module as a shape, so a print shop can enlarge them indefinitely. QR ALTRIX exports PNG, JPEG and WebP up to 4096 px and vector SVG, PDF and EPS.
Frequently asked questions
Is JPEG OK for QR codes?
It works, but JPEG compression can smudge edges. PNG or SVG is better.
What DPI should a QR code be?
At least 300 DPI at the printed size, or use a vector format.