DEV Community

Discussion on: My website now loads in less than 1 sec! Here's how I did it! ⚡

patarapolw profile image
Pacharapol Withayasakpunt • Edited

How do I convert GIF to webm?

Also, about webm and webp, I am worried about caniuse in Edge / IE...

markgoho profile image
Mark Goho

You should use cloudinary to host your images and you can serve them in a format that's optimized by browser, e.g. in chrome you'll get a webp, in ie you'd get a jpg.

ed1nh0 profile image
Edson Jr.

You can make use of CSS @supports feature to check if the browser support WEBP images. If not than it'd load PNG, JPG instead.

ranrub profile image
Ran Rubinstein

Edge supports webp, and the next version of Safari too. However you can use Cloudinary to do the format selection automatically - It's free forever up to 25GB of traffic/month.

See for easy instructions.

cmcodes profile image
C M Pandey Author

There are many online converters like ezgif and convertio.