SVG Optimizer

Minify SVG files in your browser. Strips comments, useless whitespace, default attributes, and rounds long decimals. Files never leave your device.

🔒 Files never leave your browser — no upload, no server, no tracking.
Enter input above to see the result.

What is this for?

SVG Optimizer minifies SVG files by removing unnecessary bytes: comments, excess whitespace, redundant attributes, and overly precise decimals. It runs entirely in your browser with no server upload, making it safe for proprietary or sensitive files. The tool applies only conservative, safe optimisation passes — suitable for icons, logos, and web graphics where visual fidelity is already locked in.

When to use it

How it works

Common gotchas

Privacy and performance