capyQR
← All posts

PNG vs SVG vs PDF for QR codes: which to use when

A 90-second decision guide so you stop second-guessing the export button.

·5 min read

The 90-second version: use SVG or PDF for anything printed, PNG only for on-screen use at a fixed size. Here's why that's the rule, not just a preference.

The core distinction: vector vs. raster

SVG and PDF are vector formats — they store the QR code as mathematical shapes, which scale to any size with perfectly sharp edges. PNG is raster — a fixed grid of pixels. Scale a PNG beyond its native resolution and it blurs or pixelates, which is exactly what causes scan failures on a large poster or banner.

When to use each

  1. SVG — for print or further editing. Vector, scales infinitely, and most design software (Illustrator, Figma, Canva) opens it natively for further edits.
  2. PDF — for print, especially through a print shop. Also vector, and it's the format most print vendors expect by default for production.
  3. PNG — only for fixed-size screen use. A website, an email signature, a social post — anywhere the code will display at one known size and never be resized.

What goes wrong if you pick the wrong one

Build yours in the editor → capyqr.com

How Capy QR handles this

Every Capy QR code exports as PNG, SVG, or PDF for free, no watermark — pick SVG or PDF whenever the code is headed to print. See best PDF QR code generators for more on vector export specifically.

A vector-ready code

Here's a Capy QR exported as clean vector — the kind that stays sharp at any print size:

A Mono-preset QR — maximum contrast, exported as true vector SVG or PDF.

Frequently asked questions

Should I export my QR code as PNG, SVG, or PDF?
SVG or PDF for anything printed — both are vector and scale to any size without quality loss. PNG is fine only for on-screen use (a website, an email, a social post) at a fixed size.
What's the difference between vector and raster for a QR code?
Vector (SVG, PDF) stores the code as scalable shapes, so it stays sharp at any size. Raster (PNG, JPEG) stores a fixed grid of pixels — scale it up beyond its native resolution and it blurs, which can cause scan failures on large prints.
Is SVG or PDF better for print?
Both are vector and scale identically. PDF is the format most print shops expect by default. SVG is more common for web and design-software workflows. Export both if you're not sure which your printer wants.
When is PNG actually the right choice?
For anything staying on screen at a known, fixed size — a website favicon-adjacent use, an email signature, a social media post. Never use PNG for anything that will be printed or resized.
Does file format affect how well a QR code scans?
Not directly — what matters for scanning is contrast and size relative to distance. But a raster file scaled beyond its native resolution can introduce blur that indirectly causes scan failures, which vector formats avoid entirely.

Bottom line: vector (SVG/PDF) for print, raster (PNG) only for fixed-size screen use — that's the whole decision. Ready to export one? Open the editor or browse more QR guides.