SVG to PNG Converter

Convert SVG code or files to PNG, WebP, or JPEG at 1x, 2x, and 3x.

🔒 Client · Offline

Drop an SVG file here, or click to choose a file.

Max size 25 MB. SVG only.

Pixels at 1x. Blank keeps the SVG size.
Pixels at 1x. Blank keeps the SVG size.
The vector fits inside the width and height box. Unlock to stretch it to the exact box.
Each selected scale gives one raster in the zip file.

About SVG conversion

The tool renders the SVG on a canvas and exports PNG, WebP, or JPEG in your browser. Your SVG data never leaves your device.

Give a width, a height, or both to set the size at 1x. Each selected scale multiplies that size. The lock keeps the ratio of the vector, and the raster fits inside the width and height box. Unlock it to stretch the vector to the exact box.

JPEG has no alpha channel. The tool fills the background with the color that you select, so a transparent area does not become black. PNG and WebP keep the transparency.

The browser renders the SVG as an image, and an image loads no external file. A font in a @font-face rule does not load. The browser uses a font that your device holds instead, so the width of the text can change. Use a common font, or convert the text to paths in your editor.

The browser also blocks an external image, an external stylesheet, and a script inside the SVG. An <image> element with a remote link stays empty in the output. Embed the image as a data URI to keep it. The tool makes no network request for the SVG.

Each card shows the pixel size and the file size of the output.

Related tools