SVG to PNG Converter — Free, Private, No Upload
Turn any SVG into a crisp PNG at the exact size you need. Rendering happens locally in your browser, and unsafe SVG markup is removed before the image is drawn.
Click, drop or paste an SVG
Supports .svg files up to 2 MB
Your file never leaves your browser — the conversion runs locally.
What this tool does
SVG is a vector format: shapes, paths and text described by coordinates. PNG is a fixed-resolution bitmap. This converter rasterizes the SVG into a PNG at exactly the width and height you choose, so you control the final pixel dimensions instead of guessing what an export dialog will do.
Pick an .svg file or paste its source code, check the preview, set the output size and download. The file is processed entirely on your device, which also means the tool keeps working after the page has loaded, even offline.
How to convert SVG to PNG
- 1
Drop an .svg file into the box above, or open the paste panel and load the markup directly.
- 2
Check the preview: the intrinsic size comes from the viewBox, or from the width and height attributes.
- 3
Set the output width and height. Keep the aspect ratio locked unless you deliberately want a different shape.
- 4
Click “Convert to PNG”, then download the file. Change the size and export again as often as you need.
Transparent backgrounds
The exported PNG keeps the SVG's alpha channel, so uncovered areas stay transparent rather than turning white. That matters for logos and icons placed on coloured surfaces. If you need a solid backdrop, add a full-size rectangle to the SVG before converting.
Security: sanitized before rendering
SVG is XML and can carry scripts, event handlers and references to remote files. This tool parses the markup and removes those constructs — scripts, foreignObject/HTML, inline event handlers, external images and fonts, active CSS, SMIL animation and unknown elements — before anything is drawn. The cleaned document is then loaded through an image element, which runs in the browser's static image mode: scripts cannot execute and external resources are not fetched.
Documents with a DOCTYPE, custom entities or malformed XML are rejected outright rather than downgraded to an unsafe rendering path. Anything removed is listed above the result so you know exactly what changed.
Privacy
There is no upload and no server-side conversion. The SVG is read with the File API, sanitized in memory and rendered by your own browser. Nothing about the image is sent anywhere, and there are no accounts, quotas or watermarks.
Related tools
Frequently asked questions
Is my SVG uploaded anywhere?
No. The file is read locally with the File API and rasterized by your browser. There is no server-side conversion step.
Why does my PNG look blurry?
PNG is a bitmap, so it has one fixed resolution. Export at least as large as the biggest place you will display it — for UI icons that usually means 2× or 3× the CSS size — and let the browser scale down rather than up.
Can I convert an SVG without width and height attributes?
Yes. If the file has a viewBox, its dimensions become the intrinsic size. If it has absolute width and height, a viewBox is generated so the image scales correctly. If it has neither, the SVG default of 300 × 150 is assumed and the tool says so.
Are external fonts and images inside the SVG kept?
No. External references are removed on purpose: keeping them would make the browser fetch remote resources. Convert text to paths or embed images as data URIs before converting if you need them.
What happens to SVG animations?
PNG is a still image, so the export uses the static geometry. SMIL animation elements are removed during sanitization rather than being left in the document.
Is there a size limit?
Yes: 2 MB per SVG, 4096 px per side and 16.7 megapixels per export. The limits protect the tab from running out of memory on a huge canvas.
Found an issue with this tool?
Report a problem