Convert image to WebP
How to convert any image to WebP format
We only allow images in WebP format both for consistency and for performance optimization of the repository.
WebP is a modern image format that offers superior lossless and lossy compression compared to traditional formats like PNG or JPEG, resulting in smaller file sizes and faster loading times.
That means: No JPEGs, PNGs, GIFs, etc.
Convert to WebP
There are many free tools to convert any JPEG and PNGs into WebP format. Here's one for MacOS:
# Install webp
brew install webp
# Convert PNG/JPEG to WebP
# Add quality (values 0–100). Start with zero and increase until desired quality.
cwebp -q 0 'input file name.png' -o 'output file name.webp'
If you are using Windows you can:
Re-evaluate what are you doing with your life
Bing how to convert whatever you have to WebP
Last updated
Was this helpful?