Table of Contents
ToggleSVG to PNG Converter
Paste or upload SVG markup, preview it, and export as PNG. Preserve transparency or choose a background color.
How to Work
- Paste your SVG markup in the editor or upload an SVG file.
- Click Update Preview to render the SVG in the preview area.
- Set the desired output width and height (set height to 0 to preserve aspect ratio).
- Toggle Preserve transparency to keep alpha, or uncheck and pick a background color to flatten.
- Click Convert to PNG. When conversion finishes click Download Last PNG to save it.
Frequently Asked Questions
Will the PNG preserve transparency from my SVG?
If your SVG has transparent regions and you keep "Preserve transparency" checked, the output PNG will include the alpha channel. If you uncheck it, the background color will be applied and the PNG will be opaque.
How do I get a specific pixel size?
Set Output width and Height. If you set Height to 0 the tool will preserve the SVG's aspect ratio and calculate the height automatically based on the width.
Is my SVG uploaded to a server?
No — conversion is done entirely in your browser using the canvas API. Nothing leaves your machine unless you manually share it.
My SVG uses external images or web fonts—will they render?
External raster images may render in the preview if CORS allows it. Web fonts may not load — embed fonts or convert text to paths for consistent rendering.
Can I batch convert multiple SVGs?
This page converts one SVG at a time. If you need batch conversion, I can add a multi-file uploader and ZIP download feature.