Skip to content
GivenTool

Convert SVG to PNG

Render an SVG to a sharp PNG at any size or scale, with a transparent background.

Loading tool…

Drop a file here or click to browseSVG, JPG, PNG, WebP, AVIF, BMP, GIF, HEIC. Up to 50.0 MB.

SVG is a vector format: shapes and text described as maths, sharp at any size. That makes it perfect for logos and icons, but plenty of places cannot use it: social media profile pictures, presentation software, email signatures, app stores and many upload forms want a bitmap. Converting to PNG gives you pixels, and because the SVG is drawn fresh at the size you choose, a 4,000-pixel-wide PNG is just as crisp as a 64-pixel icon.

Choose a scale (0.5x to 8x of the size the SVG declares) or type an exact width or height; the other side follows the aspect ratio. If the SVG declares no size at all, browsers treat it as 300 by 150 pixels, so the tool switches to a width field and suggests 1,200 pixels. Outputs are capped at 8,192 pixels on the longest side. Transparent areas stay transparent in the PNG.

An SVG file is also a document that can contain scripts, event handlers, embedded HTML and links to files on other servers. Before drawing, the file is cleaned with DOMPurify: scripts, event attributes, foreignObject content and any reference to an outside URL are removed, and the page tells you how many parts were dropped. Fonts that the SVG loads from the web are therefore not used; text falls back to a local font, so convert text to paths in your editor if exact lettering matters.

How to use it

  1. Drop an .svg file or click to browse.
  2. Pick the output size: a scale such as 2x or 4x, or an exact width or height in pixels. The output size is shown before you convert.
  3. Leave PNG selected to keep transparency.
  4. Click Convert to PNG and download the result.

Frequently asked questions

What resolution should I export?

For screens, 2x the size it will be displayed at (for example 512 pixels for a 256-pixel logo). For print, multiply the printed size in inches by 300. Very large sizes are capped at 8,192 pixels.

Why does my text look different?

Web fonts referenced by the SVG are not downloaded, for privacy and safety, and fonts that are not installed on your device fall back to a similar one. Convert text to outlines (paths) in your design tool before exporting the SVG.

Is it safe to open an SVG from someone else?

Here, yes. The file is sanitised before it is drawn and rendered as an image, which cannot run scripts or contact other servers.

Are images embedded inside the SVG kept?

Images embedded as data (base64) are kept. Images linked from other websites are removed, because they would require a network request.

Can I get a JPG instead?

Yes, use SVG to JPG, which fills the transparent background with a colour you choose.