More in Forge (4)
SVG Optimizer
Remove editor clutter and reduce SVG file size for production.
Optimized code appears here
Keep working with these tools
Nothing sent
Since you opened this page, this tool has sent 0 bytes anywhere. It's counting every network request live — check your browser's Network tab if you want to see it yourself.
Common use cases
- Stripping Figma, Illustrator, and Sketch metadata from exported UI icons before committing them to React or Vue
- Cutting inline SVG bloat inside web bundles to speed up initial HTML parsing and hydration
- Cleaning up brand logos, diagrams, and illustrations before embedding them in emails or documentation
- Optimizing unreleased brand marks and proprietary UI artwork locally without uploading files to a cloud optimizer
- Removing redundant groups, comments, XML declarations, and excessive floating-point precision in one pass
Why SVG Optimizer?
SVG files exported straight from Figma, Illustrator, or Sketch are packed with things browsers never need: editor namespaces, XML headers, hidden layers, redundant wrapper groups, empty attributes, and six-decimal coordinates that no screen can distinguish. That clutter often doubles or triples the size of inline icons.
This SVG Optimizer runs SVGO — the same industry-standard optimization engine used in modern build pipelines — completely inside your browser with multi-pass cleanup. It preserves your viewBox so responsive scaling keeps working, while keeping proprietary brand assets strictly on your machine.