SVG editor
Live SVG viewer and editor: fill, stroke, viewBox, background, size and source.
Optimize and compress SVG with SVGO, with before/after size savings.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120" width="120" height="120"><rect width="120" height="120" rx="16" fill="#2563eb"/><circle cx="60" cy="52" r="22" fill="#fff"/><rect x="34" y="82" width="52" height="10" rx="5" fill="#fff"/></svg>
Live SVG viewer and editor: fill, stroke, viewBox, background, size and source.
Strip scripts, event handlers and unsafe URLs from SVG with an allowlist sanitizer.
Rasterize SVG to PNG at any scale, entirely in your browser.
Minify SVG markup by removing comments and whitespace.
Check SVG structure, balanced tags and viewBox dimensions.