SVG optimizer
Shrink SVG files by removing redundant data, rounding numbers and cleaning up design-tool leftovers, with a visual comparison.
In your browser
How to use
- 1Open an SVG file or paste the code.
- 2Choose the compression options and decimal precision.
- 3Compare the two previews, then download the compressed file.
FAQ
Is SVG optimizer free?
Yes, SVG optimizer is completely free and needs no account.
Are my files uploaded to a server?
No. The tool runs entirely inside your browser, and your files and text never leave your device at any point.
Does it work on mobile?
Yes. It works in any modern browser on a phone or computer, with no app to install.
Related tools
Color converterConvert any color between HEX, RGB, HSL and OKLCH, pick it with the color picker, and get its lighter and darker shades.
Gradient generatorDesign linear, radial and conic CSS gradients with multiple colors, and copy ready code for CSS or Tailwind.
CSS shadow generatorDesign a multi-layer box-shadow with a live preview on a card and ready-made templates, and copy the code.
Color contrast checkerCheck the contrast of text color against its background by WCAG standards, and get a suggested color that meets the required level.
Color palette generatorGenerate a harmonious color palette from a base color: complementary, analogous, triadic and monochromatic, with color locking and export.
SVG viewerView SVG files safely with zoom and background change, and convert them to Data URI, Base64, CSS or JSX.