Squoosh.app, the silent image compression hero
An webapp that locally compresses images in the browser. That’s it! No uploads, no cloud processing, just pure client-side magic.
Try it out: https://squoosh.app/
Wondering how to bulk compress images using CLI? Just install cwebp and dwebp.
Docs .
Sample usage:
# Convert to WebP (cwebp)
cwebp input.png -o output.webp
cwebp -q 80 image.jpg -o image.webp # Quality 0-100 (default: 75)
cwebp -lossless input.png -o output.webp # Lossless mode
# Convert from WebP (dwebp) - supports PNG, BMP, TIFF, PAM, PPM
dwebp image.webp -o image.png # Default: PNG
dwebp image.webp -bmp -o image.bmp # To BMP
# Batch convert to WebP
for file in *.{jpg,jpeg,png}; do cwebp "$file" -o "${file%.*}.webp"; done
# Batch convert from WebP to PNG
for file in *.webp; do dwebp "$file" -o "${file%.webp}.png"; done
Written by
Nisuga Jayawardana