Alaska

SVGO – Node.js tool for optimizing SVG files

SVGO is a Node.js tool for optimising SVG files by removing redundant data often added by vector editors, such as metadata, comments, hidden elements, and unnecessary values. It can be used from the command line to process SVG files and folders, or as a library inside JavaScript-based workflows. The software is also highly configurable, letting users tailor optimisation behaviour through presets, overrides, and custom plugins.

This is free and open source software.

Key Features

  • Processes individual SVG files or entire directories recursively.
  • Supports configuration with an svgo.config.mjs file or command-line options.
  • Includes a default preset that can be tuned by enabling, disabling, or overriding built-in plugins.
  • Allows custom plugins for specialised optimisation workflows.
  • Provides a JavaScript API including optimize and loadConfig functions.
  • Works with existing tooling and integrations including Docusaurus, PostCSS, and webpack.

Website: github.com/svg/svgo
Support:
Developer: svg
License: MIT License

SVGO options

SVGO is written in JavaScript. Learn JavaScript with our recommended free books and free tutorials.


Related Software

Console Based Image Compression Tools
MozJPEGMozilla JPEG Encoder Project
pngquantUtility and a library for lossy compression of PNG images
SVGONode.js library and command-line application for optimizing SVG files
OxipngMultithreaded PNG optimizer, forked from Optipng
libjxlReference implementation of JPEG XL
libjpeg-turboJPEG image codec
QOIThe Quite OK Image Format
YOGAYummy Optimizer for Gorgeous Assets
pngcrushOptimizer for PNG files
jpegoptimOptimize JPEG files. Lossless and lossy compression available
OptiPNGAdvanced PNG optimizer
ECTFast and effective C++ file optimizer
CrunchLossy PNG image file optimization
zopflipngPNG optimisation tool using zopfli
JPEG ArchiveUtilities for archive JPEGs for long term storage
cavifConvert PNG and JPEG images to space-saving AVIF format
optimiztCLI image optimization tool
FlacaLosslessly compress GIF, JPEG and PNG images from the terminal
picoptMulti format lossless image optimize
tinifierCLI tool for compressing images using the TinyPNG API

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted