Scrawlspace › Image Tools

SVG Optimizer

Minify SVG files with SVGO to remove editor clutter and shrink them, and compare the original and optimised versions side by side.

How to use SVG Optimizer

  1. Paste SVG code into the input, or drop an SVG file.
  2. Adjust Precision and options such as Multipass, Keep IDs, Remove width/height and Pretty print.
  3. Check the Preview and Code views of the result.
  4. Copy the optimised SVG or Download it.

Frequently asked questions

How do I reduce SVG file size?

Run it through SVGO here. It removes metadata, comments and redundant code and rounds numbers, often making files much smaller without a visible change.

Will optimising change how my SVG looks?

Usually not, but lowering precision too far or removing IDs that scripts or CSS rely on can. Check the preview and use Keep IDs if needed.

What does Remove width/height do?

It drops the fixed size and relies on the viewBox, so the SVG scales to fit its container.

Is my SVG uploaded?

No. SVGO runs in your browser.