Back to AllToolio

SVG to PNG Converter

Convert an SVG graphic to PNG.

or drop or paste (Ctrl+V) images here

1 KB = 1000 bytes. For JPG and WebP, a target selects quality automatically and may reduce dimensions further. PNG ignores this setting. The target may not be reached.

Resize settings

Avoid enlarging small images: Contain adds margins without scaling up pixels; Fill and crop and Stretch may produce smaller dimensions. SVG scales freely, up to 4096 px on its longest side.

Presets select Exact size and Fill and crop. Disable “Do not enlarge” if a small image must fill the preset. The passport preset is 413 × 531 px, approximately 35 × 45 mm at 300 DPI. Set 300 DPI when printing; the preset does not write DPI metadata or check official photo requirements.

Enter whole pixel dimensions from 1 to 20000. Rendering is limited to 64 million pixels per image; available device memory may impose a lower limit.

Choose one or more images to start.

Everything runs in your browser. The converted file keeps the pixels only: EXIF data such as the camera model and the GPS position is not copied, and the EXIF orientation is already baked into the image.

Rename-only output is the exception: it preserves the original file bytes and all their metadata.

PNG preserves the decoded pixels but cannot recover detail already lost in the source. Animated images become a still image of the first frame. Very large batches depend on device memory.

How to convert SVG to PNG

  1. Drop your SVG files onto the panel, or click Choose images and select them.
  2. PNG is already set as the output format, which keeps sharp edges and transparency.
  3. The tool reads the width and height of the SVG, or its viewBox, to pick the pixel size.
  4. To get a smaller PNG, choose a Resize mode such as Longest side and enter the value; the longest edge is capped at 4096 px.
  5. Download each PNG, or use Download all (ZIP) to save several icons in one archive.

When it helps

  • Using a vector logo in a program that only accepts PNG.
  • Making a raster icon for an app or a document.
  • Turning an SVG chart into a PNG for a slide deck.
  • Preparing an SVG illustration for a site that does not render SVG.
  • Creating a PNG preview of an icon set before publishing it.

Frequently asked questions

What size will the PNG be?

The tool uses the width and height attributes of the SVG. If they are missing it reads the viewBox, and if there is no viewBox it uses 1024 by 1024 pixels.

Why is the PNG capped at 4096 pixels?

Very large canvases use a lot of memory and some browsers refuse them. The longest side is limited to 4096 px so the conversion stays reliable.

Is the transparency kept?

Yes. PNG supports transparency, so the empty parts of the SVG stay transparent in the result.

Can I make the PNG bigger than the SVG?

The tool does not enlarge images. To get a larger PNG, edit the SVG and set bigger width and height values before converting.

Does the SVG need to be valid?

It must be something the browser can render. A file with broken markup may fail to load, and the row will show an error instead of a download button.

Is anything uploaded?

No. The SVG is read and drawn on a canvas inside your browser tab. Your files never leave your device.

Popular conversions

Image tools

This season