Skip to content
toolsdocks

MP4 to animated WebP

Pick a part of an MP4 and save it as an animated WebP: a looping image like a GIF, with full color and no sound. This page opens the video to GIF tool with Animated WebP selected; the video is decoded and every frame is encoded in your browser.

Runs on your device

More options in the full Video to GIF.

Loading tool…

How to use it

  1. Choose the MP4. MOV, M4V, WebM and MKV files work too.
  2. Set Start and End; the clip can be up to 60 seconds.
  3. Keep Format on Animated WebP and choose the Width, Frame rate, Loop and WebP quality.
  4. Press Estimate size if you like, then Create WebP and download the .webp file.

Worked example

A 4-second clip of a 1920 x 1080 MP4 at 480 px wide and 12 fps gives 48 frames of 480 x 270. Frame times are kept in hundredths of a second, so the frames last 80, 90 and 80 ms in turn and the animation lasts exactly 4 seconds. With Loop set to Play 3 times, the file stores a loop count of 3.

Formats and limits

InputMP4, MOV, M4V, WebM, MKV
OutputAnimated WebP
LimitsUp to 60 seconds of output; widths from 120 to 1280 px (never wider than the video). Needs a browser with WebCodecs (current Chrome, Edge, Safari 17+ or Firefox 130+). Other browsers are told so before any work starts.
EngineFrame extraction via Mediabunny/WebCodecs → per-frame or global palette (gifenc) with optional Floyd–Steinberg dithering; animated WebP from libwebp frames

Limitations

  • No sound: an animated WebP is an image, so the audio track is left out.
  • Up to 60 seconds of output, 120 to 1280 px wide and never wider than the video.
  • Each frame is stored as a full picture, so long or wide clips make large files. The size estimate is extrapolated from the first 6 frames.
  • Animated WebP plays in current browsers but not in every app. Choose GIF for the widest support.
  • Needs a browser with WebCodecs: current Chrome or Edge, Safari 17 or later, or Firefox 130 or later. Other browsers are told so before any work starts.

Questions

Is the WebP a video file?

No. It is an animated WebP image: a series of frames that loops like a GIF, with no sound. It plays in current browsers and in apps that support animated WebP, but not in video players, and not every app shows the animation.

How long can the clip be?

Up to 60 seconds per WebP. The clip starts as the first 4 seconds; type a Start and End or use Set start from playhead. Every frame is stored as a full picture, so a 60-second clip at 12 fps holds 720 frames. Press Estimate size before you create it.

How do I make the WebP smaller?

Lower the WebP quality (75 by default, 10 to 100), the Width or the Frame rate, or shorten the clip. Unlike GIF, animated WebP is not limited to 256 colors, so gradients do not band.

Is my video uploaded?

No. The frames are read from the video and encoded as WebP in your browser, so the file stays on your device.

Privacy

Runs on your device. Files and text are processed in this browser tab and are not uploaded.

This page opens the Video to GIF ready for this task. See the privacy policy for how toolsdocks handles data.