Precompiled Utilities

  • The cwebp utility encodes JPEG, PNG, or TIFF images into WebP format, while dwebp decodes WebP images back to PNG.

  • Pre-built, downloadable archives containing cwebp, dwebp, and other WebP utilities are available for Windows, Linux, and macOS platforms.

  • The provided archives include the WebP libraries and C headers for integrating WebP functionality into custom applications.

  • macOS users can install WebP tools using package managers like Homebrew and MacPorts.

  • Detailed usage instructions for WebP tools are available on the "Using WebP" documentation page.

Getting cwebp, dwebp, and the WebP Libraries

cwebp encodes images in either JPEG, PNG or TIFF format into WebP, while dwebp decodes them back into PNG. For a quick and easy way to get started converting your images, the following archives are available on the downloads repository.

All these archives contain the full suite of utilities including cwebp, dwebp and gif2webp, along with the WebP libraries and C headers (the latter allowing you to add WebP encoding or decoding to your own programs).

Note (for Linux and macOS):

The binaries have been statically linked for compatibility across releases and distributions. However, if the binaries fail to run on your platform, check the Compiling the Utilities page for instructions on how to build your own versions.

macOS Package Managers

Additionally, the WebP tools are often available for macOS via Homebrew and MacPorts.

What Next?

Go to Using WebP for instructions on how to start converting your images.