SVG optimizer
Shrink SVG files with SVGO, using safe defaults and clear toggles, and compare the before and after size and look side by side.
Runs in your browserNothing uploadedWorks offline
Loading SVG optimizerRuns on this device. Nothing is uploaded.
Questions
Is it safe for my icons?
The defaults use SVGO’s standard preset, which keeps the viewBox and the picture. Check the side by side preview: if something looks off, lower the rounding (raise precision) or untick merging paths.
When should I turn off Clean up ids?
When CSS or JavaScript outside the SVG refers to ids inside it, for example an icon sprite used with <use href="#icon">. Cleaning ids would rename or remove them.
What does precision do?
It is how many decimal places coordinates keep. 3 is a good default; 1 or 2 is smaller but can shift tiny details.
Related tools
All images toolsImagessvg+xml svgSVG to PNGRender SVG files to crisp PNG images at any scale or exact width, on a transparent or solid background, many files at once.Imagesimage jpg jpegAdd text or watermark to imagesPut a caption, credit or tiled watermark on many photos at once, with position presets, drag to place, size, colour and opacity.Imagesimage png jpgApp icon generatorMake an iOS AppIcon set with Contents.json, a macOS .icns and iconset, and Android launcher icons from one 1024 pixel image.Imagesimage jpg jpegAVIF to JPGTurn AVIF images into JPG files that older apps and upload forms accept, in bulk, with a quality slider.Imagesimage jpg jpegAVIF to PNGConvert AVIF images to PNG in bulk, keeping transparency, so any editor or app can open them.Imagesimage jpg jpegBlur or pixelate part of an imageHide faces, names, number plates or screen details by blurring or pixelating the areas you drag over, so the original pixels are not in the saved file.