Use instantly SVGOMG (Web GUI for SVGO which is an Node.js-based tool for optimizing SVG files) right on the browser toolbar.
A Chrome extension version of SVGOMG, which is an amazing tool for optimizing SVG vector graphics files. It was developed based on the open-source:
1. Click on the "Open SVG" or "Paste markup" button or drag an SVG file into the extension's popup.
2. Copy as text or Download.
You can configure the options that you want on the "Global settings" box.
After installing the extension, don't forget to pin the icon on the browser toolbar.