# SVGO

> SVG optimizer for Node.js and the command line

Source: https://talira.ai/catalog/svgo-qh98bbqy
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [media / images / optimization](https://talira.ai/categories/media/images/optimization)
- Platforms: linux, macos, windows
- Licence: MIT[^1]
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes
- API: yes[^2]
- Plugins: yes[^3]
- Backed by: [SVGO](https://talira.ai/orgs/svgo.md)

SVGO (SVG Optimizer) is an MIT-licensed Node.js library and command-line tool that makes SVG files smaller by removing what vector editors leave behind: editor metadata, comments, hidden elements, default or suboptimal values and other content that can be dropped or rewritten without changing how the image renders. It processes single files or whole folders recursively, outputs files or data URIs, and is built from plugins, with a default preset and a config file (svgo.config.mjs) to turn plugins on or off or add your own. Many tools bundle it or integrate with it, including Docusaurus, PostCSS and webpack, and the website has a browser playground.

## Links

- Website: https://svgo.dev/
- GitHub: https://github.com/svg/svgo
- Docs: https://svgo.dev/docs/introduction/

## Problems it solves

- SVG files exported from Illustrator or Figma are bloated with metadata
- minify all the SVG icons in a folder from the command line
- optimize SVGs automatically in my webpack or PostCSS build
- make inline SVGs smaller to speed up my website
- turn SVGs into compact data URIs for CSS

## Features

- removes editor metadata, comments, hidden elements and default values
- CLI for files and recursive folders
- JavaScript API for Node.js
- plugin architecture with a default preset and custom plugins
- config file (svgo.config.mjs) with multipass, pretty printing and data URI output
- integrations in Docusaurus, PostCSS, webpack and other tools
- browser playground on the website

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Takes plugins: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.66 out of 1.
Signals: maintenance 0.63, adoption 0.87, momentum 0.64, community 0.95, backing 0.30, extensibility 0.60.

- last commit 16 days ago
- 4 commits in the last 90 days
- latest release v4.1.0 3 months ago
- 22.8k GitHub stars
- 230 contributors
- accepts sponsorship (Open Collective)
- has a company behind it
- has a plugin system

## Sources

[^1]: https://github.com/svg/svgo/blob/main/LICENSE (checked 22 Nov 2026)
[^2]: https://svgo.dev/ (checked 22 Nov 2026)
[^3]: https://github.com/svg/svgo (checked 22 Nov 2026)
