QR codes 6 min read

PNG or SVG for a QR code: which format should you choose?

Comparison of a blurred raster QR code and a sharp vector QR code

The file format matters more than it seems. PNG is convenient for quick use, while SVG is better for print, design work, and scaling without blur.

When people create a QR code, they usually focus on the content first: a link, WiFi password, contact, or event. The file format often feels like a detail. But the format decides whether the QR code stays sharp on a business card, works in a design file, and remains easy to scan after printing.

The two formats you will see most often are PNG and SVG. Both are useful, but they are not meant for the same job.

Short answer

Use PNG if:

  • you want to place the QR code in a document, email, or presentation,
  • you need to send someone a quick preview,
  • the code will be used at a small or medium size,
  • it is not going to professional print.

Use SVG if:

  • the QR code will be printed on a business card, flyer, poster, or package,
  • a designer will place it into artwork,
  • the code may need to be enlarged,
  • you want the sharpest result at any size.

If you are not sure, download both. In the QR code generator, you can create a QR code and download it as PNG or SVG: use PNG for quick checks and SVG for design or print.

What PNG is

PNG is a raster image. It has a fixed number of pixels. If you use it at its original size or smaller, it can look perfectly sharp. If you enlarge it too much, it starts to blur.

Advantages of PNG:

  • wide support,
  • simple to use,
  • good for websites and everyday documents,
  • lossless compression,
  • transparency support.

The disadvantage is clear: if you export a small PNG and then place it on a large poster, the QR code may lose sharpness. With QR codes this is a bigger issue than with ordinary photos, because scanners need clean module edges.

What SVG is

SVG is a vector format. Instead of storing a fixed grid of pixels, it describes shapes. That means it can scale to a business card, poster, or large banner without blurry edges.

Advantages of SVG:

  • sharp at any size,
  • suitable for design software,
  • lower risk of blur in print,
  • easy to place inside vector artwork.

The disadvantage is compatibility. Some office apps, older systems, or simple upload forms may not handle SVG as comfortably as PNG.

Why not use JPG for QR codes?

JPG is a good format for photos, but not for QR codes. It uses lossy compression, which can create blurry edges or small artifacts. Your eye may not notice them immediately, but a scanner can.

For QR codes, use PNG or SVG instead.

What format should you send to a designer?

If you are preparing printed material, send the designer:

  • the SVG file,
  • the target URL or text for checking,
  • a note that the quiet zone around the code must stay clear,
  • a note that the code must not be distorted,
  • ideally a PNG preview too.

A designer should not stretch the QR code in only one direction, skew it into perspective, blur it, place it on a busy background, or crop its edge.

Practical tip

Need a QR code?

Create your own QR code in seconds, completely free.

How to choose in practice

Website or email: PNG is fine.
Downloadable PDF: PNG is usually enough, SVG is better if the PDF will be printed.
Business card: SVG.
Flyer or poster: SVG.
Sticker: SVG, followed by a real print test.
Social media: PNG.
Internal document: PNG.

The most important rule is simple: the QR code must stay sharp and high-contrast in its final use, not only in the file you downloaded.

Frequently asked questions

Is SVG always better for QR codes?

Not always. SVG is technically better for scaling, but PNG is more convenient when you need a finished image without further design work.

Can I use SVG in Word or PowerPoint?

In many modern versions, yes. If you are not sure about compatibility, use a high-resolution PNG.

Is a screenshot of a QR code enough?

For a quick personal check, yes. For print, no. A screenshot may have low resolution, blurry edges, and worse readability after resizing.

What size should a QR code be for print?
QR codes 7 min read

What size should a QR code be for print?

A QR code on a business card, flyer, and poster cannot use the same size. The right size depends on scanning distance, code density, print quality, and contrast.

Read more
Why a QR code is not working and how to fix it
QR codes 7 min read

Why a QR code is not working and how to fix it

Cannot scan a QR code? The most common causes are weak contrast, missing quiet zone, small size, blurry print, or too much data.

Read more
How to create a vCard QR code for a business card
QR codes 6 min read

How to create a vCard QR code for a business card

A vCard QR code lets someone save your contact details without typing your name, phone number, and email by hand. It works well on business cards, flyers, and email signatures.

Read more