Skip to content
← Articles

QR Code PNG vs SVG vs PDF vs EPS: Which Format Should You Use?

Choose the right QR Code format for websites and printing, and understand quiet zones, contrast, sizing and scan testing.

ReFormatic ·

A QR Code looks simple, but file format, print size, surrounding space and contrast all affect how reliably it can be scanned.

Quick answer

Use PNG when you need a convenient raster image for websites or documents. Use SVG or EPS when you need flexible scaling for design and print workflows. PDF is useful when the QR Code belongs in a document or print-oriented file. Whatever format you choose, preserve the quiet zone around the code and test the final output on real devices before a large print run.

Does a QR Code need a white border?

It needs a clear area around the symbol. DENSO WAVE calls this the quiet zone and specifies a four-module-wide margin on all sides for a standard QR Code.

If text, artwork or a busy background touches this area, scanners may have more difficulty identifying the code boundary.

Why is a QR Code hard to scan?

Common reasons include:

  • the code is too small for the scan distance;
  • poor contrast;
  • distorted modules from bad resizing;
  • missing quiet zone;
  • a logo covers too much code area;
  • too much encoded data creates a dense symbol;
  • printing or image compression blurs module edges.

DENSO WAVE also warns that distorted modules or overlapping artwork can make a QR Code difficult or impossible to read.

Is PNG or SVG better for QR Codes?

PNG is convenient for websites, messaging apps and workflows that require exact pixel dimensions.

SVG is useful when the code will be placed into Figma, Illustrator or a print layout and needs to scale cleanly. EPS and PDF can also be appropriate depending on the print workflow.

How much DPI does a QR Code need?

DPI only makes sense together with physical print size. A raster image can contain many pixels and still be printed too small to scan reliably. A vector SVG does not have one fixed bitmap DPI in the same sense.

Instead of asking only for a DPI number, determine the physical size, expected scan distance and module size, then test a real print.

Create QR Codes with ReFormatic

The ReFormatic QR generator currently supports content types such as website URLs, text, email, phone, SMS, Wi-Fi, contacts, events, locations and WhatsApp. It can export PNG, JPG, SVG, PDF and EPS.

The tool also provides pixel-size, DPI and transparent-background options for relevant workflows.

Is it safe to place a logo in the center of a QR Code?

QR Code has error correction, but it should not be treated as permission to cover arbitrary parts of the symbol. Higher error correction can increase symbol density, and logo size still needs to be controlled.

After adding a logo, test the actual output with multiple phones at the size users will see or scan.

Frequently asked questions

Does a static QR Code expire?

The encoded data in a static QR Code does not inherently expire. However, if it points to a URL and that URL stops working, the user experience still fails.

Can a QR Code use custom colors?

Yes, but maintain strong contrast between the modules and background. Very light colors or complex backgrounds can reduce scanning reliability.

Is SVG better than PNG for a printed poster?

SVG is often advantageous because it scales as vector artwork. The final printed result should still be tested with real scanners.

Conclusion

Choose the QR file format based on the workflow: PNG for convenient raster use, SVG/EPS for scalable design and PDF for document/print workflows. Scan reliability depends even more on quiet zone, contrast, module size and real-world testing.

QR Code PNG vs SVG vs PDF vs EPS: Which Format Should You Use? · ReFormatic