Sanil.app

Compress SVG

Strip editor leftovers from SVG logos and icons. They stay sharp at any size. Files stay on your device, never uploaded.

How to compress SVG files online

  1. Add your SVG files

    Drop SVG files into the box, choose them from your device, or paste them from your clipboard. You can add hundreds at once.

  2. Compress SVG privately on your device

    Each SVG is cleaned on your device: comments, editor metadata, unused definitions and extra decimal places are removed. The drawing stays the same.

  3. Download your smaller SVG files

    Save each file on its own, or take them all in one ZIP. Your files stay private: they never leave your device, so there is no upload to wait for.

How SVG compression works

Design tools such as Illustrator, Figma and Inkscape add comments, metadata, hidden layers and long decimal numbers to every SVG. A browser needs none of it to draw the picture, so removing it makes the file smaller without changing how it looks.

Sanil.app cleans each file on your device and leaves the drawing as it was. Your files stay private: nothing is uploaded, so unreleased logos and icons never leave your device.

Compared onSVG
TypeVector
TransparencyYes
AnimationYes
What changesRemoves comments, editor metadata, unused definitions and extra decimal places
What stays the sameThe drawing, its colours and the SVG format, so it still scales to any size

Questions about compressing SVG files

Will my SVG look the same?

It should. Only data that isn't drawn is removed. Check the result in your usual viewer before you publish it, and keep the original.

Can I still edit the SVG afterwards?

Yes, but layer names and other editor data are gone, so keep the original file as your source.

Why is my SVG still large?

An SVG with an embedded photo or many thousands of path points stays large, because the picture itself is the data. Export embedded photos as separate JPG or WebP files instead.

How do I optimize an SVG for the web?

Add the file and download the cleaned copy. For the smallest result on your site, also serve SVG files compressed with gzip or Brotli, which most web hosts do for you.

Are my SVG files private?

Yes. Sanil.app compresses your SVG files on your device, so they are never uploaded and never reach a server. They stay yours.