SVG files saved by drawing programs carry a lot the browser never uses: comments, metadata, editor-specific attributes, coordinates with six decimal places, style values that are already the default. Removing them often halves the file without changing a pixel.
Paste the code or open a file. The result appears with a live preview and the saving in bytes, so you can confirm it still looks right before using it.
How to use the SVG Optimizer tool
- Paste SVG code or open an .svg file.
- Choose how many decimals to keep and what to remove.
- Check the preview, then copy or download the smaller file.
Popular uses
- Icons and logos for a website
- Inline SVG in HTML and CSS
- Cleaning exports from Illustrator, Inkscape and Figma
Tips for the best result
- Two decimals are enough for icons; use three for large, detailed illustrations.
- Keep ids if your CSS or JavaScript refers to them.
Quick facts
| Price | Free |
|---|---|
| Works with | SVG |
| Where it runs | In your browser, on your device |
| Account | Not needed |