Kadben

SVG cleaner

Make SVG icons and drawings smaller for the web: the data that drawing programs leave in the file is removed, and nothing that draws is touched. Scripts are never run, and outside files never loaded.

Runs in your browser. Nothing is uploaded.

SVG cleaner

SVG files
or drop SVG files here, several at once
Options

The cleaned SVG files appear here.

How to use it

  1. Choose one or more SVG files, or drop them on the box.
  2. Keep “Round numbers” off for an identical picture; round to 2 or 3 decimals for smaller files.
  3. See for each file what was removed and how many bytes were saved; the thumbnails show the picture before and after.
  4. Download each file, or all of them as one ZIP.

Rules and limits

What is removed

Safety

Limits

Questions and answers

Will my icon look different?

Not without rounding: only parts that do not draw are removed, and the test set is drawn by Chrome before and after at two sizes with no pixel different. Rounding can move edges by a fraction of a pixel.

Why are titles and descriptions kept?

Screen readers read the <title> and <desc> of an SVG aloud, so they belong to the picture. Editor data, layer names and metadata do not.

Why does it not shorten path data like other optimizers?

Rewriting paths and shapes can save more, but it changes the drawing in ways that are hard to check. This page only does changes whose result is proven the same; use rounding for more savings.

Are my files uploaded?

No. They are cleaned in your browser, and the page cannot send them anywhere.

Related tools