Last updated: October 2026
How do I convert SVG to PNG?
Short answer: Upload your .svg file or paste the SVG code into the tool above, choose a size — 1x for the native size, 2x/3x for sharper output, or a custom width in pixels — then press Download PNG. Everything runs in your browser; the file never leaves your device.
How to convert SVG to PNG — step by step
- Add your SVG. Tap the upload box to choose an .svg file (or drag & drop it), or switch to the "Paste code" tab and paste your SVG markup.
- Pick an output size. 1x renders at the SVG's native size. 2x and 3x multiply it for crisp retina displays and print. A custom width sets the exact pixel width — the height follows the aspect ratio automatically.
- Check the preview. The tool validates your SVG, renders a live preview, and shows the exact output dimensions before you download.
- Download. Press Download PNG. Transparency is kept by default; tick the white-background option if you need a solid background.
New to the format? MDN's SVG getting-started tutorial explains how SVG markup works.
When to use SVG vs PNG
Exporting at 3x doesn't add detail
A bigger PNG from an SVG has more pixels, not more detail. A simple logo exported at 1x is exactly as crisp as the same logo at 3x — the extra size only matters when you need a specific pixel dimension for print or a platform requirement. If your 3x export looks blurry, the problem is in the SVG source (low-quality embedded raster images are the usual culprit), and no export setting will fix that.
Once you have your PNG, it's usually bigger than it needs to be — run it through the image compressor before uploading. Converting from a different format instead? The AVIF to PNG converter handles that.
How do I save an SVG as a PNG?
Short answer: You can't save it directly — an SVG is vector code, so "saving as PNG" means converting it. Upload the .svg file or paste the SVG code into the tool above, pick a size, and download the PNG. It runs entirely in your browser; the file never leaves your device.
If you're working in desktop design software, you'd normally use File → Export for this — but this converter does the same job in seconds with no signup, no upload, and no watermark. It also works for snippets copied from Figma or an icon library: paste the raw SVG code instead of hunting for a file to save.
One caution: a PNG is a fixed grid of pixels, so pick the size you need before downloading — a PNG can't be scaled back up later without losing sharpness. Keep your original SVG around for future edits.
How do I convert SVG to transparent PNG?
Short answer: Convert normally — transparency is preserved automatically. Just don't tick the white-background option. The preview shows transparent areas as a checkerboard, and the downloaded PNG keeps them transparent.
Most SVGs have no background layer, so the export comes out transparent by default — perfect for logos, icons, and watermarks you want to layer over photos or colored backgrounds. Unlike JPG, PNG supports full alpha transparency, so soft edges and semi-transparent elements survive the conversion intact.
If you see grey checkerboard behind your artwork in the preview, that's not part of the image — it's the preview telling you that area is transparent.
How do I export an SVG as a high-resolution PNG?
Short answer: Choose a bigger output size. SVG is infinitely scalable, so rendering at 2x, 3x, or a custom width gives you a sharper, higher-resolution PNG with no quality loss — pixels increase, never detail.
There is no "quality" slider on a vector export — resolution comes from pixel dimensions. For print at 300 DPI, multiply your print size in inches by 300 (a 4 × 6 inch print needs 1200 × 1800 px) and type a custom width. For retina web use, 2x your display size is plenty.
PNG is lossless, so nothing is lost in the export itself. If the result looks soft, the weakness is in the SVG source — low-quality embedded raster images are the usual cause — and no export size can fix that.
Frequently asked questions
What scale should I choose when converting SVG to PNG?
SVG is vector, so it scales perfectly with no quality loss. Use 1x for the SVG's native size, 2x or 3x for sharper retina and print output, or type a custom width in pixels when you need an exact size — the height scales automatically to keep the aspect ratio.
Will the transparent background of my SVG be preserved?
Yes. Transparency is preserved by default, and the preview shows it on a checkerboard background. If you need a solid background instead, tick the "white background" option before downloading.
Is my SVG file private?
Completely. The conversion happens locally in your browser using JavaScript and the canvas API — your SVG is never uploaded to a server, stored, or tracked.
Why do some images or fonts inside my SVG not show up in the PNG?
Browsers block external resources when rasterizing an SVG for privacy reasons: linked image files, web fonts (like Google Fonts), and external stylesheets won't load. To fix it, embed images as data URIs inside the SVG and convert text to outlines before converting.
What is the maximum PNG size?
Output is capped at about 16 megapixels (for example 4000 × 4000 px) to stay within what browsers can safely render. If your settings exceed that, the tool scales the output down proportionally and tells you.
Why convert SVG to PNG instead of using the SVG directly?
Because a PNG is a fixed grid of pixels, it looks identical everywhere — in email clients, Word documents, slide decks, social apps and marketplaces like Amazon and Etsy that reject vector uploads. An SVG depends on the renderer, so it can look different across platforms; a PNG is frozen at exactly the size you exported.
What resolution should I use for print?
What matters is pixel dimensions, not a DPI label — this tool doesn't stamp DPI metadata into the file. For a crisp 300-DPI print, multiply your target print size in inches by 300: a 4 × 6 inch print needs 1200 × 1800 px. Use the 3x scale or a custom width to reach those pixel counts, then check the preview's reported dimensions before downloading.
What happens if my SVG is animated?
PNG is a still image, so animation is dropped — the converter captures a single static frame, and SMIL, CSS and JavaScript animation all stop. If you need the motion, export each frame as a separate SVG and convert them one by one.
Can I convert multiple SVG files at once?
Not yet — the tool converts one file at a time. Each conversion takes a couple of seconds and everything happens in your browser, so there's no upload queue; converting a handful of files in sequence is quick.
Will the PNG lose quality?
No. PNG uses lossless compression, so every pixel is preserved exactly — no artifacts, no color shifts. And because your source is a vector, you're rendering from an infinitely sharp original, so there's no generational quality loss like you'd get re-saving a JPEG.
Can I paste raw SVG code instead of uploading a file?
Yes — paste the SVG markup straight into the code box. It's handy for snippets copied from Figma, Illustrator's code view, or an icon library, and it converts exactly like an uploaded file.
How do I convert an SVG file to PNG?
Upload your .svg file (or paste the SVG code), pick 1x, 2x, 3x or a custom width, preview the result and download the PNG. Everything runs in your browser — the file is never uploaded.
Related tools