SVG Optimizer

Strip comments, metadata, and whitespace from SVG markup.

Works Offline
Privacy First
No Login
No API

SVG input

Optimized SVG

Original
226 B
Optimized
141 B
Saved
-37.6%

About the SVG Optimizer

Clean up hand-written or exported SVG markup by removing comments, titles/descriptions, empty attributes, and extra whitespace, with a live before/after size comparison.

Examples

Optimize exported SVG

<svg><!-- comment --><title>x</title>...</svg>

Output

<svg>...</svg>

Related tools

Frequently asked questions

Read more

Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser