Printed a code and need to change the link? QR Gen makes codes you can edit later.Edit codes after printing with QR Gen.See QR Gen

Open on your phone

PNG or SVG: which QR code file to send to the printer

Should you send an SVG QR code or a PNG to the printer? File sizes we measured, the DPI maths, and four mistakes that ruin a good file.

Send the printer the SVG. An SVG QR code is made of shapes, not pixels, so it prints sharp at 2 cm or 2 m, and any designer’s software can place it at an exact size. Keep a PNG as well, at 1024 or 2048 px, for Word, chat apps and anywhere a picture is expected. The format matters less than most advice claims, though. Four small mistakes ruin more QR files than the choice of PNG or SVG, and they are covered below.

Who gets which file

Sending it to Send Reason
Print shop or designer SVG Any size, and they can set the exact width in millimetres
Banner or hoarding printer SVG Nothing to run out of resolution
Word or PowerPoint SVG, or the 2048 px PNG Microsoft 365 inserts .svg files, per Microsoft Support; older versions may not
WhatsApp, email, social posts PNG, 1024 px Every app opens a PNG; it is about 26 KB
A page on your website SVG It scales with the layout, and the file is small
An online design tool Whichever it accepts Check its upload page; if SVG is refused, use the 2048 px PNG

Our generator gives you exactly these: PNG at 512, 1024 or 2048 px, and SVG. It doesn’t offer JPEG, and you should not make one yourself. JPEG smudges the edges of every square, and a QR code is nothing but edges.

What is inside each file, measured

A PNG is a grid of coloured pixels. An SVG is a text file of instructions, and MDN describes it as vector graphics that can be rendered at any size without loss of quality. We exported real files from the generator for two links:

https://example.com/menu
https://www.example-shop.in/offers/diwali-2026?utm_source=poster&utm_medium=qr&utm_campaign=diwali
File 24 character link (25 by 25 squares) 98 character link (41 by 41 squares)
PNG, 512 px 8.4 KB 9.8 KB
PNG, 1024 px 26.1 KB 28.1 KB
PNG, 2048 px 90.7 KB 93.3 KB
SVG 21.3 KB 59.6 KB
SVG with a small logo 25.8 KB 98.2 KB

(KB here is 1,000 bytes.) Two surprises. An SVG is not a smaller file: ours draws one small square for every dark module, about 250 for the short link and about 770 for the long one, so the long-link SVG is twice the size of the 1024 px PNG. That is irrelevant for printing and slightly relevant for a web page. And the logo is stored inside the SVG as an embedded image, a copy of whatever file you uploaded. Ours was an SVG logo, so it stayed sharp; a PNG or JPG logo would stay pixels, and then your “vector” file has a soft patch in the middle. Upload the logo as SVG if you can.

The resolution maths for PNG

Printers like 300 dpi, but a QR code isn’t a photo, so the useful question is how many pixels each small square gets. In our 1024 px PNGs the squares are 39 px wide for the 25 module code, 33 px for a 29 module code and 24 px for the 41 module one. Printing then smooths across about one source pixel at the edge of each square. Here is that smoothing as a share of one square:

Pixels per square One pixel of smoothing as a share of a square
39 3%
24 4%
8 13%
4 25%

That assumes the print software blurs by about one source pixel, which is typical but not guaranteed. The table says a 1024 px export holds up even when it is printed far larger than 300 dpi would suggest, because each square still has dozens of pixels. The failures come from the bottom rows: a screenshot of a code, a 300 px image from a document, or a PNG that a layout program has shrunk and stretched. Another way to see it, for a code printed 10 cm wide including its border:

PNG size Effective resolution at 10 cm At 20 cm
512 px 130 dpi 65 dpi
1024 px 260 dpi 130 dpi
2048 px 520 dpi 260 dpi

(Pixels divided by the width in inches: 1024 / (10 / 2.54) = 260.) For a business card, a flyer or a table tent, 1024 px is plenty. For a poster, take the 2048 px PNG or, better, the SVG. Our size guide explains how wide the code should be in the first place.

Four ways a good file goes wrong

Cropping the border. The code needs blank space on all four sides, four squares wide, according to Denso Wave’s overview of the code. The PNG from our generator comes with that four-square border built in (the Shape tab lets you shrink it, which we don’t recommend), so don’t crop it, and don’t put the code hard against a photo or a coloured edge.

See-through background on coloured stock. The generator can export a see-through background. Print that on dark blue card and the paper becomes the background, which may leave the code with too little contrast. The colours guide has the numbers. If the sign isn’t light and plain, export with the white background and let the code sit on its own white tile.

Letting the software mix the black. On screen the dots are black. At the press, black made from four inks can look fuzzy when the plates sit slightly out of line. Tradeprint’s guide to black recommends C0 M0 Y0 K100 for black text and fine lines. QR squares are fine detail, so the same logic applies. Ask the printer to set the dots to 100% black only.

Flattening it by accident. If your SVG gets rasterised or exported into a low-resolution PDF somewhere along the way, the vector advantage is gone. Ask for a proof you can zoom into.

A quick check on any file: open the SVG in a browser and zoom to 800%. The edges of every square should stay razor sharp. For a PNG, zoom the viewer to 400% and look for soft edges wider than a fraction of a square.

If all you have is a small PNG

Don’t enlarge it. A QR code is only text drawn as squares, so the cure for a low-resolution image is to draw it again. Open the old image in the scanner (you can upload it or paste a screenshot), read the text it stores, and paste that text into the generator. Then download the SVG. The new file is identical in content and perfect in resolution. This also settles the doubt about what the old code points to, since the scanner shows the real address before you reprint anything. If the scanner can’t read the image at all, it was too degraded to reprint from; start from the original link.

Exporting from the generator

In the generator, build the code, then look under the preview. The size menu offers 512 px “for screens”, 1024 px “for print” and 2048 px “for posters”, and there are separate buttons for PNG and SVG. Everything is made in your browser, so the logo and the link never leave your device. For a print job, press SVG and keep the PNG as the spare. Name the files after the destination (menu-table-tent.svg, not qr (3).png) so that the file in the printer’s inbox is the one you meant.

What to send

Paste this into your message, change the numbers, and attach the SVG:

Attached is a QR code as SVG (vector). Please print it at 35 mm wide,
dots 100% K only (C0 M0 Y0 K100), on a white background, with at least
4 mm of blank space around it. Please do not crop, recolour or resample it.
A 1024 px PNG copy is attached in case your software needs it.

Scan the printed proof with a phone and with the scanner on this site before the full run. The main guide to making a QR code covers the other settings, and the guide to codes on business cards shows one placed on a real card size.

Ready to try it? Free, no sign-up, made in your browser.

Open the QR generator