SVGO (SVG Optimizer) is a powerful Node.js library and command-line tool designed to reduce SVG file sizes by removing unnecessary data. Vector editor exports often contain redundant information like metadata, comments, hidden elements, and default values that don't affect how the SVG renders.
Key capabilities include:
svgo.config.mjs or command-line optionsoptimize() function in your Node.js projectsInstall globally for command-line use or add to your project dependencies. The default preset includes optimized settings for most use cases, but you can customize individual plugins or disable specific optimizations as needed. Perfect for reducing SVG assets in web projects, design systems, and icon libraries.
$ npm install -g svgo
Activity score
76/100
Stars
Forks
Latest version
Last commit
First release
Language
License
Auto-fetched .