Download formats

PNG vs SVG for QR codes: which file should you download?

Choose PNG or SVG for QR artwork, understand resizing and conversion pitfalls, and hand a printer or designer a file that preserves the actual code.

By · Editorial standards · Published · Last updated · About 6 min read
PNG vs SVG for QR codes: which file should you download? — QRSwivo field notes

Choose for the next tool in the chain

If you need a practical starting point, use SVG when the designer or printer can preserve vector artwork, and use PNG when the receiving tool needs an ordinary raster image. Then verify what happens after import and final export. A file format is one stage in the job, not a guarantee about the finished card. Ask what the next person can handle before sending a file they will immediately screenshot or convert without checking it.

Both QRSwivo downloads encode the same public QR URL for the same record and settings. Choosing SVG does not make the destination more editable, and choosing PNG does not turn a dynamic link into a static one. The static-versus-dynamic guide explains that separate decision. Here the question is how to preserve the image's geometry through your actual publishing workflow.

PNG and SVG handoff decisions
Workflow questionPNGSVG
Does the tool accept the format?Often accepted as an ordinary image; verify your tool.Confirm SVG import and final export support.
Will the design be resized?Keep enough original pixels and inspect resampling.Retain vector shapes through the final document.
Is the included border preserved?Check cropping and image placement.Check the imported bounds and background.
What approves the result?Scan the final export and physical proof.Scan the final export and physical proof.

What PNG gives you

PNG is a raster format: the picture is represented on a finite pixel grid. The W3C specification describes PNG as lossless, meaning the format can preserve the encoded pixel data without lossy compression. That does not protect it from changes made before or after saving. Resizing with smoothing, taking a screenshot, or exporting a document at a lower resolution can change the pixels. Saving that changed image as another PNG preserves the changed version, not the original detail.

PNG is convenient for many documents and image-placement tools. Keep the untouched download and place a copy at an appropriate size. If you need a larger version, work from a suitable original rather than repeatedly enlarging a small derivative. File size in kilobytes alone does not tell you whether the modules will be sharp at the chosen physical dimensions. Inspect the final output and scan a proof.

What SVG gives you

SVG can describe graphics with vector shapes rather than relying only on a fixed pixel grid. That makes it useful for scaling a QR drawing in a layout that retains those shapes. SVG as a general format can also contain images, text and other features, so the extension by itself is not proof that an arbitrary file contains clean vector QR artwork. Get files from a source you trust and inspect what your design tool imports.

A vector original can still become a raster image when another application exports a PDF, slide, screenshot or web image. Ask whether the final workflow preserves the QR's geometry at the required size. Also check whether the tool retains the background and included margin. A neat-looking selection box or a transparent preview is not evidence that the complete print footprint has survived. The quiet-zone guide explains that footprint.

Three handoffs that often cause trouble

For a restaurant table card, the designer may prefer SVG in a layout application. Send the original file, the public URL for checking, and a note to preserve the full margin. Ask for a proof of the completed card, including its holder or finish. Do not include the private editing link in the print brief. The restaurant menu guide covers the content and access checks that remain necessary after the artwork is correct.

For an office document that accepts only common images, PNG may be the practical choice. Avoid compress-picture settings or fit-to-page changes that undermine the intended dimensions, and verify the document's final print. For an online social post, the platform may transform uploaded artwork. A clean original is still worth keeping, but test the published post as a reader sees it. Do not assume every service preserves either format unchanged.

DPI labels do not create missing pixels

It helps to distinguish the number of image pixels from the physical size at which they are placed. As simple arithmetic, a 600-pixel-wide raster image placed at 2 inches has 300 image pixels per inch across that width. That calculation is not a scan guarantee or a print-size recommendation. Printer hardware resolution, document processing, module dimensions and viewing conditions are separate parts of the result. Changing a metadata label does not invent new image detail.

For a QR, pay attention to the edges of the modules and the quiet zone instead of looking only at a resolution field. Keep the square proportions. Avoid perspective effects, rounded clipping, a photographic background or overlays that change the pattern. Exporting those alterations as SVG does not repair them. Use the printing checklist to check the final document and physical sample, not just the file information panel.

Converting formats is not a recovery plan

Renaming .png to .svg does not convert an image. Tracing a blurry screenshot into shapes also does not prove you recovered the exact QR data. If you still have authorized access to the original code, download a clean version from its editor and verify the public URL. If you only have an old printed sample, first identify what it actually encodes; do not quietly generate a different code and expect previously distributed material to follow it.

When comparing two exports, check that both came from the same QR record rather than two newly generated codes with different public IDs. Scan them and compare the intended public URL. If the files behave differently, inspect the complete layout and processing steps. The troubleshooting guide distinguishes recognition failures from a paused record or unavailable website, which neither PNG nor SVG can fix.

A short file handoff checklist

Name the approved original clearly and keep it separate from resized previews. Tell the recipient which public URL should be encoded and what physical size or display placement you are planning. Include a request to preserve the margin and return a final proof. That small note prevents an apparently harmless crop or conversion from becoming an unexplained failure after printing. Use a controlled generator download to compare the finished result with its source.

  • Confirm the recipient accepts the chosen format and understands the final output requirements.
  • Keep an original download; avoid screenshots, extension renaming and repeated resampling.
  • Preserve the square, contrast and full quiet zone throughout the layout.
  • Check the encoded public URL and scan the final exported document and physical proof.
  • Share the public artwork, never the private management credential.

References & further reading

Download the file your workflow can preserve

Make your code, save an original export, and test the final placed artwork. If you try both formats, keep the encoded public URL the same so the comparison is meaningful. Generate a QR and compare downloads.