How to convert SVG to PNG
- Upload one .svg file, drop it into the tool, or paste SVG code and select “Use SVG code”.
- Choose the output width. Height is calculated from your SVG’s aspect ratio. Choose a transparent or white background.
- Select “Convert to PNG”, then “Download PNG” to save your file.
Supported SVGs and limits
This tool renders static, self-contained SVG markup with the SVG namespace. Shapes, paths, text, gradients and local paint references can be rendered by your browser. Supply positive width and height in pixels, or a valid viewBox.
Input is limited to 2 MB (2,097,152 bytes). Source dimensions and output dimensions are limited to 4096 px per side and 16 million pixels total. These are this tool’s limits, not a promise of browser compatibility.
Scripts, animation, external resources, embedded images, links, foreignObject, use elements, style blocks and style attributes are rejected. Use SVG presentation attributes such as fill and stroke instead. Text uses fonts available on your device; an unavailable font may change its appearance. For consistent lettering, export text as paths before converting.
PNG is a raster image. A larger output width creates more pixels, but does not preserve editable SVG paths. White background fills transparent areas; it does not remove an existing background in your SVG.
Frequently asked questions
Can I change SVG to PNG without uploading it?
Yes. This SVG to PNG converter processes the file in your browser. Conversion needs no account and sends no SVG to a server.
How do I keep a transparent PNG background?
Select Transparent under Background. Transparent parts of the SVG stay transparent in the PNG. An opaque rectangle already in the artwork will remain opaque.
Can I convert PNG to SVG here?
No. PNG to SVG is the reverse conversion and needs a different tool. This page converts SVG into PNG.
Why is my SVG rejected?
Check the file size, dimensions and SVG syntax, then review the unsupported content listed above. An error means no output has been created. Files containing external resources cannot be converted here.