Convert SVG to PNG

Convert an SVG file to a PNG image.

Drop an image here

PNG, JPG, WebP, GIF or BMP. You can also paste an image.

No result yet

Options

How to use

  1. 1

    Upload an SVG file.

  2. 2

    Enable "Fill background" and pick a color to replace transparent areas.

  3. 3

    Add padding if you want space around the image.

  4. 4

    Download the PNG.

Example

Before640 × 640

The example input

After640 × 640

The example result
Convert SVG to PNG on a logo in SVG, with the default settings.

Frequently asked questions

What resolution will the PNG be?

The PNG will match the pixel dimensions declared in the SVG viewBox or width/height attributes.

Can I convert an SVG without a declared size?

Browsers may render unsized SVGs at a default size. Set explicit width and height attributes in the SVG for predictable output.

About this tool

Convert SVG to PNG renders an SVG vector file as a raster PNG in your browser. The output resolution matches the SVG's declared width and height. Add padding around the image or fill the background with a solid color. No files are uploaded. Rendering runs locally using the Canvas API.