SVG to PNG Converter

Convert SVG files or pasted SVG code to a PNG at any size, with transparency kept intact.

Drag & drop an SVG file here, or click to browse

No uploads. Your files stay on your device.

No uploads. Your files stay on your device.

Free forever, no sign-up, no cookies. Buy me a coffee

How it works

Drop an .svg file or paste SVG markup and it is rasterised straight away. The tool reads the SVG's width/height attributes (or its viewBox) to work out the natural size, then redraws the vector at whatever pixel size you ask for using the Canvas API โ€” so a 2ร—, 4ร— or 8ร— export stays perfectly sharp instead of being upscaled from a small bitmap.

Everything happens locally in your browser: the SVG is turned into a data URL, drawn onto a canvas and encoded with canvas.toBlob(). Nothing is uploaded, so logos and unreleased artwork never leave your device. PNG keeps transparency by default; untick "Transparent background" if you need a solid colour behind the artwork. Note that fonts and images referenced from outside the SVG file cannot be loaded during rasterisation โ€” inline them or convert text to paths first.

Frequently asked questions

How do I convert an SVG to PNG without losing quality?

Because an SVG is a vector file, it can be redrawn at any pixel size with no quality loss. Set the width and height you want (or tap the 1x, 2x, 4x or 8x buttons) before downloading and the artwork is rasterised freshly at that size, so edges stay perfectly sharp. Exporting at 2x is the usual choice for retina screens; exporting a small PNG and then enlarging it is what causes blurriness.

Can I convert an SVG to PNG with a transparent background?

Yes. PNG supports alpha transparency, and the converter keeps your SVG's transparent areas transparent by default. The checkerboard behind the preview shows where the image is see-through. If you need a solid backdrop instead, untick "Transparent background" and pick any colour; it is painted behind the artwork before the PNG is encoded.

Is it safe to convert SVG files online?

With this tool, yes: nothing is uploaded. Your SVG is parsed and drawn onto an HTML canvas by your own browser, so logos, icons and unreleased artwork never leave your device and there is no server copy to delete. One thing to know: fonts or images that the SVG links to from outside the file cannot be fetched during rasterisation, so inline them or convert text to paths first.

Report a bug