SVG to PNG
Convert an SVG file to PNG directly in your browser, with the SVG sanitized before it's ever processed.
Processed on your device. Nothing is sent to any server.
or click to select it
Sanitizes the SVG content (removing scripts and potentially dangerous event handlers) before drawing it on a canvas and exporting it as PNG, a lossless raster format.
Use cases
- Converting a vector icon to a raster format for use where SVG isn't supported.
- Generating a PNG thumbnail of an SVG logo.
- Sharing a vector design with someone who needs PNG.
How it works
- 1
Upload your SVG file
Drag the file in or pick one from your device.
- 2
Generate and download the PNG
Review the preview and click to generate the PNG.
Technical details
- Limit: SVG files up to 2 MB.
- The PNG is produced at the size the SVG itself declares (its width and height attributes); there's no scaling option. For a bigger icon, raise those values in the SVG before converting.
- Transparency is kept.
- External resources (linked images or web fonts loaded by URL) aren't fetched when the SVG is drawn: text using an external font will render in a system font. Convert text to outlines first if you need the exact typeface.
Frequently asked questions
Is it safe to upload any SVG?
Yes: the SVG is automatically sanitized with a dedicated library before being shown or processed, removing scripts and potentially dangerous content.