guide

PNG vs SVG vs PDF for QR Codes: which format to use

Published by Lfcs Softwares · Updated 2026-10-20

Use PNG for web and social media, SVG for anything printed or enlarged because it is vector and stays sharp, and PDF when you need a document or a print-ready file. Always test a proof.

The quick decision

You are…Use
Posting on a website, social media, or in an emailPNG
Printing at any size, or sending to a printer or designerSVG (vector) or a very large PNG
Placing it in a document or sending a print-ready filePDF
Needing a sharp image on a 4K screen or a big display4K PNG

What each one is

Transparent backgrounds

PNG and SVG can have a transparent background, which lets you place a code on a colored surface. Make sure the dots still have strong contrast against whatever sits behind them, or the code may fail. See QR Code colors and contrast.

What to send a printer

  1. Ask which formats they accept.
  2. If they accept vector, send the SVG.
  3. If they want an image, send the largest PNG you have.
  4. Tell them the final printed size, and ask for a proof.

In StyloQR

The StyloQR Chrome extension exports single codes as PNG, 4K PNG, SVG, and PDF, all in the free plan. Batches download as a ZIP of PNGs. Related: best QR Code size for print.

Frequently asked questions

Is SVG better than PNG for a QR Code?

For print at any size, yes: SVG is vector and stays sharp. For web and social media, PNG is simpler and works everywhere.

Does StyloQR export SVG?

Yes. Single QR Codes can be exported as PNG, 4K PNG, SVG, or PDF.

Try StyloQR free

Install the Chrome extension. Single QR Codes are free; Pro is a one-time $9.90 and adds batches, animation, history, and gradients.

Add to Chrome — it's free