Kharabeesh
On-device ع

SVG Optimizer & Inspector

Shrink SVG files with SVGO in your browser using options you control, compare size and look before and after, inspect elements, size and colours, and copy as a data URI.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Upload an SVG file or paste the code.
  2. Adjust the options (precision, remove scripts, dimensions…); the result updates right away.
  3. Compare the look and size before and after, and read the inspection report.
  4. Download the optimised file, or copy the code or a data URI.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: svgo (open-source libraries bundled with the site).
  • Works offline after you open it once.

Frequently asked questions

Does optimising change how it looks?

Usually not. Very low precision (0 or 1) can shift points slightly in small detailed drawings. Compare both previews and raise the precision if you see a difference.

Why keep the title?

The title gives the graphic a name that screen readers announce. Keep it for meaningful icons; remove it only for decorative art.

What does removing dimensions do?

It drops width and height and keeps the viewBox, so the graphic scales with its CSS container. Leave it off if you need a fixed size.

Is the preview safe if the file has scripts?

Yes. The file is shown as an image through <img>, and browsers do not run scripts inside images. We still recommend keeping “remove scripts” on.

Formulas & sources

Related tools