Convert animated WebP to MP4

Turn an animated WebP sticker or image into an MP4 that posts and plays anywhere, all on your device.

Convert animated WebP to MP4 video in your browser, keeping every frame and its timing. It is free, needs no account and adds no watermark, and your files are not uploaded: everything runs in your browser on your device. The size limit is your device’s memory, and phones hold less; give the page a short while after one visit to save itself for offline use, and then it works offline.

Drop animated WebP files to convert to MP4or click to choose files. Batches welcome.
    Details

    A video plays once, where a GIF loops. Short loops are repeated so Instagram, WhatsApp and other apps accept them.

    Working…

    Done

    Free, no ads. Support StayPut

    Your files are processed on this device and never sent to a server. Reload the page to clear everything from memory.

    Animated WebP is what many sites, messaging apps and image searches now hand you instead of a GIF: smaller files with full colour. The trouble starts when you want to post it, put it in slides or edit it, because many apps and editors only take video. MP4 is the format they all accept.

    This page reads every frame of the WebP itself, since a browser normally shows only the first, and lays them out the way the file says: partial frames, blending and clearing included. Each frame keeps its own delay and the picture keeps its size, rounded to an even number of pixels as video needs. Frames go straight to your browser’s video encoder, never through a GIF, so there is no 256-colour palette to dull the result.

    WebP has no sound, so the MP4 is silent. Video has no transparency either: transparent areas become white or black, your choice. Drop several files and they are converted one after another, then downloaded together as a zip. Nothing is uploaded.

    How it works

    1. Drop one or more animated WebP files, or tap to pick them.
    2. The animation plays once by default; pick a longer length if an app wants at least 3 seconds. Choose whether transparent areas become white or black.
    3. Convert, then download the MP4 (or a zip when you converted several).

    In your browser, not on a server

    Stayput reads the GIF byte by byte in your tab with gifuct-js (MIT), decompresses each frame and composites it the way browsers play GIFs, honouring each frame’s delay and disposal rule. Every finished frame goes to your browser’s own video encoder through WebCodecs: H.264 where the browser has one (Chrome, Edge, Safari), VP9 or AV1 where it does not. The encoded frames are written into an MP4 container by mp4-muxer (MIT), all in memory.

    Compared with upload-based tools: GIF to MP4 sites upload the file to convert it on a server, cap the size, and some add a watermark or keep the file for hours. Here the conversion runs on your device, so a reaction GIF, a screen recording of your product or a clip of your kids never leaves it, and the page keeps working offline after one visit and a short wait.

    Verify it yourself. Give the page a short while after one visit to save itself for offline use, then turn off Wi-Fi or switch to airplane mode and run the tool again. Or open your browser's developer tools (F12, or Cmd-Option-I on a Mac), pick the Network tab, and watch it while you convert. The panel above does the same count for you.

    Questions

    Why does a normal converter give me only one frame?

    Browsers hand a page just the first frame of an animated WebP. This page reads the frames from the file itself, so the whole animation ends up in the video.

    What happens to transparent areas?

    Video cannot be transparent, so they are filled with a solid colour: white by default, or black if you pick it. Soft edges blend into that colour.

    Does the MP4 have sound?

    No. WebP has no sound track, so the MP4 is silent. Add music afterwards with Add audio to video.

    What if my WebP is not animated?

    A WebP with one frame has no animation to turn into a video. Use WebP to PNG or WebP to JPG for a still image.

    Which video format do I get?

    An MP4 with H.264 video in Chrome, Edge and Safari, which every phone and social site plays. A browser without an H.264 encoder writes VP9 in the MP4 instead, and the result says which one you got.

    Is the file uploaded anywhere?

    No. There is no server in this process. The page is a static file and the work is done by code running inside your browser tab. Give the page a short while after one visit to save itself for offline use; then you can turn off Wi-Fi and it still works.

    More video and audio tools

    Other conversions

    Guides