SVG to PNG Converter
Convert an SVG vector image or pasted SVG markup into a PNG at any resolution you choose, rendered entirely in your browser with no file upload to a server. Export a logo for platforms that don't accept SVG, generate a high-resolution icon raster, or create a quick thumbnail preview, completely free.
Drop an .svg file here, or click to choose one
Or paste raw SVG markup below instead.
Usage examples
Exporting a logo for a platform that doesn't accept SVG
Turn a vector logo into a PNG at the exact pixel size a form or platform requires.
Getting a high-resolution raster from an icon
Scale a small SVG icon up to a large PNG without losing sharpness, since SVG has no fixed resolution to begin with.
Creating a thumbnail preview of an SVG asset
Quickly generate a PNG preview of an SVG file to use somewhere that doesn't render SVG directly.
Converting an icon set for an app that needs raster assets
Batch-export SVG icons one at a time to fixed-size PNGs for a platform or framework that only accepts raster image assets.
Pasting SVG code directly without a file
Paste SVG markup copied from a design tool or code snippet straight into the text box and convert it to PNG without needing to save a file first.
Frequently asked questions
My SVG has no width or height — will the output be stretched?
No. If your SVG only has a 'viewBox' attribute (no explicit width/height), this tool reads the viewBox to figure out the correct aspect ratio automatically, so entering just a width (with 'Lock aspect ratio' on) computes a matching height instead of distorting the image.
What happens if my SVG markup is invalid?
You'll see a clear error instead of a blank or broken image. Double-check that your markup starts with an '<svg>' tag and is well-formed XML.
Is my SVG uploaded anywhere?
No. The conversion happens entirely in your browser using a canvas — nothing is ever sent to a server.
Why would I use PNG instead of keeping the image as SVG?
SVG is a vector format that scales infinitely without quality loss, but some platforms, older software, and image fields simply don't accept SVG files. Converting to PNG trades that infinite scalability for a fixed-resolution raster image that's universally supported.
What happens if I set a width and height with very different aspect ratios?
With 'Lock aspect ratio' off, the image is stretched or squashed to exactly match the dimensions you enter, which can distort the artwork. Keep the lock on if you want the output to preserve the original proportions.
Does the PNG keep transparency from the SVG?
Yes. Any transparent areas in the original SVG remain transparent in the exported PNG, since PNG fully supports an alpha channel.
Will an SVG with animations or embedded scripts convert correctly?
Only the static visual state at the moment it's rendered gets captured — animations, embedded scripts, and interactive behavior have no equivalent in a PNG, since a PNG is just a single fixed grid of pixels. If your SVG relies on an animation to reach its intended look, the converted PNG will reflect just one frame of it, typically the initial state.