SVG to PNG
Paste or load an SVG and get a PNG, JPG or WebP image at the size you need (1x to 8x or an exact width or height), with a transparent or coloured background. Everything in your browser.
Your data stays on your computer. Files are processed in your browser and are never uploaded.
Dimensions and viewBox
If the SVG has no width and height the tool uses the viewBox; if that is missing too, 300×150 as browsers do. The scale applies to these dimensions.
External resources
Images, fonts and stylesheets linked by address are not downloaded: the browser draws the SVG as an image, and does so without network access. Embed the resources in the file (data:) if you need them.
Where the data goes
Everything happens on this page: the SVG is never uploaded or stored anywhere. Scripts and event handlers are removed before drawing anyway.
How to use it
- Paste the SVG code into the text field or load an .svg file.
- Check the preview and the detected size of the SVG.
- Choose the size: a "Scale" from 1x to 8x, or a "Width" or "Height" in pixels (proportions are kept).
- Choose the format (PNG, JPG or WebP) and the background: transparent or a colour.
- Press "Download the image".
Frequently asked questions
Why is the image blurry or small?
An SVG is vector and can be exported at any size without losing sharpness: raise the scale (up to 8x) or enter a larger width.
The SVG has no width and height: what size is it?
The viewBox is used. If that is missing too, browsers use 300×150 and the tool warns you that the proportions are guessed.
Why are images or fonts of the SVG missing?
Resources linked by an external address are not loaded (for your privacy and safety). Embed them in the file as data: URIs and they will appear.
Can I have a transparent background?
Yes, with PNG and WebP. JPG does not support transparency and uses a white background.
Is my SVG uploaded anywhere?
No: drawing and conversion happen in your browser.
Privacy
Everything happens on this page: the SVG never leaves your device and external resources are not requested.