PNG or SVG? Choosing a file format for your QR code
The same QR code can be saved as a grid of pixels or as a set of shapes. The right choice depends on where the code is going next.
What each format is
PNG is a raster image: a fixed grid of pixels. It opens everywhere, from email and messaging apps to slides, websites and print-on-demand services. It does not scale up cleanly. Enlarge it too far and the edges soften.
SVG is a vector format: it describes shapes mathematically, so it stays sharp at any size. It is the better choice for print layouts and design tools such as Illustrator, Affinity, Inkscape and Figma. Some simple apps and upload forms do not accept it.
How big can a PNG be printed?
Print resolution is usually measured in dots per inch (DPI). For sharp results, print shops typically ask for around 300 DPI. Divide the image width in pixels by the DPI to get the maximum print width in inches.
QR Sticker's PNG export is 1600 pixels wide. At 300 DPI that is about 5.3 inches, or 13.5 cm. That is more than enough for stickers, cards, labels and flyers. For a larger poster or banner, use SVG.
QR codes are more forgiving than photographs because they are made of hard-edged squares. A slightly lower DPI may still scan well, but it can look soft. Sharp edges are part of what makes a code read quickly.
Quick decision guide
- Sharing in a chat, email, slide or social post: PNG.
- Uploading to a website or a print-on-demand store that wants an image: PNG.
- Placing in a print layout, packaging dieline or signage file: SVG.
- Anything larger than about 13 cm: SVG.
- Not sure what the printer accepts: ask for their preferred format, and send SVG when they take vector files.
Avoiding common file problems
- Do not stretch the code unevenly. Scale it proportionally so modules stay square.
- Do not re-save a PNG as a compressed JPEG. Compression artefacts blur the module edges.
- Do not screenshot a code to reuse it. Screenshots are often low-resolution and may include scaling blur.
- When placing an SVG, check that the design tool has not added an outline or changed colours.