Search and jump to any tool. Type to filter; use arrow keys to move and Enter to select.
SVG Optimizer trims the markup of an SVG so it downloads faster and is cleaner to embed.
SVG Optimizer trims the markup of an SVG so it downloads faster and is cleaner to embed. It strips editor leftovers such as comments, metadata and empty groups, rounds long decimals to two places, and shows a before and after preview so you can confirm nothing looks different. You can upload a file or paste code.
<!-- Exported from Sketch --><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><metadata>editor data</metadata><g></g><rect width="10.12345" height="7.5" onclick="x()"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><rect width="10.12" height="7.5"/></svg>
Good to know. Everything runs in your browser, and the downloaded file is named with a random maffei prefix.
SVG Input
Drop an SVG file here or browse