uencoder

SVG Optimizer

Optimize SVG by removing comments, metadata, redundant attributes, and whitespace. Shows before/after size comparison. Free, private, and 100% client-side.

Local only

Recent history

No history yet

How to use

  1. Paste your SVG code
  2. The optimizer runs instantly
  3. View the optimized SVG and size reduction
  4. Copy or download the result

Frequently asked questions

What does the optimizer remove?
Comments, XML declarations, editor metadata (Inkscape/Sodipodi), redundant namespace declarations, unused IDs, empty groups, and excess whitespace.
Is the optimized SVG visually identical?
Yes. The optimizer only removes non-visual metadata and whitespace. The rendered output is identical.

Related tools