Sharp PNG files from any SVG, at the size you pick
This tool lets you convert SVG to PNG, JPG or WebP right in your browser. Drop one or more SVG files, or paste the SVG code, then set the size of the final image. The drawing is rendered again at that size, so a 100 px logo exported at 512 px stays crisp instead of turning blurry.
Handy when a website or a slide deck rejects SVG, or when you need an icon in several sizes. Nothing is uploaded: the conversion runs on your device.
How to use it
- Click "Choose SVG files", drag them onto the drop area, or paste the markup into "Or paste the SVG code" and click "Add this code".
- Check the size shown under the preview, for example "SVG size: 24 × 24 px (taken from the viewBox)".
- Under "Output size", pick "Scale" (buttons ×1 to ×4), "Width and/or height" or "Several sizes".
- Under "Format and background", choose PNG, JPG or WebP, tick or untick "Transparent background" and set the "Background color".
- Click "Download the PNG". When several files are produced, the button reads "Download the ZIP" and bundles them in one archive.
Vector vs raster, and why size matters
An SVG is a vector image: it stores shapes, such as a circle with a radius of 40 or a 2-unit stroke, not dots. A PNG is a raster image, a grid of pixels. Converting means choosing that number of pixels once, so export at the size you will display.
Picking the output size
The tool reads the width and height attributes and converts their units: 1 in is 96 px, 12 pt is 16 px, 10 mm is 37.8 px. If the file only has a viewBox, for example 0 0 24 24, the size comes from it: 24 × 24 px. With no size at all, it falls back to 300 × 150 px, as browsers do.
| Source SVG | Setting | Resulting PNG |
|---|---|---|
| 100 × 100 | Scale ×3 | 300 × 300 px |
| viewBox 0 0 24 24 | Width 512 | 512 × 512 px |
| 200 × 100 | Several sizes: 64 | 64 × 32 px |
| 200 × 100 | 64 with "Square images" | 64 × 64 px, centered |
Fill in both width and height and the image gets exactly that size: centered without distortion when "Keep aspect ratio" is ticked, stretched when it is not. "Several sizes" takes a list such as 16, 32, 48, 64, 128, 256, 512 (longest side) or scales such as 1x, 2x, 3x for high-density screens.
Transparent or solid background
PNG and WebP keep transparency, so the corners around a round logo stay empty. JPG has no transparency, so the tool fills the background with the chosen color, white by default. For a logo placed over a photo, use a transparent PNG.
What may look different
The SVG is drawn as a plain image, which keeps your device safe: no script runs and nothing is fetched from the internet. As a result, images linked by address and external web fonts do not show up, and the tool warns you. Text uses the fonts installed on your device.
Frequently asked questions
Why does my PNG look blurry?
Export it at the size it will be shown, or at 2x for sharp screens, instead of resizing the PNG afterwards.
Can I convert several SVG files at once?
Yes, up to 30 files. They all get the same settings and every result lands in a single ZIP.
My logo lost its font. What can I do?
In your drawing program, convert the text to outlines before exporting the SVG. It will then look the same everywhere.
Are my settings saved?
Yes, the mode, size, format and background are remembered on this device. Your files are never stored.