SVG to PNG Converter
Upload an SVG file and convert it to PNG with a single click, directly in your browser using canvas. Handy when you need a rasterized (pixel-based) image from a vector, for example to use an SVG logo where only conventional images are accepted. The file is never uploaded to any server.
How it works
- Select a .svg file from your device using the file picker.
- The conversion starts automatically as soon as you select the file.
- The browser renders the SVG as an image and draws it onto a hidden <canvas> at the intrinsic size defined in the SVG file itself.
- The canvas is re-encoded as PNG with canvas.toBlob(), preserving transparency if the SVG has any.
- A preview of the result is shown with its dimensions and file size, ready to download.
Use cases
- Convert a vector logo or icon to PNG for use where SVG files aren't accepted.
- Generate a static image from an SVG icon to insert it into a document or presentation.
- Get a PNG version of an SVG illustration to share with someone without a vector viewer.
- Prepare SVG graphics exported from a design editor for use in tools that only accept rasterized formats.
Use cases
- Convert a vector logo or icon to PNG for use where SVG files aren't accepted.
- Generate a static image from an SVG icon to insert it into a document or presentation.
- Get a PNG version of an SVG illustration to share with someone without a vector viewer.
- Prepare SVG graphics exported from a design editor for use in tools that only accept rasterized formats.
Common mistakes
- Expecting the resulting PNG to have a high resolution even though the SVG doesn't define explicit dimensions.The PNG is generated at the intrinsic size the browser uses to render the SVG (defined by its width/height attributes or its viewBox). If the SVG doesn't specify a size, the browser may use a small default size; for a higher-resolution result, edit the SVG to declare larger dimensions before converting it, or use the result as a base and resize it with the Image Resizer tool.
- Uploading an SVG with references to external fonts or images and expecting them to be included in the PNG.The browser can only render resources it can load. If the SVG references external fonts or images the browser can't download, due to network restrictions or local paths, those elements may not appear in the resulting PNG. Use self-contained SVGs whenever possible.
- Thinking the resulting PNG will still be editable as a vector.The conversion rasterizes the SVG: the resulting PNG is a fixed pixel map, not a vector format, so it can no longer be scaled without loss or have its individual shapes edited.
Frequently asked questions
No. The conversion happens entirely in your browser. The SVG file is never sent to any server.
At the intrinsic size the browser uses to render the SVG, determined by the width/height attributes or the viewBox of the file itself. This tool doesn't offer manual control over the output resolution.
Yes. If the SVG has transparent areas (no fill), those areas stay transparent in the resulting PNG.
This happens when the original SVG doesn't declare large dimensions. Since the conversion rasterizes at the SVG's intrinsic size, if that size is small, the resulting PNG will be too. Edit the SVG to declare a larger size before converting it if you need more resolution.
Alternatives
Editors like Inkscape, Illustrator, or Figma let you export an SVG to PNG with full control over the output resolution. This tool is handy for a quick conversion without opening an editor: you select the SVG and download the PNG in seconds, without the file ever leaving your browser.