SVG Cleaner & Optimizer
Clean and optimize SVG files. Strip metadata, simplify paths, see the size savings.
Clean and optimize SVG files in your browser. Strip metadata, simplify paths with adjustable precision, collapse default fills/strokes, remove hidden elements - and see byte counts and percent savings before downloading.
When to use it
- 1Optimizing icons exported from Figma or Sketch before checking them in.
- 2Stripping metadata from SVGs that will ship in production assets.
- 3Reducing inline-SVG size in a React component.
How it works
- 1
Paste or drop SVG
Drag-and-drop or paste markup. Both are rendered side-by-side.
- 2
Toggle cleanup options
Remove comments, metadata, default fills/strokes, hidden elements. Round numbers via a precision slider.
- 3
See savings
Byte counts and percent saved show below the panes. Copy or download the cleaned version.
Frequently asked
Does it lose anything?
If you are aggressive (precision 0, collapse groups), some details may shift slightly. Compare the previews and dial back if needed.
Want a tool just like this, but yours?
Every tool on this page was generated by GenMB from a single prompt. Describe yours and ship it to your own subdomain in minutes.
Build with GenMBRelated tools
AI Color Palette Generator
Generate beautiful color palettes by random, harmony, or AI prompt. Save your library, export as CSS or Tailwind.
CSS Box Shadow Generator
Design CSS box-shadows visually with multiple layers. Save your library and copy production-ready CSS.
CSS Clamp() Calculator
Build fluid responsive typography and spacing with clamp(). Min, max, and viewport ranges, copy CSS.
Responsive Viewport Tester
Test how a site looks at different viewport sizes. Save device presets when signed in.