Convert a GIF to a video
Make a GIF into a real video file that social apps, phones and slide decks accept, without uploading it.
- Nothing is uploaded
- Works offline after first visit
- Open source
- No watermark · limit is your device’s memory; phones hold less
Convert a GIF to a video (MP4) in your browser, for Instagram, TikTok, WhatsApp or a presentation. 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.
Done
Open the network tab. Your files never appear in it.
Add files and run the tool to see every request this tab makes.
Your files are processed on this device and never sent to a server. Reload the page to clear everything from memory.
Plenty of places that happily show a GIF will not take one as an upload. Instagram posts and stories, TikTok, YouTube Shorts and most video editors want a video file, and PowerPoint and Keynote play a video more smoothly than a large GIF. This page turns the GIF into an MP4 video with the same frames and the same timing.
A video plays once where a GIF loops, and many apps reject clips under 3 seconds. So by default a short loop is repeated until the video is at least 3 seconds long; you can instead choose exactly how many times it plays, for example 10 plays of a 1 second reaction GIF for a story.
The conversion happens inside your browser: the GIF is decoded by code in this page and encoded by your browser’s built-in video encoder. Nothing is uploaded, there is no watermark, and the size limit is your device’s memory (phones hold less).
How it works
- Drop one or more GIFs, or tap to pick them.
- Keep the default length, or pick how many times the animation should play.
- Convert, then post or share the MP4.
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
How do I post a GIF on Instagram?
Instagram does not accept GIF uploads, but it does accept MP4. Convert the GIF here with the default length (at least 3 seconds), save the MP4 to your phone and post it as a reel, story or post like any other video.
Can I add music to the video?
Not on this page: the video has no sound track, since the GIF has none. Add music in the app you post from (Instagram, TikTok and CapCut all offer it), or in a video editor.
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
GIF to MP4
Turn animated GIFs into small MP4 videos that post and play anywhere. Converted on this device, never uploaded.
Video to GIF
Trim a clip, pick a size and frame rate, and get a looping GIF. The video is decoded by your browser and never leaves this device.
Compress video
Make a video a fraction of the size, or fit it under a limit like 10 MB for Discord or 25 MB for email. It is compressed on this device and never uploaded.
Video to MP4
Turn MOV, MKV and WebM files into MP4s that play everywhere. Converted on this device, never uploaded.
Other conversions
Guides
- How to convert a GIF to MP4A GIF of the same clip is usually much bigger than an MP4, and some platforms will not accept a GIF at all. Here is how to convert it.
- A free ezgif alternative with no file size capEzgif caps how big a file you can upload. Here is an alternative where your video is never uploaded.
- How to reduce GIF sizeAn animated GIF is a stack of pictures, and the file grows with every frame. Here is what makes it smaller and what that costs you.
- Is ezgif safe?Ezgif is a legitimate, popular GIF tool with a short deletion window. The file you are about to drop in decides whether uploading it is fine.