Vector rasterization - sanitized

Convert SVG to PNG safely.

Remove active and remote content, rasterize the remaining self-contained vector, and download a transparent PNG.

2 MB SVG limit1x to 4x outputNo upload

How to convert an SVG to PNG

  1. Choose a self-contained SVG file with an explicit width and height or a usable viewBox.
  2. Pick the output scale: 1x for the natural size, or 2x, 3x or 4x for sharper results on high-density screens or print.
  3. Press Convert to PNG.
  4. 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

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.

Advertisement
Advertisement