SVG to PNG Converter
Rasterise an SVG — pasted or uploaded — to PNG, JPEG or WebP at any scale or width, transparent or on a colour, entirely in your browser; scripts never run.
A crisp bitmap of your SVG at the exact pixel size you need, with the intrinsic size the SVG declares, the scale applied, and a warning for anything the renderer will leave out.
Example: A logo with viewBox 0 0 120 60 rendered at scale 4 is a 480 × 240 PNG with transparency; with a width of 600 it becomes 600 × 300, and as JPEG it lands on a white background.
Vectors in,
pixels at your size.
Where the output size comes from, how the SVG is rendered safely, and what an <img> renderer leaves out.
Size
An SVG's intrinsic size is its width and height attributes (in px or unitless) or, failing those, its viewBox. The page multiplies that by your scale, or fits it to the width you give, keeping the aspect ratio; an SVG with neither needs a width and is assumed square. Because the SVG is re-rendered rather than scaled as pixels, any output size is equally sharp — that is the point of rasterising from the vector.
Rendering
The SVG text is loaded into an <img> element and drawn onto a canvas of the planned size, then encoded as PNG (lossless, keeps transparency), JPEG (flattened onto a colour) or WebP. The browser's own SVG engine does the drawing — the same one that shows SVGs on web pages — so gradients, filters, masks and CSS inside the file are honoured to the extent your browser supports them. An <img> never executes scripts or event handlers in the SVG, so pasting an SVG from anywhere is safe.
What will be missing
For the same reason, external references — images, fonts or stylesheets loaded from a URL — are not fetched when an SVG renders in an <img>, so those parts appear blank; embed them as data URIs first. Text uses the fonts on your device; a named font you do not have falls back. The page detects and warns about scripts, external URLs and text before you download. Nothing leaves the browser; the same four anonymous usage counts as the rest of the site apply.
SOURCES
Last reviewed 20 September 2026. How results are checked: How we verify.