SVG to PNG Converter
Turn vector graphics into pixel perfect images.
Upload SVG File
How to use the svg to png
Turn an SVG file into a raster PNG image. The page draws the SVG into a browser canvas and offers a preview and download.
Choose an SVG file, press Convert to PNG, inspect the result, then download it.
- Under Upload SVG File, choose an .svg file of 5 MB or less.
- Press Convert to PNG.
- Check the image under Converted Result.
- Press Download PNG; logo.svg is saved as logo.png. Press Reset to start over.
Good to know
- The file must have the image/svg+xml MIME type and be no larger than 5 MB.
- The canvas uses the image’s browser-reported width and height; there is no resize control.
- The page exports a PNG data URL and changes a .svg file name to .png for download.
- Conversion happens in your browser.
Examples
- An SVG with width="512" height="512" becomes a 512 × 512 pixel PNG.
- To get a bigger PNG from a 24 × 24 icon, change its width and height attributes to 240 first. If the SVG has a viewBox, the drawing scales up and stays sharp.
If something goes wrong
Please upload an SVG file
Files are accepted only when the browser reports the type image/svg+xml, which it usually decides from the .svg extension. Save the file with a .svg extension.
File size exceeds 5MB limit
Remove embedded bitmaps or editor metadata, or run the file through an SVG optimiser, then try again.
Failed to load SVG
The browser couldn’t read the file as SVG, often because of broken XML or a missing xmlns="http://www.w3.org/2000/svg" on the root element. Open the file in a browser tab to see the parser’s error.
Fonts, linked images or the size look wrong in the PNG.
Browsers don’t load external files for an SVG drawn as an image, so web fonts and linked images are skipped. Convert text to paths, embed images, and set width and height attributes.
Questions
Can I choose output dimensions?
No. The page uses the size reported when the browser loads the SVG.
Can I upload a PNG here?
No. The upload check requires an SVG file.
What if the SVG cannot load?
The page shows an error instead of a PNG.
Does the PNG keep transparency?
Yes. Nothing is painted behind the SVG, so transparent areas stay transparent in the PNG.
Next steps: PNG to JPG · Image resize · WebP converter
