How SVG optimization works
SVG is text. Design tools add comments, hidden layers, long IDs and coordinates with many decimals that browsers don’t need.
Comprim runs SVGO with safe defaults. Custom mode lets you choose decimal precision and whether to keep IDs for CSS and animation.
An optimized SVG is usually 30–60% smaller, and it also compresses better on the server. For icons that ship with every page, that adds up quickly.
Compressing never turns your SVG into pixels: the result is still a vector file you can open and edit. If you need a PNG instead, use the SVG to PNG converter.
Lossless, Smart or Custom for SVG
| Mode | Typical saving | Best for |
|---|---|---|
| Lossless | −38% | Archives, print, pixel-perfect assets |
| Smart | −51% | Websites, apps, social — the default |
| Custom · 1 decimal | −61% | Strict size budgets, email attachments |
Will my SVG animations break?
Smart mode keeps IDs and classes used by CSS or scripts. Check the preview before downloading.
Will the SVG still be editable?
Yes. The result is a regular SVG that editors open as before. Only editor-specific data, such as Illustrator or Sketch metadata, is removed.
What does decimal precision change?
How many digits each coordinate keeps. Two or three are invisible on icons; very detailed illustrations may need more to avoid tiny shifts.
Is it free?
Yes. During the public beta you can compress as many SVG files as you like, with no daily limit and no sign-up. Files up to 200 MB each; project storage up to 2 GB on your device.
Are my files uploaded?
No. Compression runs inside this page with WebAssembly. Nothing is sent to a server — not even the file names.