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
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
Add an SVG file
Upload a .svg up to 5 MB. The file's intrinsic size is detected where it declares one.
- 2
Set output size
Enter a width in pixels, pick a scale multiplier, and choose a transparent, white or custom background.
- 3
Convert and preview
The sanitised SVG is rendered to canvas and shown as a preview with the final pixel dimensions.
- 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?
02Why does my SVG render with a different font?
03Can I get a transparent PNG?
04What resolution should I choose?
05Does the SVG get uploaded?
Related tools
Other FormatFlow tools that pair well with svg to png.