Skip to content
Convertto

SVG Optimiser — Shrink Icons and Illustrations Losslessly

Strip editor cruft and optimise path data to cut SVG file size, usually by half or more.

An SVG exported from Illustrator, Figma or Sketch carries editor metadata, empty groups, redundant attributes and path coordinates at far more precision than any screen can show. Optimising strips all of it and rewrites the path data, typically cutting file size by half or more with no visible change — the markup shrinks, the picture does not.

Runs in your browser
Typical saving
40–70% on editor-exported SVGs
Privacy
Optimisation runs in your browser — files are never uploaded
Cost
Free, unlimited, no sign-up

Frequently asked questions

Why did my SVG disappear or scale wrongly after optimising?

Almost always the viewBox was removed. Without it an SVG has no intrinsic coordinate system to scale against, so it renders at its literal width and height or collapses entirely. Keep the viewBox — that is why it defaults to on here.

Why did my CSS animation stop working?

ID cleanup renamed or removed the elements your CSS or JavaScript was targeting. Any SVG that is styled or animated from outside needs "Keep element IDs" switched on; the size cost is a few bytes.

What coordinate precision should I use?

2 or 3 decimal places. An SVG coordinate is in user units, and three decimals is already finer than a single device pixel on any display — anything beyond that is pure file size. Dropping to 0 will visibly flatten curves on large illustrations.

Is optimisation lossless?

The safe level is: it removes only metadata and redundancy. Balanced and aggressive rewrite path data, which is lossy at the coordinate level though not visibly so at sensible precision. Aggressive also restructures the document, which is where scripted or styled SVGs break. Check anything interactive after optimising.

How to use the svg optimizer

  1. 1Drop your SVG files in, or paste the markup.
  2. 2Choose an optimisation level — start with Balanced.
  3. 3Keep the viewBox unless the icon is a fixed size.
  4. 4Copy the optimised markup, or download the files.

Embed this tool

Put the working svg optimizer on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.

Share this tool

Last updated

More image tools