SVG Optimizer

Clean up and compress SVG code by removing comments, metadata and editor cruft, and by rounding coordinates.

Privacy: This tool runs entirely in your browser. Your data never leaves your device and is never uploaded to any server.

Optimized SVG will appear here.
Input: 0 BOutput: 0 B Removes comments, metadata and editor cruft

Frequently asked questions

What does the optimizer remove?

It strips the XML declaration, comments, metadata, editor-specific attributes and redundant whitespace, and rounds long decimals.

Will the SVG still render the same?

The cleanup only removes non-visual markup, so the rendered result stays the same in virtually all cases.

Is my code uploaded?

No. Optimization runs locally in your browser.

More Image tools