Convert SVG to PNG at Any Width
Choose an SVG file, set the output width, and download a PNG with a transparent or custom background.
Use this tool in your browser without installing software.
About this tool
SVG files are great for the web, but they do not open everywhere; for email, a form upload or an app that does not understand SVG, a PNG is safer. This tool opens the file in your browser, reads the original size from width/height or the viewBox, and builds the PNG at the width you choose. The height follows the image ratio so the shape is never squashed. If the SVG is transparent, keep the transparent background, or set white or a custom colour for clean edges. Gradients, vector text and shapes all rasterise into the output. Your file is never uploaded, and the 40 megapixel ceiling stops runaway exports.
How to use it
- 1
Choose an SVG file or drop it in the box; up to 5 MB is accepted.
- 2
Set the output width in pixels; the height follows the image ratio automatically.
- 3
Pick a transparent, white or custom background and download the PNG.
If the file will not open
- The download stays disabled.
The file has not been read yet or it is not valid SVG. The line under the box says why; choose the file again.
- The PNG is larger than the original file.
Lower the output width. Every extra pixel adds weight to a PNG; 24 or 48 pixels is usually enough for an icon.
- The edges are not transparent.
The chosen background fills the whole frame. For a transparent SVG, pick the transparent option.
Frequently asked questions
Why can I not set the height separately?
The output always keeps the SVG ratio so the shape is never squashed, which is why you choose only the width. If you need a different frame, change the SVG canvas in your editor first.
If the SVG is transparent, does the PNG stay transparent?
Yes, as long as the background stays transparent; PNG carries an alpha channel. A white background fills the transparency with white, which looks cleaner on light websites.
Why do some SVG files refuse to open?
If the file is not really SVG, has no <svg> root or has no readable size (width/height or viewBox), the browser cannot turn it into an image. Open it in a text editor and check its structure.
What happens to fonts and images inside the SVG?
Text rasterises with the font the file uses, provided the font is embedded in the SVG or installed on the system. External images linked from the SVG may not load for browser security reasons; embedding them in the SVG is safer.
What is the largest output?
Up to 8192 pixels per side and 40 megapixels in total. If you ask for more, the tool scales the output down and shows the real size.