By , maker of Vectopea · Updated

How to convert SVG to PNG for print (DPI, sizes, transparency)

An SVG can be scaled to any size in theory, because it is vector: the shapes are coordinates, not a grid of pixels. Most print shops, sticker services and office printers nevertheless want a raster file, usually a PNG or a flattened PDF. That is the moment you have to choose a resolution.

If you already have an SVG, convert it in the SVG to PNG converter. If the artboard is the wrong size, or you need to outline text first, open the file in the online SVG editor and export a new SVG before converting.

SVG has no DPI

DPI (dots per inch) describes a raster image, or a printer. It is a relationship between pixels and a physical length:

pixels = inches × DPI

or, if you are working in millimetres:

pixels = (millimetres ÷ 25.4) × DPI

An SVG does not have a DPI. Its width and height may be written in px, mm or in, and its viewBox is just a coordinate system. Those numbers do not lock the drawing to a print size. Only when you rasterise the file — draw it onto a pixel grid — does DPI become meaningful.

Two PNGs with the same pixel dimensions look identical on screen, even if one is tagged 72 DPI and the other 300 DPI. The tag does not add detail. Sharpness at a given print size comes only from having enough pixels.

Which DPI to use

DPITypical useWhy
150Large posters, banners and shop displays viewed from a metre or moreAt that distance the eye cannot resolve 300 DPI, and the file stays more manageable.
300Stickers, flyers, business cards, photo-sized prints, most commercial jobsThe usual figure print shops quote for logos and illustrations.
600Very fine line art or small type reproduced as a bitmapOnly worth it if the drawing actually has that detail. A simple logo does not get sharper past a point.

Screen graphics are often discussed at 72 or 96 DPI. Those figures are historical display conventions, not print standards. A 72 DPI file sent to a shop will be printed small, or enlarged and look soft.

For most logo and illustration work, 300 DPI at the final trim size is the safe default.

Pixel sizes for common print formats

Figures are rounded to the nearest pixel. ISO A-series sizes use the official millimetre dimensions (A5 is 148 × 210 mm, A4 is 210 × 297 mm).

Print sizeAt 150 DPIAt 300 DPI
2 × 2 in sticker300 × 300600 × 600
Business card, 3.5 × 2 in525 × 3001050 × 600
4 × 6 in photo600 × 9001200 × 1800
A5 (148 × 210 mm)874 × 12401748 × 2480
A4 (210 × 297 mm)1240 × 17542480 × 3508
US Letter, 8.5 × 11 in1275 × 16502550 × 3300
A3 (297 × 420 mm)1754 × 24803508 × 4961

The SVG to PNG converter has 300 DPI presets for the 2 × 2 in sticker, the 4 × 6 in photo, A5 and A4. Each preset sets the width in pixels and writes a 300 DPI tag into the PNG. Height follows the SVG's aspect ratio, so you only get 2480 × 3508 if the artboard is already A4-shaped. A square logo with the A4 preset becomes a 2480 × 2480 px PNG — the right width, but not a full-page bitmap. Set the artboard to the print size in the editor first if you need the PNG to match the paper.

Step by step: convert in the browser

  1. Open the SVG to PNG converter. Nothing is uploaded: the browser draws the SVG onto a canvas and saves the PNG on your device. You can drop up to 30 files and download them as a zip.
  2. If the artwork needs a larger artboard, outlined text, thicker strokes or a background rectangle, do that in the editor first and export a new SVG.
  3. Choose a print-size preset, or switch to px and type the width from the table above. You can also attach a 150 or 300 DPI tag without using a preset.
  4. Decide on the background (see below). Check the output size shown on the page: it should match the pixel dimensions you calculated.
  5. Download the PNG. In a layout program, when the DPI tag is present, the reported document size should match the intended print size.

Typed widths in the converter cap at 8192 px, enough for A4 and A3 at 300 DPI (A3 is 3508 × 4961 px). A0 at 300 DPI is about 9933 × 14043 px, which is wider than that box (Chrome and Edge can rasterise up to 16,384 px on a side, and about 268 million pixels in total). For those very large prints, use a desktop app such as Inkscape, or export at 150 DPI if the piece will be viewed from a distance. If an export fails on iPhone or iPad, try a desktop browser: Safari there often allows less.

What the DPI tag actually does

A PNG can carry an optional pHYs chunk: pixels per metre, which is just DPI in different units (one inch is 0.0254 metres). The converter writes this chunk when you pick a print preset or a DPI tag.

Web browsers almost always ignore it and display the image by its pixel dimensions. Layout tools such as InDesign, Affinity Publisher, Word and some print RIPs use it to place the image at the intended physical size. If the tag is missing, those programs often assume 72 or 96 DPI and show the same pixels as a much larger page box. The pixels have not changed; only the default size on the page has. You can always resize the image in the layout document. The tag is a convenience, not a substitute for having the right number of pixels.

Transparency, flattening and paper colour

PNG supports an alpha channel, so unpainted areas of the SVG stay transparent, including soft edges and semi-transparent fills. That is ideal for placing a logo on a coloured page in a layout program.

It is often the wrong choice for a file you send directly to a print shop or photo lab. Many RIPs and online services do not composite alpha, so transparent pixels may come out black, white, or as a checkerboard. Photographic labs printing a 4 × 6 in sheet also expect an opaque image that fills the paper. A drop shadow or glow that fades to transparent can band or vanish if it is flattened badly at the other end.

If the shop did not explicitly ask for a transparent PNG, flatten the artwork onto a background that matches the paper (usually white). In the converter, untick Transparent background and pick the colour. If a white box still appears, the SVG itself contains a background rectangle: remove it in the editor only if you truly need transparency; otherwise leave it and export opaque. Preview soft, semi-transparent overlays at the final pixel size — faint edges can disappear on uncoated stock.

Colour: RGB in, CMYK on the press

A PNG is an RGB file. Offset print, and a lot of digital print, works in CMYK. Bright RGB cyans and greens often look duller on paper; that is a colour-management problem, not a file-format checkbox.

For a logo on a white flyer, an RGB PNG at 300 DPI is what most online printers accept, and the shift is usually small. If the job has to match a Pantone swatch or a printed letterhead, ask the printer for their preferred format — often a PDF/X with outlined text and spot colours — and do not rely on a PNG as the master. Keep the SVG as the editable original either way.

Bleed, trim and hairlines

If the artwork goes to the edge of the paper, the shop will ask for bleed — typically 3 mm (about 1/8 in) on every side. The PNG must include that extra area, not just the trim size.

For a 4 × 6 in print with 0.125 in bleed, the file should cover 4.25 × 6.25 in: 1275 × 1875 px at 300 DPI. Add that margin on the artboard in the editor, extend backgrounds into it, and only then export. Do not add bleed by stretching a finished PNG.

Hairline strokes are the other regular surprise. A 0.25 px stroke on a 24 × 24 icon viewBox can vanish, or look too delicate, once the drawing is exported at a print pixel size. Check strokes at the target size, and convert them to filled paths if the shop will plot or cut the file rather than print it as a bitmap.

Convert text to outlines before rasterising if you cannot embed the font; otherwise the in-browser converter can only use fonts installed on your device or embedded in the SVG, and may fall back to a different typeface.

When PNG is the wrong print file

Send a PNG when the recipient asked for a bitmap, when you are dropping a logo into a layout, or when a lab only accepts raster images. Prefer a PDF (or the original SVG) if the shop can RIP vector type or fine line work, if the job is multi-page or needs crop marks in the file, or if the print is very large (exhibition panels, or A0 at 300 DPI) and a single PNG becomes unwieldy.

A PNG is a single still image. SVG animations and scripts are not kept, and scripts never run during conversion.

A short pre-flight checklist

  • Pixel size equals trim size (plus bleed, if any) × the agreed DPI, and the aspect ratio matches the paper, not just one side.
  • Background is opaque unless the shop asked for transparency.
  • Text is outlined or the font is embedded; hairlines have been checked at the final size.
  • You still have the SVG. The PNG is a snapshot, not a format you will want to edit later.

For web, email and office use of the two formats, see SVG vs PNG: when to use each.

Edit SVG in your browser

Free, no sign-up, files stay on your device.

Open the SVG editor

Frequently asked questions

What DPI should I use when converting SVG to PNG for print?

Use 300 DPI at the final trim size for stickers, flyers, business cards and photo-sized prints. 150 DPI is usually enough for large posters viewed from a distance. 72 or 96 DPI is a screen convention, not a print standard.

How many pixels is A4 at 300 DPI?

A4 is 210 × 297 mm, which is about 2480 × 3508 px at 300 DPI. A5 is 148 × 210 mm, or about 1748 × 2480 px. A 4 × 6 in print is 1200 × 1800 px.

Does a 300 DPI tag make the PNG sharper?

No. Sharpness comes from the pixel dimensions. The optional DPI tag (the PNG pHYs chunk) only tells a layout program how large to place those pixels on a page. A 600 × 600 px file tagged 300 DPI and the same file tagged 72 DPI contain the same picture.

Should I keep a transparent background for print?

Only if the printer or layout file will composite the image onto a page. Many print shops and photo labs treat transparent pixels as black, white or a checkerboard. If they did not ask for transparency, flatten the artwork onto a background that matches the paper, usually white.

Can I print an SVG without converting it to PNG?

Yes, if the shop accepts PDF or SVG and will RIP the vectors themselves. Many online sticker and photo services only take a raster file, which is when you need a PNG at the right pixel size. Keep the SVG as the editable original either way.

Why is my A4 preset not 2480 × 3508 pixels?

The preset sets the width to 2480 px (A4's short side at 300 DPI) and writes a 300 DPI tag. Height follows the SVG's aspect ratio, so you only get 2480 × 3508 if the artboard is already A4-shaped. Set the artboard to the paper size first if you need a full-page bitmap.