SVG optimizer
Runs in browserOptimize and compress SVG with SVGO, with before/after size savings.
or drag & drop
6% smaller271 B → 255 B
<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>
Related tools
SVG editor
Live SVG viewer and editor: fill, stroke, viewBox, background, size and source.
SVG sanitizer
Strip scripts, event handlers and unsafe URLs from SVG with an allowlist sanitizer.
SVG to PNG
Rasterize SVG to PNG at any scale, entirely in your browser.
SVG minifier
Minify SVG markup by removing comments and whitespace.
SVG validator
Check SVG structure, balanced tags and viewBox dimensions.