Compress SVG Path Data

Rewrite a verbose path into a lighter d string

Simplify path? Simplify pathReduce nodes? Reduce nodes

FAQ

Quick answers

How do I compress SVG path data?
Click Compress. Extra geometry is dropped so the d attribute shrinks.
Is this gzip?
No. It is a geometric compress — fewer commands — not HTTP compression.
Will compress break fill-rule holes?
It rewrites each path separately. Complex compound holes may need a lighter tolerance.
Want smaller files overall?
Run Compress SVG Path Data after you like the path.
Simplify path → Reduce nodes → Remove extra points →
Open full editor →

Source

Type or paste SVG markup. The preview on the right updates as you type.

Ready

Live preview

PNG export · 2× for retina