Оптимизатор SVG
Optimize and minify SVG files by removing comments, metadata and whitespace.
Preview
About SVG Optimization
SVG files from design tools like Illustrator, Figma, and Inkscape often contain unnecessary metadata, comments, editor-specific attributes, and whitespace that increase file size without affecting the visual output. Optimizing SVGs can reduce file size by 20-60%, improving page load times. This tool performs safe optimizations that preserve the visual appearance of your SVG.
How It Works
- Paste or upload SVG: Enter SVG markup directly or upload a .svg file exported from Illustrator, Figma, or Sketch.
- Configure optimisation passes: Choose which optimisations to apply — comment removal, metadata stripping, path simplification, and viewBox normalisation.
- Optimise: The tool runs the selected passes and shows the file size reduction percentage.
- Download or copy: Save the optimised SVG or copy the markup to paste into your code.
Why Optimise SVGs?
SVG files exported from design tools are filled with unnecessary data — editor metadata, inline style declarations with default values, empty groups, redundant transform attributes, and comments. This bloat increases file size without affecting the visual output. SVGO (the industry-standard SVG optimiser used here) can typically reduce SVG file size by 50–80% while maintaining pixel-perfect rendering. Smaller SVGs load faster, inline faster in HTML, and reduce bandwidth — especially important for icon systems with dozens of SVG files loaded per page.
Optimisations Applied
- Comments removed — editor and generator comments stripped
- Metadata removed — title, desc, and XMP metadata elements
- Empty groups collapsed — unnecessary
<g>wrapper elements removed - Paths simplified — redundant path commands merged and shortened
- Attributes cleaned — default values and presentation attributes removed
- ViewBox normalised — consistent coordinate system