Skip to main content
FormatFlow
Image ToolsFreeNo sign-up

Convert SVG to PNG Online for Free

SVG is great in a browser and inconvenient everywhere else: chat apps, slide decks and print shops all want a bitmap. This converter renders your SVG to a PNG at the exact pixel size you need, up to four times the original scale for retina-quality output.

SVG to PNG tool

Drop an SVG file to convertSVG up to 5 MB · sanitised before renderingChoose file
px

Height follows the SVG's aspect ratio.

Processing happens in your browser. Your file is not uploaded.

How to use the svg to png tool

Because SVG can carry scripts and external references, FormatFlow sanitises the file before rendering: scripts, event handlers, foreignObject content and remote URLs are stripped, and only the sanitised markup is ever drawn to the canvas.

  1. 1

    Add an SVG file

    Upload a .svg up to 5 MB. The file's intrinsic size is detected where it declares one.

  2. 2

    Set output size

    Enter a width in pixels, pick a scale multiplier, and choose a transparent, white or custom background.

  3. 3

    Convert and preview

    The sanitised SVG is rendered to canvas and shown as a preview with the final pixel dimensions.

  4. 4

    Download

    Save the PNG. Run again at a larger size if you need a print-resolution copy.

What this tool does

Sanitised rendering

Scripts, on* event handlers, javascript: URLs, foreignObject blocks and external references are removed before the image is drawn.

Exact pixel dimensions

Width and height are applied directly, with an optional 1×–4× scale for high-DPI assets.

Background control

Keep transparency, use white, or set a custom hex colour for dark-background SVGs.

Sharp output

Rendering at the target size avoids the blur that comes from exporting small and scaling up later.

Limitations to know about

  • External resources are blocked by design: linked fonts, remote images and CSS imports will not load, so text may fall back to a default font.
  • The sanitised markup only allows a conservative set of SVG elements and attributes; unusual effects and CSS features may render differently than in a browser.
  • Only .svg files are accepted. EPF, AI and other vector formats are not supported.

SVG to PNG questions

01Is it safe to convert an SVG I did not create?
FormatFlow sanitises the file in an isolated document, removing scripts, event handlers and external references before drawing it to canvas. It is designed for that scenario, though you should still only open files from sources you trust.
02Why does my SVG render with a different font?
Text in SVG often depends on a font installed on the viewer's machine, and embedded or remote fonts are blocked for safety. Convert text to paths in your design tool for a pixel-exact result.
03Can I get a transparent PNG?
Yes. Choose the transparent background option, which is the default, and the PNG will keep alpha wherever the SVG has no background fill.
04What resolution should I choose?
Match the size the PNG will be displayed at, and use 2× or 3× for retina screens. For print, 300 pixels per inch of the printed size is a reasonable target.
05Does the SVG get uploaded?
No. Parsing, sanitising and rendering all happen in your browser.

Other FormatFlow tools that pair well with svg to png.