SVG Optimiser - Minify & Clean SVG Files Online
About the SVG Optimiser
SVG files exported from design tools like Figma, Illustrator, and Inkscape often contain unnecessary metadata, editor comments, hidden elements, and verbose attributes that inflate the file size without affecting the visual output. This tool uses SVGO (SVG Optimiser), the industry-standard library, to clean up SVG files and reduce their size.
The entire optimisation process runs in your browser. No files are uploaded to any server, making it safe for proprietary icons, brand assets, and other sensitive graphics.
How to Use
Upload an SVG file or paste SVG code into the text area and click Optimise. The tool shows a side-by-side preview of the original and optimised SVG, the file size before and after, and the percentage saved. Copy the optimised code to your clipboard or download it as a file.
What Gets Optimised
- Metadata removal. Strips XML declarations, editor namespaces, comments, and title/desc elements.
- Attribute cleanup. Removes default and redundant attributes, collapses unnecessary groups.
- Path merging. Combines adjacent paths where possible and simplifies path data.
- Numeric precision. Rounds floating-point values and removes trailing zeros.
- Multipass. Runs multiple optimisation passes to catch improvements that only become possible after earlier passes.
Related Tools
Image Compressor
Compress images in your browser with adjustable quality and format selection.
Image Resizer
Resize images to any dimension with aspect ratio lock and common presets.
Image to Base64
Convert images to Base64 strings, data URLs, and HTML img tags.
QR Code Generator
Generate QR codes from text or URLs with custom colours, size, and error correction.