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
- 1Upload an .svg file or paste the SVG markup.
- 2Click Convert to PNG to sanitize and rasterize.
- 3Preview the result and check its dimensions.
- 4Download the PNG image.
Frequently asked questions
Related tools
PNG to WebP
Convert PNG images to WebP directly in your browser. Adjust quality, preview the result, and download smaller WebP files. Free, private, no upload.
JPG to PNG
Convert JPG and JPEG images to PNG in your browser. Lossless output with preview and one-click download. Free, private, no upload required.
WebP to PNG
Convert WebP images to PNG in your browser when you need broad compatibility. Preview, check dimensions, and download. Free and private.
SVG Viewer
Paste SVG markup to preview it instantly in the browser. Scripts and unsafe markup are stripped, then you can copy or download the cleaned .svg file. Free and private.