SVG to PNG
Turn an SVG into a PNG.
About this tool
Choose an SVG file and press Process. The vector image is drawn by your browser and saved as a PNG.
How to use
How it works
The browser loads the SVG as an image and draws it onto a canvas at its natural size, then saves the canvas as PNG with transparency. There is no scale control. The size comes from the width and height attributes in the SVG itself. An SVG that has only a viewBox and no width or height is drawn at the browser default of 300 × 150 pixels, so add explicit width and height to the file if you need a particular output size.
Worked example
A logo
- Input
- logo.svg with width 512 and height 512
- Output
- logo_output.png at 512 × 512
- Walkthrough
- The canvas is the size the SVG declares.
Limitations
- No output size or scale option; the SVG defines it.
- An SVG with only a viewBox (no width and height) comes out at 300 × 150 pixels, and one with no size information at all may render blank.
- External fonts and linked images inside the SVG may not render.
- One file at a time.
Questions
How do I convert SVG to PNG?
How do I get a larger PNG?
Does it keep transparency?
Features
- Transparent PNG output
- Browser rendering
- Private, in-browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Working with Responsive Images
Chrome for Developers
When to convert versus keep the original format for art direction.
Watch on YouTubeResponsive images - PWA Training
Chrome for Developers
Performance impact of serving the right converted image.
Watch on YouTube
- Use WebP images
web.dev
When WebP conversion beats shipping oversized PNGs.
- Photo metadata standards
IPTC
What EXIF/IPTC fields mean when stripping or viewing metadata.