SVG to PNG Converter

Convert SVG to PNG at the size you need, up to 16,384 px a side: set width or height with the aspect ratio locked, keep transparency or pick a colour.

Runs in your browser. Files never leave your device.

Drop your SVG file here or click to browse

Supports SVG · Max size 25MB

About the SVG to PNG Converter

Convert SVG to PNG at exactly the size you need. Drop in an SVG logo, icon or illustration, type the width or height in pixels, choose a transparent or solid background and download a sharp PNG. You'll need it when you have a vector file but an app store, a slide, a document or a social network wants an ordinary image.

Because an SVG is drawn from shapes rather than pixels, you can export it at 64 px or 4,000 px without it turning blurry. The SVG is opened as text and drawn onto a canvas inside this page, so the artwork is never sent to a server.

How SVG to PNG conversion works

When you add the file, the tool reads the SVG's own size. The viewBox is used first, because it describes the drawing's real proportions; if there is none, the width and height attributes are used; if neither is set, it starts at 512 × 512. Those numbers fill the Width and Height boxes as the starting point.

With the lock on, changing one side recalculates the other from the SVG's own proportions, so a wide logo stays wide. If you unlock, change the shape and lock again, the new shape is the one kept. Press Convert SVG and the tool writes your chosen width and height into the SVG itself before drawing it. The browser therefore renders the vector shapes directly at the final size, instead of drawing a small picture and stretching it, which is what keeps edges and text crisp.

The result is drawn onto a canvas of that exact size and saved as PNG. With Transparent BG ticked, empty areas stay see-through; untick it to fill the background with any colour first, which is useful for platforms that turn transparency black.

starting size = viewBox width × height  (else width/height attributes, else 512 × 512)
aspect ratio  = starting width ÷ starting height
locked height = round(new width ÷ aspect ratio)
locked width  = round(new height × aspect ratio)

Assumptions and limits

  • Only .svg files are accepted, up to 25 MB. After a conversion the Convert SVG button becomes Download PNG. Changing the width, height or background afterwards switches it back to Convert SVG, so the file you download always matches the settings on screen.
  • The SVG is drawn the way an <img> tag shows it, which means files it links to from outside are not loaded: external images, web fonts and separate stylesheets are skipped. Text then falls back to a font on your device. Convert text to outlines in your design app, or embed the font and images, for an exact match.
  • Scripts inside the SVG don't run, and an animated SVG becomes a single still picture.
  • Resizing relies on the viewBox, which almost every exported icon and logo has; its numbers can be separated by spaces (0 0 24 24) or commas (0,0,24,24). If an SVG has no viewBox but gives its width and height in pixels (or as plain numbers), the tool adds a matching viewBox before drawing, so it still scales cleanly.
  • If the SVG has no viewBox and its width is written in %, cm or em, only the number is read and treated as pixels, and the drawing isn't scaled: a bigger PNG keeps it at its original size in the top-left corner. Check the starting size in the boxes, or add a viewBox in your editor.
  • Each side can be up to 16,384 px. Very large exports use a lot of memory, and phones allow smaller canvases than computers; if your browser can't make a PNG that big, the page says so and you can try a smaller size.

Worked examples

An app icon at 1024 × 1024

A 24 × 24 icon (viewBox="0 0 24 24") opens at 24 × 24 PX. Type 1024 in Width; the lock sets Height to 1024. Leave Transparent BG ticked for a launcher icon, or untick it and pick white if the store doesn't accept transparency. The edges are as sharp as at the original size, because the vector is drawn at 1024 px rather than enlarged.

A wide logo for a slide or email signature

A logo with viewBox="0 0 300 80" has an aspect ratio of 3.75. Typing 1200 for the width gives a height of 320, and typing 50 for the height gives a width of 188. Export at 2 or 3 times the size it will appear so it stays sharp on high-resolution screens.

300 ÷ 80 = 3.75
1200 ÷ 3.75 = 320 px
50 × 3.75 = 187.5 → 188 px

An A4 diagram for printing

An SVG drawn on an A4 page in millimetres (viewBox="0 0 210 297") opens at 210 × 297. Set the width to 2480 and the height becomes 3507, within a pixel of a full A4 page at 300 dots per inch (2480 × 3508), which is what most print shops ask for.

Common SVG to PNG sizes

Starting size read from the viewBox, and the PNG you get with the aspect ratio locked.

SVG viewBoxType thisPNG sizeTypical use
0 0 24 24Width 4848 × 48Icon at 2× for a website
0 0 24 24Width 512512 × 512App or favicon source image
0 0 100 100Height 10801080 × 1080Instagram square post
0 0 300 80Width 600600 × 160Email signature logo at 2×
0 0 1920 1080Width 38403840 × 21604K slide or wallpaper
0 0 210 297Width 24802480 × 3507A4 page at 300 dpi (1 px short of 3508)

How to use the SVG to PNG Converter

  1. Upload the SVG. Drop the .svg file on the box or click to browse; its original bounds and a preview appear.
  2. Set width, height and background. Type the pixel size with the lock on to keep the shape, and untick Transparent BG to pick a fill colour.
  3. Convert and download. Press Convert SVG, check the preview and the PNG Output Size in KB, then press Download PNG to save it.

Frequently asked questions

How do I convert an SVG to a PNG with a transparent background?

Leave Transparent BG ticked, which is the default. Any part of the SVG that has no fill stays see-through in the PNG. If your SVG contains a white rectangle behind the artwork, that rectangle is part of the drawing and stays white; remove it in your editor first.

Will the PNG be blurry if I make it bigger than the SVG?

No. The vector is drawn directly at the width and height you type, so a 24 px icon exported at 1024 px has clean edges. Blurring only happens when a small PNG is stretched afterwards, which is why it's better to export at the final size here.

Why does the text in my PNG use a different font?

Most likely the SVG links to a web font or relies on a font installed on the designer's computer. Linked files aren't loaded when the SVG is drawn as an image, so your browser substitutes a font it has. Convert the text to outlines or paths before exporting and it will look identical.

What size should I export my SVG logo at?

Two or three times the size it will be shown at, to suit high-resolution phone and laptop screens. A logo shown 200 px wide on a website works well at 400 to 600 px; for print, multiply the width in inches by 300.

Can I change the shape of the image when converting?

Yes. Click the lock between Width and Height to unlock it and type both sides. For an SVG with a viewBox, the drawing is then fitted to the new box following its own rules, which by default keep it in proportion and centre it, leaving empty space rather than squashing it.

Is my SVG file uploaded to convert it?

No. Opening, resizing and drawing the SVG all happen in the page you have open, and the PNG is created there too. Unreleased logos, client artwork and internal diagrams stay on your computer.

This tool runs entirely in your browser. What you enter or upload stays on your device and is never sent to our servers.