More in this category

SVG to PNG

Convert SVG markup to PNG in your browser. Untrusted SVG is sanitized before rendering, then rasterized to a high-resolution PNG you can download.

All processing happens locally in your browser. Files are never uploaded.

SVG markup

Introduction

SVG to PNG turns vector SVG markup into a raster PNG image you can use anywhere. Before rendering, the SVG is sanitized: scripts, event handlers, and external references are removed, so even untrusted markup is safe to rasterize.

Features

  • Paste SVG markup or upload an .svg file
  • Automatic sanitization that strips active content
  • Reads width, height, and viewBox to pick the output size
  • Clear error messages for invalid SVG
  • Runs entirely in the browser

How to use

  1. 1Upload an .svg file or paste the SVG markup.
  2. 2Click Convert to PNG to sanitize and rasterize.
  3. 3Preview the result and check its dimensions.
  4. 4Download the PNG image.

Frequently asked questions

Related tools