SVG optimizer
Strip editor junk and shrink SVG markup.
About SVG optimizer
SVGs exported from Illustrator, Figma or Sketch carry editor junk that doubles their size. Clean it out, round numbers sensibly, and get a lighter file that renders exactly the same, with a before-and-after preview.
- Keep IDs if you animate or style elements by ID.
- Check the preview after enabling aggressive path merging.
- Batch optimize an entire icon set and download a zip.
How to use it
- 1Drop SVG files or paste SVG markup.
- 2Choose the optimizations; the defaults are safe.
- 3Download or copy the optimized SVG.
Questions
- Will the SVG look different?
- Not with the default settings. The preview shows both so you can confirm.
- How much smaller will it get?
- Typically 30 to 70% depending on how much metadata the editor added.
- Is anything uploaded?
- No. Everything runs in your browser, so your files never leave your device.
More developer tools
Favicon converterTurn any image into favicon ICO and PNG sizes.App icon generatorGenerate the full iOS and Android icon set from one image.OG image generatorDesign a 1200×630 link preview card with templates, presets and the meta tags.OG image checkerPaste a URL and see its link preview, Open Graph tags and what to fix.Color palette extractorPull the dominant colors out of any image.Image color pickerClick any pixel and copy its color.Sprite sheet generatorPack icons into one sheet with matching CSS.Blurhash generatorCreate a tiny blurred placeholder for lazy loading.