Skip to content
ToolsMastar

Optimize and Minify SVG Files

Shrink SVG files by removing editor metadata, comments and redundant whitespace, and strip scripts.

Input:
SVG
Output:
SVG
Max size:
50 MB
Runs:
In your browser (no upload)

What the SVG Optimizer does

Make SVG files smaller by removing editor metadata, comments and unnecessary attributes and by rounding long numbers. Scripts and event handlers are always removed.

Options

  • Round numbers in shapes to 3, 2 or 1 decimals, or keep them exact.
  • Keep <title> and <desc> for accessibility.

How to use the SVG Optimizer

  1. 1

    Drag your SVG file into the upload area, or click it to browse your device.

  2. 2

    Adjust the options to suit your needs — the defaults work well for most files.

  3. 3

    Click “Run SVG Optimizer” to start processing.

  4. 4

    Preview the result, then download it. Batch results can be downloaded together as a ZIP.

Supported formats

Frequently asked questions