SVG optimiser
Strip what an SVG doesn't need, and get it in the form you want to paste.
DeveloperRuns on your device. Nothing is uploaded.
How it works
Add an SVG
Drop files here, or paste the code into the box.
Choose options
The defaults are safe for almost every file.
Optimise
Press the button. Each row shows what it saved.
Compare
Check the two previews match.
Copy or download
Take the markup, a data URI or a React component.
Questions
Yes. SVG can contain scripts, so we only display it as an image, where scripts can't run. We never insert it into the page.
Without it, an SVG can't scale properly. Many tools once removed it to save a few bytes, and we never do.
That's what actually crosses the network if your server compresses, and it's often a much smaller saving than the raw file shows.
It handles the common cases: className, camelCase attributes and style objects. Check any unusual markup.
No. Optimising happens in your browser, so nothing is sent to a server.