PNG vs SVG vs PDF for QR Codes: which format to use
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 email | PNG |
| Printing at any size, or sending to a printer or designer | SVG (vector) or a very large PNG |
| Placing it in a document or sending a print-ready file | |
| Needing a sharp image on a 4K screen or a big display | 4K PNG |
What each one is
- PNG is a pixel image. It looks sharp at its own size and gets blurry when enlarged. It supports a transparent background.
- SVG is a vector file made of shapes, not pixels, so it stays sharp at any size. It is the safest choice for signs, packaging, and anything printed large.
- PDF is a document format that is easy to send and place in a layout. Check with your printer which they prefer.
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
- Ask which formats they accept.
- If they accept vector, send the SVG.
- If they want an image, send the largest PNG you have.
- 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