GlobalFree to use

SVG to PNG

Render a self-contained SVG to PNG; external resources are rejected.

This tool uploads files or inputs to our isolated processor. Working files are deleted after the job. Do not submit sensitive or confidential material.

Input

Tip: press Ctrl + Enter to run

Your result

Your result will appear here.

About this tool

SVG graphics scale to any size, but many places (social media, office documents, app stores, some email programs) need a PNG. This tool renders an SVG on our server with CairoSVG and gives you a PNG at the pixel width you choose.

For safety, SVGs that reference external resources (linked images, external stylesheets, @import, scripts, foreign objects, data URLs) are rejected. Logos and icons exported from design tools as plain SVG usually work fine.

How to use it

  1. Choose an SVG file (up to 1 MB).
  2. Enter the output width in pixels, for example 1200.
  3. Run it and download the PNG.

How the calculation works

The SVG is parsed with defusedxml and checked for disallowed elements and attributes. It is then rendered by CairoSVG at the requested width onto a square canvas of that size and saved as PNG with transparency.

Worked example

A start-up founder needs a 1200-pixel PNG of the company’s square SVG logo for a pitch-deck template. Rendering at width 1200 gives a crisp, transparent PNG. An SVG exported with an embedded linked photo is rejected; re-exporting it with the image embedded as paths solves it.

Limitations

  • The output canvas is square at the chosen width; non-square SVGs may be scaled to fit it.
  • No external resources, styles or fonts.
  • Maximum 1 MB SVG and 5000 px output.

Last updated:

Frequently asked questions

Why was my SVG rejected?

It references external files, scripts, CSS or embedded data, which are blocked to prevent unsafe content.

Are custom fonts supported?

Convert text to outlines (paths) in your design tool for reliable results.

Is transparency kept?

Yes, transparent areas stay transparent.

Troubleshooting

Text is missing or in the wrong font.

Outline the text in your design tool.

The image looks distorted.

Use a square SVG or add padding to make the viewBox square.

External resource error.

Remove linked images or CSS and embed shapes directly.

Privacy & Free to use

Are my inputs stored?

This tool uploads files or inputs to our isolated processor. Working files are deleted after the job. Do not submit sensitive or confidential material.

Is this tool free?

Yes. No signup or payment is required.

Server processing

Useful next steps