SVG Optimizer
Shrink SVG files by removing editor junk, metadata and extra decimals, and strip scripts that can run code. Preview and download. Free tool.
Drop an SVG file
SVG — up to 5 MB
Decimals
Ad space · responsive
How to use SVG Optimizer
- Drop an SVG file or paste the code.
- Choose how many decimals to keep (2 is safe for most icons).
- Check the preview, then copy or download the smaller file.
Good to know
- Runs in your browser; nothing is uploaded.
Privacy
Runs entirely in your browser. Nothing you enter or open here is uploaded.
Questions
Is it safe to open SVG files from others?
SVG can contain scripts. This tool removes scripts, event handlers, embedded HTML and javascript: links, and shows the preview as a plain image.
Will it change how my SVG looks?
Normally not. With 0 or 1 decimals very small icons can shift slightly — compare the preview.