Skip to main content

SVG Optimizer for Node.js and CLI

SVGO and its various integrations will enable you to optimize SVGs and serve your web applications faster.

$ npm i -g svgo
svgo --help

Easy to Use

SVGO can be used through both the command-line interface and JavaScript API, with help pages and documentation available for both.

Integrations

Many libraries, frameworks, or tools bundle or have integrations available for SVGO already, like Docusaurus, PostCSS, and webpack.

Open-Source

We welcome contributions! Feel free to to file a bug report, feature request, or open pull requests on GitHub.