What the optimiser removes
Comments, metadata blocks and the namespaced attributes drawing applications leave behind, plus empty groups. Numbers are rounded to the precision you choose, and a viewBox is added when the file is missing one.
Strip the editor leftovers out of an SVG, round its numbers, then take it out as a React, Vue, React Native, Flutter or Android component. Everything happens in this tab - the file is never uploaded anywhere.
Paste the markup, or drop an .svg file onto the box.
560 B → 272 B, 51% smaller
Comments, metadata blocks and the namespaced attributes drawing applications leave behind, plus empty groups. Numbers are rounded to the precision you choose, and a viewBox is added when the file is missing one.
It will not merge paths, flatten transforms or drop ids that something references. Those save bytes but can change what the file looks like, and a smaller icon that renders differently is not a win.
VectorDrawable only draws paths, so rectangles, circles and polygons are converted first. Gradients, filters and text have no equivalent - those are reported rather than dropped silently.