How to Convert GIF to WebP (Still or Animated, and When WebP Is Not Accepted)
Convert a GIF to WebP for a smaller file with full colour and transparency. Which tool keeps the animation, which gives one frame, and where WebP is refused.
Updated November 8, 20267 min read
To convert a GIF to WebP, drop the file into the GIF to WebP converter, leave Quality at 80, press Convert to WebP and download the result. An animated GIF becomes an animated WebP: every frame, each frame's own display time, looping forever, up to 300 frames. A still GIF, such as a logo or a button, becomes a still WebP. If you want to trim, crop, change the speed or add text first, edit the GIF in the GIF editor and export WebP there, where it is a Pro export format. Both run on your device, not our servers.
GIF to WebP: which tool keeps the animation?
A WebP file can hold one picture or a whole animation, and the converter matches what you give it: a still GIF gives a still WebP, an animated GIF gives an animated WebP. Reach for another tool only when you want something other than a straight conversion.
| You have… | You want… | Use |
|---|---|---|
| A still GIF (logo, icon, button) | The same picture as a smaller WebP | GIF to WebP converter |
| An animated GIF | An animated WebP that still moves | GIF to WebP converter: every frame, up to 300 |
| An animated GIF | One particular frame as a still WebP | GIF splitter, saving that frame as WebP |
| An animated GIF | An animated WebP trimmed, cropped or retimed first | GIF editor, Export WebP (Pro) |
| An animated WebP | A GIF for a place that refuses WebP | WebP to GIF converter, which keeps the animation |
Convert a GIF to WebP, step by step
Add the GIF
Open the GIF to WebP converter and drop the file on the page, or use Browse files. The page accepts GIF only; it tells you if you hand it another format.
Set the Quality
Quality runs from 1 to 100 and starts at 80. For a flat logo or icon, 80 to 90 keeps edges clean. For a photo-like frame, 70 to 80 is usually indistinguishable from the original at normal viewing size. The setting applies to every frame of an animation.
Convert
Press Convert to WebP. The finished file appears with its size, and the page says how much smaller or larger it is than the original.
Download and check
Use Download WebP, then open the file. If the GIF was animated, watch the WebP play through once and check its timing before you replace anything. A GIF longer than 300 frames is cut at frame 300.
Free: one image at a time, up to 25 MB and 4096 pixels on the longest side, no watermark. Pro: batches of up to 100 images at full size. Runs on your device, not our servers.
Convert GIF to WebPAnimated WebP vs GIF: what actually changes
| GIF | WebP | |
|---|---|---|
| Colours | 256 per frame, from a palette | Full 24-bit colour |
| Transparency | On or off per pixel; no soft edges | Full alpha: 256 levels per pixel |
| Compression | Lossless within the palette, old and inefficient | Lossy or lossless, far more efficient |
| Animation | Yes | Yes |
| Support | Almost everywhere | Current web browsers and most modern apps; not everywhere |
Size. Google's WebP documentation reports that animated GIFs converted to lossy WebP come out around 64% smaller on average, and about 19% smaller when converted losslessly. Your own file can land well above or below that: a GIF of flat cartoon colours compresses differently from a GIF cut from video footage. Treat the figure as a reason to try, not a promise.
Colours. Converting cannot add colour that the GIF threw away. The GIF already reduced every frame to at most 256 colours, often with visible dithering dots, and the WebP faithfully stores those dots. What WebP removes is the ceiling: a WebP made from the original video or photo can be smooth where the GIF was banded. If you still have the source, starting from it gives the better WebP.
Transparency. The converter keeps the transparent pixels of the GIF, in every frame. Because GIF transparency is all or nothing, the edges stay as hard as they were, including any coloured fringe left from the background the GIF was originally made on. WebP could hold a soft edge, but there is no soft edge in a GIF to carry over.
Why the size comparison can mislead you
The page compares the WebP with the original GIF. For an animated GIF both files hold the same frames, so the saving is a fair test of the format. The exception is a GIF longer than 300 frames: the converter stops at frame 300, and part of the drop in size is then the frames left out, not better compression. Check the length of the WebP before you trust the number.
For a still GIF, a WebP larger than the original is possible. Tiny GIFs with a handful of colours, such as a 16-colour icon, are already compact, and a lossy WebP at high Quality can come out bigger. Lower the Quality, or keep the GIF: the file is small either way. To shrink an animation and keep it a GIF, use the method in compressing a GIF rather than changing the format.
Making an animated WebP from a GIF
The GIF to WebP converter does this by itself: drop in an animated GIF and the WebP keeps every frame, each frame's own display time and an endless loop, up to 300 frames, with the Quality setting applied to every frame. If you want to change the animation first, import the GIF into the GIF editor instead. Its frames and their timing land on the timeline exactly as they are; trim, crop, change the speed or add text, then choose WebP as the export format and use Export WebP. WebP and APNG are Pro export formats in the editor; Free exports GIF, MP4 and WebM. If your device cannot write WebP, the editor says so and suggests GIF or MP4 instead.
Where WebP is not accepted
Current versions of every major web browser display WebP, including animated WebP; Safari added it in version 14. The gaps are elsewhere:
- Email. Several popular email programs, especially older desktop ones, do not show WebP. The recipient sees a broken image or an attachment. For an animation in an email, GIF is still the safe choice.
- Upload forms. Many sites check the file type against a fixed list such as JPG, PNG and GIF, and reject anything else even when their pages could display it.
- Older software. Older image viewers, office suites and design programs may refuse to open WebP, or open only the first frame of an animated one.
- Print services. Print shops usually ask for JPG, PNG, TIFF or PDF.
Keep the original GIF until the WebP has worked where you are using it. If it is refused, the WebP to GIF converter turns an animated WebP back into a moving GIF, though any colour beyond 256 is reduced again on the way.
Large GIFs and the Free limits
On Free, the converter takes one GIF of up to 25 MB, and the result is at most 4096 pixels on its longest side; a larger picture is scaled down to fit, and the page marks it as resized to the Free export limit. A file over 25 MB is refused before any work starts, with the size shown. Pro removes the size cap, keeps the full dimensions and converts up to 100 images in one run, then offers them as a single ZIP download.
Frequently asked questions
Does the GIF to WebP converter keep the animation?
Yes. An animated GIF becomes an animated WebP with every frame, each frame's own display time and an endless loop, up to 300 frames; a longer GIF is cut at frame 300. A still GIF becomes a still WebP. To edit the animation first, use the GIF editor, where WebP is a Pro export format.
Is WebP smaller than GIF?
Usually, and often by a lot. Google reports animated GIFs converted to lossy WebP average about 64% smaller. Very small GIFs with few colours can be an exception, so compare the two sizes the page shows.
Does converting GIF to WebP keep transparency?
Yes. The transparent pixels of the GIF stay transparent in the WebP. GIF transparency has no soft edges, so the edges look the same as before.
Why does my GIF look grainy after converting to WebP?
The grain was already in the GIF: it is the dithering a GIF uses to fake colours beyond its 256. WebP keeps it faithfully. For a smoother result, make the WebP from the original video or photo instead of the GIF.
Can I convert a specific frame of a GIF to WebP?
Yes, with the GIF splitter rather than the converter, which converts the whole animation. Open the GIF in the splitter, choose WebP as the frame format, and save just the frame you want, or a range of frames.
Why won't a website accept my WebP file?
Many upload forms only allow a fixed list of types, often JPG, PNG and GIF. Keep the original GIF for those places, or convert the WebP back with the WebP to GIF converter.