← Back to tools

SVG Optimizer

Paste SVG markup to clean and minify it. Strips comments, metadata, and unnecessary whitespace.

Input SVG
Optimized SVG
Original
Optimized
Saved

SVG (Scalable Vector Graphics) files exported from design tools like Figma, Illustrator, and Sketch often contain unnecessary data: editor metadata, hidden layers, redundant groups, overly precise coordinates, and default namespaces. This bloat can double or triple the file size.

Optimizing SVGs removes this cruft while preserving visual output. Common optimizations include removing comments and metadata, collapsing unnecessary groups, shortening numeric precision (12 decimal places to 2), merging overlapping paths, and stripping default attribute values the browser already assumes.

Smaller SVGs mean faster page loads, especially on sites with many icons. An optimized icon set can save 50-80% file size compared to raw design tool exports. This tool runs client-side so your SVG code never leaves your browser — important for proprietary icons and brand assets.

This tool in other languages:

Français:
Optimiseur SVG

Español:
Optimizador SVG

Deutsch:
SVG-Optimierer

Português:
Otimizador SVG

日本語:
SVG最適化ツール

中文:
SVG 优化压缩工具

한국어:
SVG 최적화 도구

العربية:
أداة تحسين SVG