Skip to content
M2TOOLKIT

SVG Optimizer

Make SVG files smaller without changing how they look.

  • Free
  • No sign-up
  • Files stay on your device

or drag and drop it here

2 places

Your files are processed entirely in your browser using built-in web technologies. They are not uploaded to our servers, and closing the page clears them from memory.

How to use the SVG Optimizer

  1. Drop an SVG file or paste the code.
  2. Choose what to remove and how many decimal places to keep.
  3. Check the preview, then copy or download the optimised file.

What does this tool do?

Design apps export SVGs with editor metadata, comments and coordinates to many decimal places. Removing them often cuts the file size by 20–60%, which speeds up web pages.

Optimisation is conservative and happens in your browser. The preview is sanitised so any embedded scripts can't run.

Why use it?

  • Typically 20–60% smaller.
  • Adjustable precision.
  • Safe preview.

Accuracy and limits

  • Two decimal places is safe for most icons; use 3 or more for large, detailed illustrations if you see shapes shift.

Privacy

Your files are processed entirely in your browser using built-in web technologies. They are not uploaded to our servers, and closing the page clears them from memory. There's no account to create and nothing to install.

Last reviewed by the M2Toolkit team.

Other tools people use alongside the svg optimizer.