
About SVGO
SVGO is an open-source tool that makes SVG files smaller by removing data they do not need. It runs as a Node.js library or from the command line, and there is an online playground to test settings.
What it does
SVGO reads an SVG file, applies a set of optimisation plugins and writes a cleaner version. The drawing should look the same while extra metadata, comments and redundant attributes are removed. It can also be wired into build tools such as webpack, PostCSS and Docusaurus, so optimisation runs as part of your normal build.
Key features
- Command line use with npx svgo
- JavaScript API for Node.js projects
- Plugins for webpack, PostCSS and Docusaurus
- Online playground to test settings
Who it's for
Front-end developers who ship icons and illustrations on websites, build engineers automating asset pipelines, and designers who want lighter files before they publish.
Pricing and good to know
SVGO is free and released under the MIT license. Its content and assets are under CC-BY-4.0. It runs wherever Node.js runs. Optimised files should be checked visually, because aggressive settings can change how some drawings look.
Highlights
- Command line use with npx svgo
- JavaScript API for Node.js projects
- Plugins for webpack, PostCSS and Docusaurus
- Online playground to test settings








