About this tool
SVG is a vector format that scales infinitely, but some tools, email clients and platforms only accept raster images like PNG. Rasterizing an SVG to PNG at a chosen scale gives you a fixed-size image with a transparent background that works everywhere.
Paste your SVG markup or upload a .svg file, choose a scale multiplier for higher-resolution output, and the PNG renders on a canvas in your browser. Because SVGs can contain scripts, the markup is sanitized with DOMPurify before it is drawn — and nothing is ever uploaded.
Rendering happens locally; the SVG is sanitized with DOMPurify before drawing.
Frequently asked questions
What does the scale option do?
It multiplies the SVG’s intrinsic size, so 2× renders a PNG at twice the width and height. Use a higher scale for crisp output on high-DPI screens or for print.
Is the PNG background transparent?
Yes — areas with no fill stay transparent in the PNG, just like the SVG. The checkerboard in the preview indicates transparency.
Why is the SVG sanitized?
SVG can embed scripts and external references. The markup is cleaned with DOMPurify before rendering so that converting an untrusted SVG can’t run anything.