SVG to PNG Converter

Rasterize SVG files to PNG at any size you choose, in your browser, with transparency kept and no upload.

Leave a field empty to let it follow the aspect ratio. Images are scaled to fit inside the box you give and are never stretched.

Files you drop here are processed by your own browser. Nothing is uploaded and nothing is stored on our servers — the tools keep working even if you lose your connection after the page has loaded.

How to use SVG to PNG

  1. 1Drop your .svg files onto the box above, or click to browse.
  2. 2Set a max width or height. This is the important step, because an SVG has no fixed pixel size of its own.
  3. 3Press apply, then download each PNG or take the batch as a .zip.

Why the size field matters most here

Every other converter on this site has an obvious output size: the input's. SVG does not. It is a set of drawing instructions, not a grid of pixels, so to convert SVG to PNG you have to choose a resolution, and that choice is the whole substance of the operation.

Leave the size fields empty and this tool uses whatever the file declares. That is frequently a 24 by 24 icon, because icon libraries export at their design size, and a 24 pixel PNG is rarely what anyone wanted. Set a width instead and the vector is rendered fresh at that resolution, with edges as crisp as the format allows. Unlike every raster tool here, upscaling an SVG is not only allowed but is the normal case, because there is no original pixel grid to degrade.

The viewBox problem other converters trip on

A lot of SVG files declare only a viewBox and no width or height. Figma and Illustrator both export this way, and it is valid: the file says what coordinate space it occupies without asserting a physical size.

Browsers report naturalWidth of zero for such a file. A converter that trusts that number produces nothing, or a blank image, which is why so many online SVG converters fail on exactly the files people most often need to convert. This tool parses the viewBox and applies it as an explicit size before rendering, so those files behave like any other.

Fonts and external references

Two things do not survive rasterization reliably, and both are worth checking before you convert a logo.

Fonts referenced by name need to be installed on the machine doing the render. When they are missing the browser silently substitutes something else, and your carefully kerned wordmark comes out in a default sans-serif. Converting text to outlines in your editor before export removes the risk entirely.

External images and stylesheets loaded by URL are blocked. The SVG is rendered from a local blob URL for privacy reasons, and that context cannot fetch remote resources. Self-contained files, which is nearly all of them, are unaffected.

What you get, and what you lose

You get a file that works everywhere: PNG opens in every editor, every CMS and every chat app, and needs no renderer.

You lose scalability. The PNG is fixed at the resolution you chose, so a version for a retina banner and a version for a favicon are two separate conversions. Keep the SVG as the master and rasterize whenever you need a specific size.

Going the other way — raster to vector?

Rasterizing an SVG is the easy direction. Rebuilding clean vector paths from a PNG or JPG is the hard one, and that is what our AI vectorizer does: it traces the shapes and returns an editable SVG.

Convert an image to SVG

Frequently asked questions

What size will the PNG be if I leave the fields empty?
It uses whatever width and height the SVG declares, or the dimensions of its viewBox if it declares none. That is often small, so setting an explicit size is usually what you want.
My SVG has no width or height. Will it still work?
Yes. Files exported with only a viewBox report a size of zero in most browsers, which is why many converters fail on them. This tool reads the viewBox and applies it as the intrinsic size before rendering.
Why are my fonts wrong in the PNG?
An SVG that references a font by name relies on that font being installed. When it is missing, the browser substitutes another one. Converting text to paths in your editor before exporting avoids this completely.
Is transparency kept?
Yes. PNG has a full alpha channel, so anything unpainted in the SVG stays transparent in the PNG rather than being filled with white.

More free tools