SVG to PNG
Rasterise an SVG to PNG in your browser. Choose the output width and an optional background; the file never leaves the page.
What this svg to png does
The browser decodes the SVG and draws it onto a canvas at the requested width, preserving the aspect ratio, then encodes the canvas as PNG. Transparency is kept unless a background colour is supplied, and any embedded raster image is drawn at the resolution the SVG declares.
How to use it
SVG to PNG: choose an SVG file from the file picker and press Run, after setting Output width (pixels), default 1024 and Background (blank = transparent), default blank to get the PNG below.
Why it runs in your browser
The file is read with the browser's File API and processed on this page with JavaScript, so it works offline after the page loads and the bytes are never posted to a server.
The browser decodes the SVG and draws it onto a canvas at the requested width, preserving the aspect ratio, then encodes the canvas as PNG. Transparency is kept unless a background colour is supplied, and any embedded raster image is drawn at the resolution the SVG declares.
Rasterise an SVG to PNG in your browser. Choose the output width and an optional background; the file never leaves the page.
How to use it
SVG to PNG: choose an SVG file from the file picker and press Run, after setting Output width (pixels), default 1024 and Background (blank = transparent), default blank to get the PNG below.
Why it runs in your browser
The file is read with the browser's File API and processed on this page with JavaScript, so it works offline after the page loads and the bytes are never posted to a server.
What to Expect
Best for
- Converting SVG file to PNG when the data is already on screen.
What this tool keeps
- The file is read with the browser's File API and processed on this page with JavaScript, so it works offline after the page loads and the bytes are never posted to a server.
Frequently asked questions
How do I use the svg to png?
SVG to PNG: choose an SVG file from the file picker and press Run, after setting Output width (pixels), default 1024 and Background (blank = transparent), default blank to get the PNG below.
Is my input uploaded?
No. The file is read with the browser's File API and processed on this page; the bytes are never posted to a server.
Is there a size limit?
Yes: 25 MB per file. A larger file is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.