How to use and show WEBP images?


I would like to use WEBP images on my wordpress sites. I was creating for every jpg and pnp image in my media folder, a WEBP image with the same name in the same folder.

But my wordpress page still shows the jpg and pnp images. What do I have to do, so that the WEBP images do show up?

I am thankful for any help.