Image tool

SVG to PNG Converter

Paste a static SVG, choose exactly how many pixels you need, inspect the local raster preview, then download the PNG without uploading your artwork.

In-browser processingNo account requiredPrivacy details ↗

LOCAL SVG RASTER EXPORT

Make a PNG at a size you control

Paste a static SVG, choose a bounded output frame, and export a PNG entirely in this browser.

Up to 250,000 characters. Scripts, styles, links, external resources, animation, filters, masks, clipping, and URL-based paint are rejected.

SAFE SVG PREVIEW

Convert to inspect the checked SVG and PNG preview.

Preview appears after a successful local conversion.

16–4,096 px

Maximum 16 MP total

A QUICK WALKTHROUGH

How to use this tool

  1. Paste a static SVG or restore the included example.
  2. Set the output width and height, background, and fit or stretch scaling.
  3. Convert it locally, inspect the pixel preview, and download the resulting PNG.

A bounded local raster export

The converter creates a canvas in your browser and exports it as PNG. Each side must be 16–4,096 pixels and the output is limited to 16 megapixels, which keeps memory use and generated files practical to inspect. It does not upload the SVG or the PNG.

Static SVG only

Before previewing or rendering, the tool parses the SVG as XML and permits a small static set of ordinary SVG drawing elements. It rejects scripts, event handlers, styles, foreign objects, links, external references, filters, masks, clipping, animation, and URL-based paint so the preview is not an execution or network-loading surface. Unsupported artwork should be exported from your editor as a plain static SVG first.

Size, background, and scaling are explicit

Fit preserves the artwork’s aspect ratio and centers it in the selected frame. Stretch maps it to the exact width and height. Transparent keeps alpha in the PNG; a chosen color is painted behind the artwork. Review the preview at the target dimensions when edge sharpness or text detail matters.

GOOD TO KNOW

Common questions

Does this upload my SVG?

No. Parsing, previewing, canvas rendering, and the download are all performed in the current browser.

Why was my SVG rejected?

This focused converter accepts static drawing markup only. It rejects active content, external references, and advanced effects such as filters, masks, clipping, or CSS styles because those can behave differently or load resources during browser rendering.

What does Fit do?

Fit preserves the SVG viewBox proportions, centers the result, and may leave empty space along two sides. Stretch fills every selected output pixel and can distort the artwork.

Can I make a transparent PNG?

Yes. Choose Transparent background before converting. PNG preserves transparent pixels; JPEG does not, which is why this tool exports PNG only.