SVG TO PNG CONVERTER
Render an SVG to a PNG at any size, with a transparent or white background. Nothing leaves your browser.
In short
Convert an SVG file — uploaded or pasted as raw markup — into a PNG at any size, with a transparent or white background. Renders entirely in your browser, nothing is uploaded.
+ Upload an .svg file
Nothing uploaded — rendering happens entirely in your browser tab.
How to convert SVG to PNG
- 1
Upload an .svg file, or paste raw SVG markup into the text box.
- 2
The output width and height are set automatically from the SVG's viewBox or width/height — adjust either one, or lock the aspect ratio so they scale together.
- 3
Choose a transparent or white background for the PNG.
- 4
Check the live preview, then click Download PNG to save the result.
Questions
- Is my SVG uploaded anywhere?
- No. The SVG is loaded as an in-memory image and drawn onto an HTML canvas directly in your browser — nothing is sent to a server, whether you upload a file or paste raw markup.
- How is the output size decided?
- When you load an SVG, this tool reads its viewBox or width/height attributes to set a sensible default output size. If neither is present, it falls back to 512×512. You can override the width and height at any time, and optionally lock the aspect ratio so changing one scales the other.
- What's the difference between a transparent and white background?
- Most SVGs have no background, so by default the PNG is exported with a transparent background (useful for logos and icons that sit on top of other content). Switch to white if you need a flat background — for example, when pasting the PNG somewhere that doesn't support transparency.
- Can I upscale a small SVG to a large PNG without losing quality?
- Yes — that's one of the advantages of starting from SVG. Since it's vector markup, increasing the output width and height renders the PNG freshly at that resolution instead of stretching existing pixels, so edges stay crisp at larger sizes.
Related tools
- HEIC to JPG ConverterConvert HEIC and HEIF photos from an iPhone into regular JPG images, one at a time or as a whole batch.
- Favicon GeneratorTurn one image into a full favicon set — 16x16, 32x32, 48x48, apple-touch-icon, and Android/PWA sizes — plus an HTML snippet and web manifest.
- Image ConverterConvert between JPG, PNG, and WebP, one image or a whole batch at a time.
- AVIF to JPG ConverterConvert AVIF images to JPG, one at a time or as a batch, using your browser's own AVIF decoder.
- Base64 to Image ConverterPaste a Base64 data URI or raw Base64 string and preview and download the decoded image.
- Image to Base64 ConverterDrop an image and get its Base64 data URI string — copy the raw string or the full data: URI, nothing uploaded.
- Negative Film ScannerBacklight film on a screen light table, then invert and color-correct the photo into a positive.
- Pixel Color PickerClick any pixel in a photo to read its exact color as HEX, RGB, and HSL, with a session color history.
Updated