Tools / SVG to PNG Converter

SVG to PNG Converter.

Render SVG markup or an .svg file to a crisp PNG at any width or scale, with optional background.

Runs in your browser
or drop a file here

A chosen file takes precedence over the pasted markup.

Height follows the SVG's aspect ratio. Leave empty to use the scale.

Multiplier of the SVG's own size, e.g. 2 for @2x.

Hex colour such as #ffffff; empty keeps transparency.

Ctrl/⌘ + Enter to run · Ctrl/⌘ + Shift + C to copy the result

Result
PNG
Details

About SVG to PNG Converter

SVG to PNG Converter turns a vector graphic into a raster image you can use where SVG is not accepted: app store listings, email templates, slide decks, favicons for older tools, or social media uploads. Paste the markup or drop an .svg file, choose an output width or a scale factor, and download the PNG. The SVG is rendered at the target size rather than drawn small and stretched, so a 24×24 icon exported at width 512 keeps perfectly sharp edges. For example, an icon with viewBox="0 0 64 64" and scale 4 becomes a 256×256 PNG with a transparent background; set the background to #ffffff when the destination does not support transparency. The converter reads the size from the width and height attributes or, when they are missing, from the viewBox; an SVG with neither has no defined size, which is the most common reason exports come out as a tiny 300×150 box in other tools. Other frequent problems are external references: fonts loaded from a web URL, linked images and CSS files are not fetched when the SVG is rendered as an image, so text may fall back to a system font. Convert text to paths in your editor or embed images as data URLs before exporting. Width and height given in units such as mm or em are ignored in favour of the viewBox. Rendering uses your browser's own SVG engine and canvas; the file is not uploaded anywhere.

How to Use

  1. Paste SVG markup or drop an .svg file.
  2. Set an output width in pixels or a scale such as 2 or 3, and a background colour if you need one.
  3. Download the PNG.

Frequently Asked Questions

Why does my text look different in the PNG?

Fonts referenced by URL or installed only on the designer's machine are not available when the SVG is rendered as an image. Convert the text to outlines or embed the font as a data URL.

What size will the PNG be?

The width you enter, or the SVG's own width times the scale. The height always follows the SVG's aspect ratio, so nothing is distorted.

Is there a size limit?

Each side can be up to 8192 pixels, which is within what all major browsers can allocate for a canvas.

Is my SVG uploaded?

No. It is rendered by your browser and never leaves your device.

Related Tools