SVG Optimizer
Shrink an SVG by removing editor data, comments and extra decimals, check it still looks the same, and save or copy the smaller code.
Runs in your browser. Files stay on this device.Built with SVGO (MIT)
How to use SVG Optimizer
- 1Drop an SVG file or paste its code.
- 2Pick how many decimals to keep and which extras to remove.
- 3Compare before and after, then save or copy the smaller SVG.
Questions
What does it remove?
Comments, editor data, metadata, empty groups, default values and extra decimal places. Shapes are rewritten as shorter paths where that is safe.
Will it change how my SVG looks?
Usually not. Fewer decimals can shift fine detail slightly, so compare the two previews. Keep more decimals if anything moves.
Why keep the title?
The title and description are read by screen readers. Remove them only for decorative images.
Is my file uploaded?
No. SVGO runs inside your browser and the file never leaves your device.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- DesignColour ConverterConvert a colour between HEX, RGB, HSL, HSV, HWB, OKLCH and CMYK, and check its contrast against white and black.
- DesignColour Picker from ImageClick anywhere on an image to get the exact colour as HEX, RGB and HSL, and see its main colours.
- DesignAspect Ratio CalculatorFind the aspect ratio of any width and height, resize to a new width or height at the same ratio, and see megapixels and common sizes.
- DesignBackground & Wallpaper GeneratorMake mesh gradients, grain textures and dot, grid, wave or stripe patterns at any size, then download a PNG or copy the CSS.
- DesignBorder Radius GeneratorRound each corner of a box in pixels or percent, see the shape change and copy the shortest CSS.
- DesignBox Shadow GeneratorSet the offset, blur, spread and colour of a CSS box shadow, watch it on a box and copy the CSS.