Watch: shrink an SVG
No sound. Each step is captioned on screen and also written out in the guide below.
Image Tools
Make SVG files smaller by removing editor leftovers, comments, and extra digits. Every result is checked pixel by pixel, so you can see it still looks the same.
Add an SVG to optimize it.
No sound. Each step is captioned on screen and also written out in the guide below.
Drop exported files or paste the code. Several files work together.
See the size before and after, both versions side by side, and the pixel comparison.
Copy the optimized code, or save the files one by one or as a .zip.
Each result is drawn next to the original and compared pixel by pixel. At the default precision, typical icons and logos come out identical. Lower precision makes files smaller and can shift edges slightly; the comparison shows how much.
IDs that gradients, clip paths, links, or accessibility labels point to are kept. If the SVG has a style sheet or script, all IDs are kept, because they might be used there.
Only if you want the SVG to scale to its container, for example in a responsive layout. The viewBox keeps its shape. Leave them on for fixed-size icons.
No. Optimizing and the visual check both run in your browser.