Install GetWebP CLI

Convert JPG, PNG, and BMP images to WebP from your terminal. One command to install, one command to convert.

Homebrew — recommended
brew install BronzeSword/tap/getwebp
Or install directly
curl -fsSL https://getwebp.com/install.sh | sh

Installs to /usr/local/bin. No dependencies required.

Advanced — for offline environments or CI pipelines. We recommend Homebrew or npx instead.

Quick Start

1.

Convert a single image

Convert any JPG, PNG, or BMP to WebP.

getwebp photo.jpg
2.

Convert a folder

Process all images in a directory recursively.

getwebp ./images -r
3.

Custom quality & output

Set quality and output directory.

getwebp ./images -r -q 90 -o ./output

FAQ

Yes. The free tier converts up to 20 files per run. Pro ($39/year) removes all limits and adds parallel processing, Watch mode, and AVIF support.
Input: JPEG, PNG, BMP, and WebP (re-encode). Output: WebP.
Only for license activation (getwebp auth <key>). Image conversion is 100% local — nothing is uploaded.
Run the install command again: curl -fsSL https://getwebp.com/install.sh | sh. It will overwrite the old version.
The binary is not code-signed yet. Click "More info" then "Run anyway". This is safe — the binary is built from open-source dependencies.