With this website you can quickly drag and drop images and download them in the format that it suits your project.

Imgto

There's also this website which also works offline

https://squoosh.app