# libwebp

> Library to encode and decode images in WebP format

Source: https://talira.ai/catalog/libwebp-8yrgmmwn
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [media / images / codecs](https://talira.ai/categories/media/images/codecs), [languages / c cpp](https://talira.ai/categories/languages/c-cpp)
- Licence: BSD-3-Clause[^3]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Backed by: [Google](https://talira.ai/orgs/google.md)
- Funding: public company (NASDAQ:GOOGL)[^4]

libwebp is Google's reference codec for the WebP image format: a C library that adds WebP encoding and decoding to other programs, with the `cwebp` and `dwebp` command-line tools to compress and decompress images. WebP offers lossy and lossless compression with transparency and animation, and Google's pages say its lossless images are 26% smaller than PNGs and its lossy ones 25-34% smaller than comparable JPEGs. The library and tools are released under a BSD licence with an additional patent grant from Google.

## Links

- Website: https://developers.google.com/speed/webp/
- GitHub: https://github.com/webmproject/libwebp
- Docs: https://developers.google.com/speed/webp/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/webp>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/source/stable/libwebp>[^2]

## Problems it solves

- convert my PNG and JPEG images to WebP to make my website load faster
- add WebP decoding to my C or C++ app
- compress images to WebP from the command line in a build script

## Features

- encode and decode WebP images, lossy and lossless, with transparency
- animated WebP
- cwebp and dwebp command-line tools
- precompiled binaries and source downloads

## Trust

Overall: 0.68 out of 1.
Signals: maintenance 1.00, adoption 0.68, momentum 0.38, community 0.79, backing 0.55, extensibility 0.00.

- last commit 3 days ago
- 184 commits in the last 90 days
- 2.4k GitHub stars
- 92 contributors
- 4k Homebrew installs in 30 days
- backed by Google
- funding: public company (NASDAQ:GOOGL)

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 29 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 29 Nov 2026)
[^3]: https://github.com/webmproject/libwebp/blob/main/COPYING (checked 29 Nov 2026)
[^4]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
