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.
Drop an SVG, pick what to clean up, and watch the size go down while the preview stays the same. Nothing is uploaded.
Drop a file exported from Figma, Illustrator, Inkscape or any icon set, or paste the code.
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.
Download the file, copy the code into your HTML, or copy a data URI for CSS backgrounds.
No. Optimization runs in your browser with SVGO, the open-source tool most build systems use.
The defaults keep the image the same. Very low precision or removing the viewBox can change it, so compare the preview before you download.
The viewBox lets the SVG scale with CSS. Removing it saves a few bytes but often breaks responsive icons.
Web servers usually send SVG compressed with gzip or Brotli. The gzip number is closer to what visitors actually download.