QR.technology Free · Private · No sign-up
// learn · formats

QR code PNG vs SVG

Use SVG for print, PNG for digital — most of the time. One is a vector that scales forever; the other is a fixed grid of pixels. Knowing which to download saves you blurry signage and oversized files. Here's the breakdown.

Reading time ~4 minExport formats

PNG — a grid of pixels

A PNG is a raster image: a fixed grid of pixels at a set resolution. It's universally supported — every app, browser, email client, and document handles it without fuss. The catch is that it has a fixed size. Enlarge a PNG beyond its native resolution and the modules turn soft and jagged, which scanners dislike. Export at the resolution you actually need (this generator goes up to 4,096 px) and PNG is excellent for digital use.

SVG — math, not pixels

An SVG is a vector: the code is described as shapes and coordinates rather than pixels. It renders perfectly sharp at any size — a business card or a building wrap — with no resolution ceiling and tiny file size for a simple QR pattern. The trade-off is compatibility: SVG is ideal for design tools (Illustrator, Figma, InkScape) and modern web, but some basic apps and older software won't open it directly.

Side by side

 PNGSVG
TypeRaster (pixels)Vector (shapes)
Scales without blurNoYes, infinitely
Best forWeb, slides, emailPrint, signage, large format
CompatibilityUniversalDesign tools & web
Editable in design appsLimitedYes
File size (a QR pattern)Grows with resolutionSmall & fixed

What about JPG, PDF, and EPS?

PNG and SVG are the two you'll use most, but you may meet others:

  • JPG/JPEG — avoid for QR codes. It's a lossy format that adds compression artifacts and fuzz around the sharp edges of the modules, which can hurt scanning. PNG is lossless and a far better raster choice.
  • PDF — useful when handing a code to a printer, since it can wrap a vector at an exact physical size. Good for professional print workflows.
  • EPS — an older vector format some print shops still request. Like SVG, it scales cleanly; SVG is the more modern equivalent.

In short: PNG for everyday digital use, SVG for scaling and design, a vector PDF or EPS only when a printer specifically asks — and never JPG.

Which to choose

Choose SVG for anything printed or resized: posters, packaging, signage, vehicle wraps, or any layout in a design tool. It will be razor-sharp at every scale and easy to recolor. This is the safer default for professional print work.

Choose PNG when you need a ready-to-use image at a known size: a website graphic, a social post, a slide, or an email — places where universal compatibility matters more than infinite scaling. Just export it large enough for its use; see sizes and print resolution.

Rule of thumb

If it will be printed or might be resized, take the SVG. If it's going on a screen at a fixed size, the PNG is simpler. When unsure, the SVG keeps your options open.

Export PNG or SVG, free

Generate your code and download a sharp PNG up to 4,096 px or a scalable SVG — your choice, in one click.

Open the generator

Frequently asked questions

Should I use PNG or SVG for a QR code?

SVG for anything printed or resized — it stays sharp at any size. PNG for fixed-size digital uses like web images, slides, and email, where universal compatibility matters.

Why does my PNG QR code look blurry when enlarged?

PNG is a fixed grid of pixels; scaling it beyond its native resolution softens the modules. Export at the size you need, or use an SVG that scales without loss.

Is SVG better for printing?

Yes. As a vector it prints crisply at any dimension, from a business card to a billboard, with no resolution limit and a small file size.

Can every app open an SVG?

Not all. Design tools and modern browsers handle SVG well, but some basic or older apps don't. Use PNG when you need guaranteed compatibility.