scour
« Back to VersTracker
Description:
SVG file scrubber
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: svg optimization web graphics cleaner
Install: brew install scour
About:
Scour is a Python-based utility that aggressively cleans and optimizes SVG files by removing unnecessary metadata, comments, and hidden elements. It significantly reduces file size while preserving visual appearance, making it ideal for web deployment. The tool restructures content for better compression and applies precision rounding to numeric values.
Key Features:
  • Removes editor metadata, comments, and non-essential attributes
  • Precision rounding for coordinate values to reduce file size
  • Optimizes presentation attributes and style declarations
  • Preserves visual fidelity while stripping redundant data
  • Command-line interface for batch processing
Use Cases:
  • Optimizing SVG assets for web applications and websites
  • Reducing file size for mobile app development
  • Cleaning up SVG files exported from design tools like Adobe Illustrator or Inkscape
Alternatives:
  • svgo – SVGO is Node.js-based with plugin architecture, while Scour is Python-based and focuses on aggressive optimization
  • svgcleaner – svgcleaner is Rust-based and offers similar optimization but with different default settings
Version History
Detected Version Rev Change Commit
Oct 10, 2024 2:30pm 1 VERSION_BUMP 4dba2efc
Sep 14, 2024 4:55pm 1 VERSION_BUMP 62c08e58