Command-line tool
svgo
brew/svgo
Checked 26 Oct 2026, 08:31 UTC · Still published on npm
Nodejs-based tool for optimizing SVG vector graphics files svgo svg optimize minify
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 26 Oct 2026, 08:31 UTC
Install it
Windows
npm install -g svgo
macOS
brew install svgo npm install -g svgo
Linux
npm install -g svgo
Optimize a file using the default plugins (overwrites the original file)
svgo test.svg
Optimize a file and save the result to another file
svgo test.svg -o test.min.svg
Optimize all SVG files within a directory (overwrites the original files)
svgo -f path/to/directory_with_svg_files
Related command-line tools
- volk
Vector Optimized Library of Kernels - autotrace
Convert bitmap to vector graphics - potrace
Convert bitmaps to vector graphics - inkscape
Professional vector graphics editor - asymptote
Powerful descriptive vector graphics language - cairo
Vector graphics library with cross-device output support - plotutils
C/C++ function library for exporting 2-D vector graphics - ivtools
X11 vector graphic servers
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents