Vector rasterization - sanitized
Convert SVG to PNG safely.
Remove active and remote content, rasterize the remaining self-contained vector, and download a transparent PNG.
How to convert an SVG to PNG
- Choose a self-contained SVG file with an explicit width and height or a usable viewBox.
- Pick the output scale: 1x for the natural size, or 2x, 3x or 4x for sharper results on high-density screens or print.
- Press Convert to PNG.
- Check the PNG against your artwork and download it.
Why the converter is strict
An SVG is a small program as much as a picture. It can contain scripts, event handlers, linked images, remote stylesheets and embedded HTML. Before drawing, this converter removes script, style, foreignObject, iframe, object, embed, image and use elements, plus event-handler and URL-bearing attributes. The remaining vector shapes are rasterised into a PNG with a transparent background.
That means artwork that depends on linked fonts, external images or CSS files will not look identical. Convert fonts to outlines in your design program, and embed images as data, before exporting if you need exact results. Only convert files you trust, and always inspect the output.
Nothing leaves your device
The SVG is cleaned and drawn by your own browser in a frame that cannot make network requests, so even a hostile file has nowhere to send data and cannot reach the rest of this page. The PNG is created locally and downloaded straight to you. The advertising on the page sits outside the frame.
Tips
- Use 2x or 3x for icons that will be shown on retina displays.
- Very large scales of very large SVGs can exhaust memory; reduce the scale if the browser struggles.
- Transparent areas in the SVG stay transparent in the PNG.
Deliberately strict SVG handling
SVG is XML and can contain scripts, event handlers, foreign HTML, linked images, reusable external symbols, CSS URLs, and remote resources. Before rasterizing, this tool removes script, style, foreignObject, iframe, object, embed, image, and use elements, plus event-handler and URL-bearing attributes.
What may disappear
An SVG that depends on linked fonts, external images, CSS files, remote symbols, or embedded HTML will not render exactly like the original. That is intentional. Convert only artwork you trust and visually inspect the PNG.