gif2webp

gif2webp.exe is a simple command line tool for batch conversion of animated GIF images to the WebP format. The executable works on Windows and should be usable on Linux under Wine.

How to use it?

The tool can be used either from command line or from Windows Desktop. In the later case, place the tool on your Desktop and then drag and drop files or folders onto it. The tool will automatically convert all gifs to WebP format and place them in the same folders as the originals.

More information and other tools.

Notes

Conversion may be slow, because the tool always uses the highest setting for WebP efficiency (which should result in smallest possible WebP files).

Gif files with invalid animation times will be fixed as follows. If background disposal mode is not specified, frame duration is set to 0.1s, otherwise the frames are merged. Small, but valid frame duration times will be kept unchanged. This may result in your WebP files animating faster than the original gif files in some browsers (because the browsers artificially limit the speed of gifs).

speech bubble iconRecent comments

Show older posts
user iconAnonymous on August 11th 2018 0

works, but only lossless
-q parameter does'nt work

user iconVlasta on August 12th 2018 0

lossy conversion from gif would make little sense

due to nature of gifs, lossy mode is a poor match and could produce larger files than lossless on typical gifs

user iconsantibr123 on February 15th 2020 0

good

user iconAnonymous on November 2nd 2020 0

Thank you so much.

I tried it and it works perfectly.

But the final file size are larger compare to GIF.
Is it possible to setting the lossless ?

user iconAnonymous on November 9th 2020 0

thank you, great tool!

user iconAnonymous on November 17th 2020 0

when i open the webp in chrome it's ok, when i download it on my android phone i have a totally transparent image...

user iconAdri_10 on December 4th 2020 0

😞

user iconcsid2136 on January 20th 2021 0

hmm... open the file to see black screen flash

user iconAnonymous on March 18th 2021 0

How to deal with this transcoding problem:
gif2webp aAFje2qqaUZN.gif -o a.webp
GIFLib Error 0:
GIF-LIB error: Image EOF detected, before image complete.

user iconRIDDLER on January 2nd 0

I wish I could create an animated cursor with 100 frames on the fly by importing an animated gif file to RealWorld Cursor Editor wizards. Could you please add this feature request?

user icon