Image Compressor
Drag the quality slider and watch the JPEG size drop.
Rasterise an SVG into a PNG at its natural size, keeping transparency, for places that need a fixed-resolution image instead of vector code.
Your browser is preparing the tool. It runs 100% locally.
Drop in an SVG and it is rasterised to a PNG at the SVG's natural size, with transparency preserved. Vector code becomes a fixed-resolution image you can use where an SVG is not accepted. One caveat: if the SVG has no width and height attributes, the browser falls back to 300 by 150 pixels, so set those for the size you want. Your browser does the conversion.
An SVG is vector code: shapes described by maths, so they stay sharp at any size. A PNG is a fixed grid of pixels. This tool rasterises the SVG: it renders the vector at a set size and freezes it into a PNG, which you can use anywhere a vector file is not accepted.
Transparency is kept, because PNG supports an alpha channel. The output is lossless, so the PNG keeps the shapes as the browser drew them.
Drop or pick an SVG. The browser renders it and reports its natural width and height.
It is drawn onto a canvas at that size and exported as a PNG. There is no white background, so transparent areas stay transparent.
Download the PNG. The SVG is never uploaded, and the canvas export carries no metadata.
Your browser renders and converts the SVG and never uploads it. No server is involved.
An SVG can contain scripts, but because it is drawn through an image element rather than embedded as live markup, those scripts do not run. The conversion is inert and local.
No account, no stored copy; the PNG exists only on your device.
| Input | SVG |
|---|---|
| Output | PNG (lossless) |
| Output size | SVG's natural size (or 300 by 150 fallback) |
| Transparency | Preserved |
| Scaling control | None (uses the intrinsic size) |
| Metadata | None carried |
| Processing | 100% in-browser |
The output PNG is the SVG's natural size. If the SVG declares width and height, that is what you get; if it only has a viewBox, the browser derives a size; if neither is set, it falls back to 300 by 150, which is the most common reason an SVG comes out smaller than expected.
There is no size or scale control in this tool. To get a larger PNG, set the width and height on the SVG first, then convert. Rendering at the target size keeps the result crisp, where enlarging the PNG afterwards would blur it.
Rasterising is one-way: once the SVG is a PNG it is fixed-resolution and loses the vector's infinite scalability. Convert at the size you actually need.
External resources the SVG references, such as fonts that are not embedded or linked images, may not appear in the PNG. Embed them in the SVG for a complete render.
Turn a vector logo into a PNG for a tool, document or platform that does not accept SVG.
Produce a raster version for places that strip or block SVG for security.
Freeze an icon at a specific size after setting its width and height.
Get a quick PNG snapshot of how an SVG renders.
For a specific output size, set the SVG's width and height before converting; to keep vector scalability, use the SVG itself rather than a PNG.
Draws the SVG onto a canvas at its intrinsic size and exports a lossless PNG with transparency preserved; if the SVG has no width and height set, the browser falls back to 300 by 150, so declare those for predictable output. All local, nothing uploaded.
Drag the quality slider and watch the JPEG size drop.
Set exact pixel dimensions with the aspect ratio locked.
Drag a box and keep only that part of the picture.
Make 16, 32 and 180 pixel favicon PNGs from one image.
Put JPGs or PNGs into one PDF, one image per page.
Shrink a PNG to WebP and keep the transparency.
Your image stays on this device. There's no account and no charge.