SVG Optimizer

Make SVG files smaller by removing metadata, comments and redundant code left by design tools. Optimization runs in your browser with SVGO, and your files are never uploaded.

  • Runs on your device
  • No sign-up
  • Free, no watermark
Loading the SVG optimizer…

How to use the SVG Optimizer

  1. 01Drop your SVG files into the box, or click it to choose them.
  2. 02Each file is optimized straight away with SVGO's default preset. The list shows the new size and the saving.
  3. 03Adjust the settings if you need to. Every file is optimized again with the new settings.
  4. 04Open a file to compare the original and optimized versions, or switch to Code to copy the markup.
  5. 05Download files one by one, or all of them as a ZIP.

Good to know

Runs on your device

SVGO runs in your browser. Your SVG files are not sent to a server.

Adjustable

Set the number precision, turn on pretty printing, and choose whether to remove width and height.

Check the result

Compare the original and optimized image side by side, or read the optimized code.

Batch download

Optimize many files at once and download them together as a ZIP.

Frequently asked questions

Are my SVG files uploaded?

No. SVGO runs in your browser, and your files never leave your device.

What does the optimizer remove?

It uses SVGO's default preset: comments, metadata, editor data from tools like Illustrator, Inkscape and Sketch, hidden or empty elements, unused definitions and redundant attributes. It also shortens path data, colours and numbers. The viewBox is always kept, so the SVG still scales with CSS.

What do the settings do?

Multipass repeats the optimization until the file stops getting smaller. Pretty print adds line breaks and indentation so the code is readable, which makes the file slightly larger. Precision sets how many decimal places numbers keep. Remove width and height lets the SVG size itself from CSS.

Will the image look different?

Usually not. A precision of 1 or 2 can visibly shift detailed shapes, so compare the preview before you download. If something looks off, raise the precision.

Why is the title removed?

SVGO's default preset removes title elements, along with desc elements that are empty or only say which program created the file. If your SVG relies on its title for accessibility, add it back, or give the image alt text where you use it.

Related tools