SVG Optimizer & Icon Cleaner
Strip unneeded metadata, comments, and whitespace to shrink SVG file size right in your browser
Strips out unnecessary XML declarations, comments, metadata, and whitespace from your SVG source to produce a lean, optimized SVG.
도구를 불러오는 중…
🔒 Everything runs 100% in your browser. Your files and input are never uploaded to any server.
How to use
- Paste your SVG code or upload a file.
- Choose which cleanup options to apply — comments, XML header, metadata.
- Check the size reduction and live preview, then copy the code.
FAQ
- Will this break the image?
- No — all the paths and graphic attributes needed for rendering are kept intact, so only the file size shrinks, not the visual quality.
- Does it optimize SVGs exported from Illustrator or Figma?
- Yes, it also strips the extra group tags, IDs, and editor-only attributes those tools tend to insert automatically, which usually shrinks the file even further.
- Will it break an animated SVG?
- No, attributes and IDs used by SMIL or CSS animations are preserved during optimization, so animated SVGs keep working correctly.
