Convert SVG to PNG or WebP in-browser with custom scale and download.
🖼️ Conversion runs entirely in your browser via HTML5 canvas — your SVG is never uploaded. For crisp output on high-DPI screens, use 2x or 3x scale. Self-contained SVGs (inline images as data URIs, embedded fonts) convert most reliably.
SVG (Scalable Vector Graphics) describes shapes with math, so it stays crisp at any size — perfect for logos and icons. PNG and WebP are raster formats made of pixels, which every browser, image viewer, and social platform can display without an SVG renderer. This converter rasterizes your SVG into PNG or WebP using an HTML5 canvas, entirely in your browser.
Because raster images store a fixed number of pixels, convert at a higher scale for high-DPI screens. The 2x option doubles both dimensions; 3x triples them. Your SVG should declare width/ height or a viewBox so the converter knows the target dimensions — an SVG with no dimensions falls back to a default size.
If your SVG references external images (<image href="https://...">) or web fonts, browser security rules may block the canvas export (a “tainted canvas”). Inline images as data URIs and convert text to paths for the most reliable conversion. Everything you paste or upload stays on your device.
More tools you might find useful
Compute missing width or height to keep any aspect ratio.
Four corner sliders to CSS code, elliptical slash syntax included.
Test color contrast against WCAG AA and AAA accessibility levels.
Convert between HEX, RGB, and HSL with a visual picker.