← All tools

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…

Each input: 1 MiB UTF-8; output: 2 MiB. Loading stops after 15 seconds; processing after 2 seconds. Content stays local, without uploads or storage.

Enter input or load a sample, then run.

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 →