SVG to PNG Converter
Convert SVG markup or files to a crisp PNG — set an exact pixel size (or 1×–3× scale) and a transparent or solid background, then download. Runs 100% in your browser with no upload.
Output: 120 × 120 px
🔒 Rendered in your browser — nothing is uploaded.
What this SVG to PNG converter does
Paste your <svg>…</svg> markup or upload a .svg file, and this tool rasterizes it into a PNG. It reads the drawing size from the SVG's width and height attributes, or from its viewBox when those are missing, and shows a live preview.
Exact size and background
Choose a scale (1×/2×/3×) for a larger, sharper image, or pick an exact pixel width — 512, 256, 192, 128, 64, 32, or a custom value — and the height follows the SVG's aspect ratio automatically. Set the background to transparent (the default, preserving alpha) or a solid color that fills behind the art. That covers the common icon-export job: take a vector logo and get one PNG at exactly 512×512 on a white background. This is handy for app icons, favicons, social preview images, and anywhere you need a raster copy of a vector graphic.
Frequently asked questions
Can I export at an exact pixel size like 512×512?
Yes. Pick a width preset (512/256/192/128/64/32 px) or type a custom width, and the height is derived from the SVG's aspect ratio. You can still choose a 1×/2× /3× scale instead if you prefer to multiply the SVG's own size.
Can I add a solid background?
Yes. Set Background to Solid color and pick a color — it fills the whole canvas before the art is drawn (useful for JPEG-style exports or a white icon background). Leave it Transparent to keep alpha wherever your SVG paints nothing.
Is my SVG uploaded to a server?
No. The SVG is turned into a data URI and drawn to a canvas entirely inside your browser, then saved straight to your device. Nothing is sent, stored, or uploaded anywhere.