rapi. svg optimizer
ID

Make SVG files smaller

Drop an SVG, pick what to clean up, and watch the size go down while the preview stays the same. Nothing is uploaded.

or paste SVG code

How it works

1. Add an SVG

Drop a file exported from Figma, Illustrator, Inkscape or any icon set, or paste the code.

2. Choose the cleanups

The default set is safe for almost every file. Lower the number precision for more savings, and check the preview: if shapes start to shift, go one step back up.

3. Copy or download

Download the file, copy the code into your HTML, or copy a data URI for CSS backgrounds.

FAQ

Is my file uploaded?

No. Optimization runs in your browser with SVGO, the open-source tool most build systems use.

Will it change how my SVG looks?

The defaults keep the image the same. Very low precision or removing the viewBox can change it, so compare the preview before you download.

Why keep the viewBox?

The viewBox lets the SVG scale with CSS. Removing it saves a few bytes but often breaks responsive icons.

What does gzip size mean?

Web servers usually send SVG compressed with gzip or Brotli. The gzip number is closer to what visitors actually download.

More tools from garasiapp