Convert Images to WebP
Convert JPG, PNG, HEIC, PSD and 70+ other formats to small WebP files for websites. Pick a quality or a file size, keep see-through areas. Free, no upload.
FormatsGuideNew in v1.0
Convert JPG, PNG, HEIC, PSD and 70+ other formats to small WebP files for websites. Pick a quality or a file size, keep see-through areas. Free, no upload.
Turn any image into a small WebP file for websites. You choose: smallest file, or every pixel exactly the same.

Switch to Set by File Size and enter a limit, e.g. 500 KB. ImgCompress finds the best quality that fits. This works when Lossless WebP is off. More in Target a specific file size.
bashdocker run --rm \ -v "$(pwd):/container/images" \ -v "$(pwd)/done:/container/done" \ karimz1/imgcompress:latest \ cli /container/images /container/done \ --format webp --quality 82
Add --webp-lossless for lossless files.