SVG Optimiser
Images & AssetsPaste SVG code or upload an SVG file to remove unnecessary elements, whitespace, and reduce file size.
How to Use
Paste SVG code
Paste your SVG markup into the text area, or upload an .svg file.
Optimise
Click Optimise — comments, empty groups, and redundant attributes are removed.
Copy or download
Copy the optimised code to your clipboard or download it as an .svg file.
About SVG Optimiser
SVG files exported from design tools are often bloated with metadata and redundant attributes that slow down websites. ILikePdf SVG Optimiser cleans your markup, removes unnecessary attributes and metadata, and reports the size saved — often 30–70%. Precision controls let you balance file size against fidelity for complex illustrations. The optimization runs entirely in your browser, so your source file stays local and your pages load faster.
How to optimise SVG files SVG Optimiser
Common use cases for SVG Optimiser
- Shrink SVG assets for faster page loads.
- Clean up exported SVGs from design tools.
- Remove invisible metadata from shared icons.
- Reduce file size before inlining SVGs in HTML.
Pro tips
- Optimized SVGs often shrink by 30–70%.
- Keep precision high for complex illustrations.
- Optimization runs entirely in the browser.