Skip to content
StylQR home
QR Code Design

PNG vs SVG QR Codes: Which Format Should You Choose?

PNG or SVG for your QR code? When each format fits, how they handle print, web and documents, plus where JPG, WEBP and print-ready PDF come in.

By StylQR Editorial TeamPublished 4 min read

StylQR blog cover: PNG vs SVG QR Codes: Which Format Should You Choose?, illustrated with a vector file and an image file compared, with layers on a orange background
Table of contents

Choose SVG for anything printed or resized, and PNG for screens, documents and apps that don't accept vector files. SVG is a vector format, so it stays perfectly sharp at any size, from a sticker to a banner. PNG is a pixel image: perfect at the size you downloaded it, blurry if you stretch it.

Below is a side-by-side comparison, which format to use for common jobs, and where JPG, WEBP and PDF fit in.

How PNG and SVG store a QR code

A PNG stores a grid of pixels. A 1,000 px PNG of a QR code is a fixed 1,000 × 1,000 image. Shown or printed at its native size, it's crisp. Enlarge it and each pixel becomes a bigger block, edges soften, and the printer has to invent the detail in between.

An SVG stores instructions: draw a square here, a rounded square there, fill this color. Your screen or printer draws those shapes at whatever size you ask for, using its own full resolution. There's no "native size" to outgrow.

For a QR code, where every edge between modules is data, that difference matters more than it does for a photo.

Side-by-side comparison

PNGSVG
TypeRaster (pixels)Vector (shapes)
Sharp when enlargedNoYes
Best forScreens, documents, social postsPrint, signage, design software
Transparent backgroundYesYes
Works in Word, Google Docs, slidesYes, everywhereVaries by app and version
Works in Illustrator, InDesign, Figma, InkscapeYes, as an imageYes, and editable
Recolor laterHard without halosEasy in a vector editor
File sizeGrows with pixel sizeSmall and constant
Embed on a websiteYesYes, as a file or inline code

When to use PNG

  • Office documents and slides. Word, PowerPoint, Google Docs and Slides all handle PNG without fuss. See how to create a QR code for presentations for slide tips.
  • Social media and messaging. Platforms accept PNG and JPG, not SVG.
  • Email signatures and simple web pages. PNG displays everywhere.
  • Print, when it's all you can use. Download at the full print size. StylQR exports PNG up to 4096 px, which covers about 34.7 cm (13.6 inches) at 300 DPI.

The rule with PNG is to download it at the size you need, or larger, and never enlarge it afterwards. How to create high-resolution QR codes for printing has the pixel maths.

When to use SVG

  • Anything going to a printer. Flyers, posters, packaging, labels, menus and signs.
  • Designers' layouts. Placing the code in Illustrator, InDesign, Figma, Affinity, Inkscape or Canva keeps it vector all the way to print.
  • Large-format work. Banners and window graphics where a PNG would need an enormous pixel size.
  • Websites that scale. An SVG stays sharp on high-density screens at any zoom.

StylQR also lets you copy the SVG code or an HTML embed snippet, which is handy for dropping a code straight into a web page.

What about JPG, WEBP and PDF?

StylQR offers these too, and each has a place:

  • JPG is fine for social posts that need it, but its compression adds faint artifacts around sharp edges and it has no transparency. Prefer PNG for codes.
  • WEBP is a modern web format with small files. Good for websites; less supported in print and office software.
  • Print PDF is a vector PDF at an exact size, with bleed and crop marks, ready for a print shop. It also comes in layouts for posters, flyers, table tents, business cards, sticker sheets and Avery 5160, L7160 and 22805 labels. If you're printing the code on its own, this is usually the easiest file to send.

Quick decision guide

JobFormat
Poster, banner, window signSVG or print PDF
Flyer or brochure in a design appSVG
Labels and stickersPrint PDF on the label layout
Business cardsSVG in your layout, or the print PDF card layout
Word document or Google DocPNG
SlidesPNG
Instagram or WhatsApp imagePNG or JPG
WebsiteSVG or PNG; WEBP for small files

Getting the files from StylQR

  1. Create your code in the URL QR code generator, or pick a type from all QR code types.
  2. Finish the design and check the scan score.
  3. Run the Test scan.
  4. Download SVG for print and design work, PNG at the size you need for screens and documents, or the print PDF for a ready-to-print file.

You can download more than one format from the same design. The codes are identical, so a PNG on your website and an SVG on your flyer open the same content.

Tip: Keep the SVG as your master file. You can always produce a PNG from it at any size later; you can't get a clean SVG back from a small PNG.

Choosing in one line

Print or resize: SVG or print PDF. Screen or office app: PNG at the right size. Before you send anything to a printer, read how to print QR codes without losing quality, and check the design against QR code design best practices.

Frequently asked questions

Does the file format affect what the QR code opens?

No. PNG, SVG, JPG and PDF versions of the same code contain the same pattern and open the same content. The format only affects sharpness and where you can use the file.

Can I convert a PNG QR code to SVG?

Tracing tools can do it, but the result may have uneven edges. It's quicker and cleaner to generate the code again with the same content and download SVG directly.

Which format should I send to a print shop?

A vector format: SVG if the printer or designer will place it in a layout, or a print-ready PDF at the exact size with bleed and crop marks if the code is the whole piece.

Share this guide