Avoid appearance-changing shortcuts
The optimizer does not blindly delete attributes such as fill="black" or stroke="none", because inheritance and CSS can make those values meaningful.
Validate and reduce SVG source using DOM-aware cleanup instead of risky global replacements, with an optional active-content security pass.
The optimizer does not blindly delete attributes such as fill="black" or stroke="none", because inheritance and CSS can make those values meaningful.
SVG may include scripts, event handlers, external resources and foreign HTML. Keep security cleanup enabled before previewing or embedding untrusted files.
Reducing decimal precision can slightly alter complex curves, filters and transforms. Compare the optimized artwork at its intended display size.
No browser-only sanitizer can guarantee safety in every embedding context. The security pass removes common active vectors, but serve untrusted SVG as a download or rasterize it for high-risk use cases.
Rendering untrusted SVG can initiate external requests or active behavior depending on browser and embedding context, so this tool previews only cleaned output.
One usage is recorded when you press Optimize SVG. Loading, editing, copying and downloading do not add uses.