Command-line tool
webp
brew/webp
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Image format providing lossless and lossy compression for web images
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id Google.Libwebp -e
macOS
brew install webp
Linux
brew install webp
Compress a WebP file with default settings (lossy compression, q = 75) to the [o]utput file
cwebp path/to/image_file -o path/to/output.webp
Compress a WebP file with the best lossy compression [q]uality and largest file size
cwebp path/to/image_file -o path/to/output.webp -q 100
Compress a WebP file with the worst lossy compression [q]uality and smallest file size
cwebp path/to/image_file -o path/to/output.webp -q 0
Related command-line tools
- caesiumclt
Fast and efficient lossy and/or lossless image compression tool compression jpeg command-line-tool png webp… - libgsm
Lossy speech compression library - wavpack
Hybrid lossless audio compression - zxc
High-performance asymmetric lossless compression library - gifsicle
GIF image/animation creator/editor - lzip
LZMA-based compression program similar to gzip or bzip2 - xl-converter
Easy-to-use image converter for modern formats. Supports fast parallel encoding, lossless JPEG transcoding, JPEG XL,… - artem
Convert images from multiple formats (jpg, png, webp, etc…) to ASCII art
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents