🖼️ SVG to PNG Converter
Rasterise an SVG to a crisp PNG at the size you choose, paste the markup or load a file, all in the browser.
Everything runs locally in your browser. Your SVG is never uploaded to any server.
How the svg to png converter works
An SVG is vector artwork, instructions, not pixels, so many apps, upload forms and thumbnails need it flattened to a raster PNG first. The tool loads your SVG into an image, reads its viewBox or width/height to keep the aspect ratio, and draws it onto a canvas at the output size you set, then exports a lossless PNG. You can pick the width, lock the aspect ratio, and choose a transparent or white background.
Because SVG is resolution-independent, you can export at any size without blurring, render at 2× or 3× the display size for retina screens. Choose a white background when the target (a JPEG slot, some chat apps, print) doesn't handle transparency; keep transparent for overlays and logos. The conversion runs on your device, so unreleased brand artwork never leaves your machine.
Frequently asked questions
How do I convert an SVG to PNG?
Load the .svg file or paste the <svg> markup, set the output width (height follows the aspect ratio), pick a background, and download the PNG. A live preview shows the result first.
What size PNG should I export?
Match the largest size the PNG will be displayed at, and render at 2× for high-density (retina) screens. SVG is vector, so exporting larger never blurs. It just makes a bigger file.
Why is my PNG background black or transparent?
SVGs are usually transparent. If a target needs a solid background, choose "White"; for overlays and logos keep "Transparent". JPEG has no transparency, which is why flattening to a chosen colour matters.
Does it keep the SVG sharp?
Yes. It renders the vector directly to the chosen pixel size, so edges are crisp at that resolution. Only if you scale the PNG up afterwards will it soften; export larger instead.
Is my SVG uploaded?
No. It's rendered with the browser's Canvas API on your device. Nothing is transmitted and it works offline.