SVG to PNG Converter

Rasterize safe SVG shapes locally with resolution, background and batch PNG/ZIP downloads.

Choose up to 5 SVG files or paste one SVG from your editor. Each SVG may be up to 2 MiB, with up to 16 megapixels per output. Safe geometry only; scripts, CSS, fonts, embedded images and external resources are rejected. Each PNG and a ZIP are downloadable.

Drop files here, or use the file chooser. Processing starts only when you choose the action below.
The other dimension is calculated from the aspect ratio.

About this tool

Choose SVG files or paste one complete SVG from your editor to make a PNG at the width you need. Conversion happens in your browser. A file batch produces separate PNGs and a ZIP. Transparency can be preserved or replaced with a solid background before rasterization.

Use this tool step by step

  1. Choose supported SVG files or use the source-text input. Prefer self-contained shapes; unsupported or unsafe features may be rejected rather than rendered.
  2. Select output dimensions and background, then compare the PNG preview with the source before downloading. Increasing pixel dimensions rasterizes at a larger size; it does not add detail that the SVG does not contain.

How it works

Output height = round(output width × source height / source width). When setting height, output width = round(output height × source width / source height). Safe SVG geometry is serialized into a local image and drawn into a bounded canvas before PNG encoding.

Example workflow

A viewBox of 0 0 400 200 exported at 1,200 pixels wide produces a 1,200 × 600 PNG. A transparent background preserves uncovered alpha; a white background fills it first.

Convert an SVG to PNG at an exact height

Choose Height and enter the number of pixels you need. The converter keeps the image proportions and rounds the width to a whole pixel. An SVG with a 400 × 200 viewBox exported at 600 pixels high gives a 1,200 × 600 PNG. Choose Width when the layout specifies the width instead.

When converting several SVGs by height, each output has the selected height. An image with different proportions will have a different width.

Estimate how long the exported PNG takes to download

Use the saved PNG size. A 2 MB PNG takes about 4 seconds at a measured 4 Mbps and about 1 second at 16 Mbps. Both estimates assume the measured rate stays steady.

Use the final ZIP size if you share a batch as one download. Raster dimensions help describe the image, but the file size depends on the image and PNG compression.

Compare 4 Mbps and 16 Mbps for a 2 MB PNG

Convert a plain QR code from SVG to PNG

Keep the SVG when your print or layout app accepts it. If you need a PNG at a specific width, this converter accepts a plain, no-logo SVG from the QR Code Generator. Branded SVG files embed a logo image. For those, use Download PNG in the QR generator.

Try the menu example with a four-module border. Its SVG viewBox is 33 units wide. Enter 396 pixels for 12 pixels per module, including the existing border. Use a whole multiple of the actual square viewBox width for this unbranded export.

Check the downloaded image on the intended device or in a print proof at its final size. Preserve the clear border when placing it in your artwork.

Generate a QR code and check its print dimensions

Assumptions and limitations

Up to five files, 2 MiB each and 16 MP per output. The strict safe subset rejects scripts, CSS, fonts, images, external references, animation and unsupported elements. It is not a full SVG renderer.

Convert complex artwork to simple outlined geometry first. Original vectors remain more suitable for unlimited scaling; raster resolution should match the actual print or screen need.

Sources and editorial responsibility

Maintained by Renvoro Pty Ltd. Sources inform the methods and assumptions shown here; outputs have the limitations described on this page.

Common questions

Does SVG to PNG follow links to external images or fonts?

The converter accepts a restricted SVG subset. Documents with external references, embedded images, fonts, script or unsupported features are rejected.

Why is the PNG blank or different from my design app?

Check that the file uses supported shapes and attributes. Styles, animation and resources fetched by a design app may not be supported in this converter.

Does increasing output size add more detail to an SVG?

It rasterizes the vector drawing to more pixels. The requested size still needs to fit the output pixel limit.

Guide updated 2026-11-20. Calculation method and source dates remain separate.

Method reviewed 2026-10-13. Calculation standards · Report an issue