Images · runs locally
SVG optimizer
Drop an SVG, get the same drawing at a fraction of the bytes — powered by SVGO.
How to use this tool
- 1Paste or pick an SVG
From your editor, your CMS exports or your design tool — as text or a file.
- 2Pick precision & strictness
3 decimals is a good default; 2 is the leanest. Keep IDs if the SVG is interactive, strip them otherwise.
- 3Download the result
The optimized file downloads straight to disk — typically 20–70% smaller with no visual change.
This page has no server behind it. Files are read, changed and re-built by your own browser — then they disappear when you close the tab. That's the whole privacy policy, applied.
Questions people actually ask
Is it safe for SVGs used in CSS/JS?
Yes — flip the 'IDs & classes' switch to 'Keep' and class/id attributes survive, so your CSS/JS selectors keep working. 'Strip' mode is for pure artwork in <img> tags.
What about embedded fonts?
SVGO keeps embedded resources it can't resolve. If the SVG references external fonts or images, they're untouched — optimize the referenced files separately.