The script on this website converts all images within a designated folder into the contemporary WebP format No need to install software or upload your images to potentially dodgy conversion websites.
cd link/to/your/image/folder
sh convert.sh
sh convert.sh