SVG to PNG

Paste SVG code or load an .svg file, choose an output scale (1×–4×), and download the PNG. Uses the Canvas API — nothing is uploaded. Supports arbitrary viewBox dimensions.

Browser-local No signup required Utility

Convert pasted SVG markup or an SVG file into a PNG locally by parsing the vector source, rendering it to a browser canvas, and exporting the raster result.

How to convert SVG to PNG

  1. Paste SVG markup or load an SVG file.
  2. Choose a scale value and start the conversion.
  3. Preview the rasterized image and download the generated PNG.

Conversion details

The tool uses SVG width and height when available, falls back to viewBox dimensions when needed, and otherwise uses a default size before applying the chosen scale.

The SVG is serialized, loaded as an image, drawn to canvas, and exported as PNG; browser SVG and canvas support therefore determine the final rendering.

Privacy and limitations

The SVG source is processed in your browser and is not uploaded by this tool. Fonts, linked resources, unsupported SVG features, and browser-specific rendering can affect the PNG result.

SVG to PNG FAQ

Can I load a file instead of pasting?

Yes. SVG files can be read locally.

Does it use viewBox dimensions?

Yes, when explicit width or height is missing and a usable viewBox exists.

What is the output format?

PNG.

Is the conversion pixel-perfect across browsers?

Not guaranteed; browser rendering can differ.

Is the SVG uploaded?

No. Conversion stays local.