Smaller SVG files that look exactly the same
SVGs exported from Illustrator, Figma, Inkscape or Sketch carry a lot of weight the browser never draws: editor metadata, comments, hidden layers, numbers with eight decimal places, groups inside groups. This optimizer runs SVGO — the standard SVG optimisation tool — in your browser to remove it, and shows the result next to the original so you can see that nothing changed but the size.
How to optimise an SVG
- 1Drop one or more SVG files, choose them, or paste SVG markup.
- 2Check the before and after preview, and the size saved for each file.
- 3Lower Precision for smaller files; raise it if curves start to look wrong.
- 4Switch individual SVGO plugins on or off — for example, remove width and height so the SVG scales with CSS.
- 5Download the optimised SVG, copy the markup, or download every file at once as a ZIP.
What gets removed
- Editor data
- Metadata, comments, the XML declaration and doctype, and the namespaces and attributes Inkscape, Illustrator and Sketch add for themselves.
- Redundant markup
- Empty groups and attributes, default values, hidden elements, unused definitions and IDs, and groups that wrap a single element.
- Verbose geometry
- Path data is rewritten with relative commands and fewer digits, shapes become shorter paths, and transforms are folded into coordinates where possible.
Safe defaults, stronger options
The default set is SVGO's own preset, chosen to leave the picture unchanged. The extra options go further but change more than size: removing width and height makes an SVG fill its container, removing the title hides its name from screen readers, and removing xmlns only suits SVG pasted inline into HTML.
To turn a bitmap into an SVG first, use the image converter, which can send its SVG straight here; to embed the result, use image to Base64.
Frequently asked questions
- Is this the same as SVGO or SVGOMG?
- It runs SVGO itself, the same engine SVGOMG uses, with its default preset and the same plugins as switches. Everything runs in your browser.
- Will optimising change how my SVG looks?
- Not with the default settings. A very low precision can bend fine curves, and some extra options change sizing or accessibility — the before and after preview shows the difference straight away.
- Can I optimise several SVG files at once?
- Yes. Drop as many as you like, change the settings once for all of them, and download them together as a ZIP.
- Why is the gzip size shown?
- Web servers usually send SVG compressed with gzip, so that is closer to what visitors actually download.
- Are my files uploaded?
- No. SVGO runs in your browser and the files never leave your device.