SVG Optimizer

Clean and minify SVG files to reduce their size.

SVG — Processed locally in your browser

SVG preview

What is this tool?

Clean up and minify SVG files by stripping comments, metadata, and unnecessary whitespace, and shortening numeric values — reducing file size without changing how the image looks.

How to use it

  1. 1
    Upload an SVG file.
  2. 2
    Choose which optimizations to apply.
  3. 3
    Download the optimized SVG.

Key features

Supported formats

Input: SVG. Output: SVG (optimized).

Good to know

Aggressive number rounding can slightly affect very fine, sub-pixel details in complex illustrations.

Frequently asked questions

Will optimizing change how my SVG looks?

No — these optimizations remove data that isn’t rendered (comments, metadata, extra whitespace) and shorten precision, without visibly altering the graphic.

Which options should I leave checked?

All four are safe for most SVGs; only uncheck number minification if you rely on very high decimal precision for exact positioning.

Related tools