Free tool
SVG Optimizer
SVG exports from Illustrator or Figma can contain metadata, empty layers, and unnecessary decimal precision. Load a file to review optimization options and reduce overhead while checking the result visually.
Original
Optimized
Drop your SVG here
or click to choose a file · no uploads
Result
The first optimization loads the engine. Subsequent operations use the loaded engine.
Engine: SVGO v4, under the MIT license, running entirely in your browser.
Reduce SVG overhead while keeping the intended drawing
Load your SVG or try the sample. Review each optimization setting, compare both previews, and inspect the downloaded result in its target context. Removing metadata or IDs may affect accessibility, CSS, scripts, or animation that depends on them. Keep the original file. Savings depend on the source SVG.
Compare the file size and the drawing
Use the original and optimized previews to check thin lines, corners, and curves. If lowering precision changes a detail, raise it again. Compare the file sizes after each adjustment so you can choose the smallest version that still looks right.
Check IDs before embedding the SVG
Keep IDs used by your CSS, JavaScript, or animation. After copying the optimized markup or downloading the file, test it in the page or app where it will be used.
Is this a security sanitizer?
No. Optimization is not a guarantee that untrusted SVG is safe. Review third-party files before embedding them in a website.