Inert SVG Minifier
Compact supported static SVG XML locally, preserve text and local fragment references, and reject active or external resources.
svg-minifierLOCAL WORKSPACE
Enabling local controls…
If clipboard access is denied, select the read-only output manually. Input HTML, SVG, CSS and JavaScript are never rendered or executed.
How to use this tool
Paste static vector SVG and run Minify. Inspect and copy the text output. Text whitespace and xml:space are retained; container whitespace and empty tag syntax are compacted.
When not to use it
No SVG is rendered. Scripts, handlers, DTD, animation, stylesheets, embedded images, foreignObject and external references are unsupported. Path and geometry limits apply.
Read the guide →