Convert SVG to PNG
Turn SVG images into PNG. Drawn at the size the SVG declares with transparency kept, or sharp at another width or height; both together stretch it to that exact size.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop SVG files on the dialor turn it to pick what to do
A PNG drawn from your SVG.Transparency is kept, and you can pick the exact size.
What you get
One PNG, drawn at the size the SVG declares. Transparent areas of the SVG stay transparent in the PNG.
Set Width (px) or Height (px) to draw it at another size. The other side follows the aspect ratio, so the picture stays sharp at the new size.
What changes
If you set both Width (px) and Height (px), the picture is stretched to that exact size. Leave one of them empty to keep the proportions.
Fonts that are not installed are replaced by standard sans-serif, serif or monospace fonts.
Other options
Set Rotate to turn the result clockwise by 90, 180 or 270 degrees. Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller.
Width (px) and Height (px) accept values from 1 to 20000.
SVG and PNG.What each format is, and the options this conversion takes.
- 01 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 02 · height
Height (px)
The exact height of the result in pixels. The width follows the aspect ratio unless it is also given, in which case the picture can be stretched.
1 to 20000 - 03 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270 - 04 · width
Width (px)
The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.
1 to 20000
The formats
SVG
Scalable vector graphics in XML. Logos, icons and diagrams that stay sharp at any size.
- Extensions
- .svg .svgz
- MIME type
- image
/svg +xml - Kind
- Images
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
In your code.The same SVG to PNG conversion through the API, for your app or your agent.
$ cv convert photo.svg photo.png$ cv convert photo.svg photo.pngQuestions.What people ask about SVG to PNG.
Yes. Transparency in the SVG is kept in the PNG.
Yes. Set Width (px), Height (px) or both. With both, the picture can be stretched to that exact size.
They are replaced by standard sans-serif, serif or monospace fonts.
The file is damaged, so the conversion stops with input_corrupted. Check that the SVG opens correctly, or export it again, and convert the new file.