Convert GIF to WEBP
Turn GIF images into WEBP. An animated WebP with every frame, its timing and its transparency, looping as before, lossy at quality 90 unless lossless is set.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop GIF files on the dialor turn it to pick what to do
An animated WebP from your GIF.Every frame keeps its timing and transparency, and the loop runs as before.
What you get
One animated WebP with every frame of the GIF. Each frame keeps its timing and its transparency, and the animation loops as before.
The conversion is lossy at quality 90 unless you set Lossless. Frames that look the same after lossy compression are merged into one longer frame.
Lossy or lossless
Lossy compression does not keep every pixel. Set Quality to choose how much detail it keeps. A higher value keeps more detail and makes a bigger file, and above 90 the file grows quickly while the picture barely changes.
Set Lossless to encode without losing anything where the format can. The pixels are then identical to the input, and the file is much bigger than a lossy one.
Size, rotation and metadata
Set Max width or Max height to shrink a large GIF. Anything smaller than the limit stays as it is, so nothing is enlarged.
Set Rotate to turn the result clockwise by 90, 180 or 270 degrees. Set Grayscale to turn colors into shades of gray, which often makes the file smaller.
Turn on Strip metadata to remove EXIF and other metadata, including the color profile. The file gets a little smaller and says less about where it came from.
When it fails
A GIF that cannot be parsed stops the conversion with
input_corrupted. To go the other way, use WEBP to GIF.
GIF and WEBP.What each format is, and the options this conversion takes.
- 01 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 02 · lossless
Lossless
Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.
- 03 · max_height
Max height (px)
Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.
1 to 20000 - 04 · max_width
Max width (px)
Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.
1 to 20000 - 05 · quality
Quality
How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
1 to 100 default 90 - 06 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270 - 07 · strip
Strip metadata
Removes EXIF and other metadata, such as the camera, the time and the GPS position a photo was taken at, and the color profile. The file gets a little smaller and says less about where it came from.
The formats
GIF
Indexed-color images with simple animation. Limited to 256 colors per frame.
- Extensions
- .gif
- MIME type
- image
/gif - Kind
- Images
WebP
Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.
- Extensions
- .webp
- MIME type
- image
/webp - Kind
- Images
In your code.The same GIF to WEBP conversion through the API, for your app or your agent.
$ cv convert photo.gif photo.webp$ cv convert photo.gif photo.webpQuestions.What people ask about GIF to WEBP.
Yes. All frames are kept with their timing, and the animation loops as before.
Yes. Each frame keeps its transparency.
Not by default. It is lossy at quality 90. Set Lossless to get pixels identical to the input, at a much bigger file size.
The file could not be parsed. The conversion stops with input_corrupted when that happens.