Choose the MP4 that holds the motion
Drop an MP4 onto the upload area or browse for one. Files up to 100 MB and 60 seconds are checked locally in a moment, and a video preview shows exactly which clip you are about to convert.
Convert MP4 to animated GIF with the tool above: drop a video, choose the moment and the frame rate, and this page writes a looping GIF89a file on your device. An MP4 is a video container with sound and inter-frame compression; an animated GIF is a sequence of indexed stills that autoplays everywhere. This page does the translation locally — no upload, no account, no watermark, no server queue.
or
Your MP4 is decoded by this browser. Nothing is sent to a server.
Every change updates the frame count instantly. Nothing is encoded until you press the button.
Sampling frames from your MP4 on this device. Keep this tab open until the GIF is written.
It was converted on your device and never touched a server.
Stored in this browser only. Nothing here is synced to an account.
An MP4 and an animated GIF solve different problems. The MP4 is a container holding a compressed video track (usually H.264 or HEVC) and often an audio track; it is efficient, plays on a timeline and normally needs a play button. An animated GIF is one GIF89a file holding a sequence of indexed still images, each with its own delay, plus a loop instruction. To convert MP4 to animated GIF, the video has to be demuxed, decoded into individual frames, sampled at a lower frame rate, reduced to at most 256 colours and re-encoded with LZW. Every one of those steps happens in this tab.
People type convert MP4 animated GIF, MP4 to animated GIF, or turn MP4 into a looping GIF when they have a video that needs to play inline — a two-second UI demo in a README, a reaction in chat, a before-and-after flip in a support ticket, or a short clip in a presentation. A video attachment asks the reader to click; an animated GIF just moves. The converter above is built for exactly that job, and the sections below explain what the conversion keeps, what it throws away, and how to choose settings that produce a loop small enough to post.
Three decisions shape the result: which moment of the MP4 to keep, how many frames to sample, and how much colour and width the output can afford. Change any of them and convert again as often as you like.
Drop an MP4 onto the upload area or browse for one. Files up to 100 MB and 60 seconds are checked locally in a moment, and a video preview shows exactly which clip you are about to convert.
Trim to at most 15 seconds, choose 5–30 FPS, an output width of 320, 480 or 640 px, and a palette of 96, 192 or 256 colours. The frame count updates live — that number is how many stills your MP4 will become.
Press the button and the progress bar counts real frames: read, decode, encode, finish. The result is a GIF89a animation with an infinite loop extension, saved to local history and ready to download — no upload, no queue, no watermark.
Converting an MP4 is not renaming a file. The container, the colour model, the timing and the compression all change. This table maps each property of the source video to what the animated GIF can actually store.
| MP4 property | What the conversion does | What it means for the result |
|---|---|---|
| Video codec (H.264 / HEVC) | Decoded to raw frames, sampled, then written as indexed stills | GIF has no inter-frame compression, so the file grows with every frame |
| Audio track (AAC) | Discarded — GIF89a has no audio track | Pick a moment whose meaning survives without sound or captions |
| Full-colour 24-bit frames | Quantised to 96, 192 or 256 colours per frame | Gradients, shadows and small text lose detail first |
| Timeline and play button | Frames get individual delays and an infinite loop extension | The animation autoplays inline in docs, chat apps and email |
Under the hood, mp4box.js demuxes the ISO base media file format, WebCodecs VideoDecoder turns the compressed video track into frames, canvas samples those frames at your chosen rate, and gifenc quantises and LZW-encodes each one. The browser does all of it: there is no upload endpoint, no server-side encoder and no temporary copy of your MP4 in the cloud. WebCodecs is required, which is why Chrome and Edge 94+, Safari 16.4+ and Firefox 130+ are the supported browsers.
What survives the conversion is the visual order, the aspect ratio, the timing you selected and the motion itself. What does not survive is audio, full colour, transparency with soft edges, and long duration: the output is capped at 15 seconds, 640 px wide and 600 frames. If any of those losses matter, keep the MP4 instead of converting it — a short clip is what animated GIF was designed for.
The .mp4 extension describes a container, not a codec. What is inside the container decides whether your browser can decode it, so the table separates common MP4 variants from files that only look like video.
| Source | Can it be converted? | Notes |
|---|---|---|
| MP4 with H.264 / AVC video | Yes | The safest input; every WebCodecs browser decodes it. |
| MP4 with HEVC, VP9 or AV1 video | Depends on browser | WebCodecs only decodes a codec the browser itself supports. |
| Screen recordings exported as MP4 | Yes | Ideal for UI demos; trim to the exact interaction before converting. |
| MOV, MKV, AVI, WebM | Remux first | Change the container to MP4 locally, then convert to animated GIF. |
| A still photo, an existing GIF, an audio-only MP4 | No | There is no moving video track to sample into frames. |
Why MP4 only? A browser-based converter has to demux the source before it can decode frames. Frameo uses mp4box.js, which understands the ISO base media file format — MP4. Handing it a WebM or an animated WebP produces an unreadable track rather than a useful error, so the file picker asks for .mp4 and nothing else.
If your clip lives in another container, remux it on your own machine first; a container change is usually lossless and takes seconds. Do not send the file to a third-party site just to change an extension. Once it is an MP4 your browser can play, you can convert MP4 to animated GIF here without anything leaving the device.
Four controls decide how the converted animation looks and how large the file gets. Because GIF stores each frame separately, size grows roughly with frames × width × height.
| Setting | Starting value | What it changes |
|---|---|---|
| Clip length | 5 s | Fewer seconds means fewer frames. Two to six seconds is usually enough for a loop. |
| Frame rate | 10 FPS | Sets the per-frame delay. 10 FPS reads as smooth motion; 30 FPS triples the frames. |
| Output width | 480 px | Halving the width cuts pixels per frame to a quarter. 640 px is the maximum. |
| Palette size | 192 colours | 256 reduces banding; 96 makes a smaller file. Gradients show the difference most. |
A practical starting point when you convert MP4 to animated GIF for a README, a pull request or a support ticket is 480 px, 10 FPS and 192 colours. If the loop looks choppy, raise the frame rate before raising the width — extra frames cost less data than extra pixels. If the file is too heavy for where you plan to publish it, shorten the clip first: that removes whole frames rather than degrading each one.
The timing arithmetic is worth knowing: a five-second MP4 segment at 10 FPS becomes 50 GIF frames, each written with a 10/100 s delay. At 30 FPS the same five seconds becomes 150 frames and roughly three times the data. GIF delays are stored in hundredths of a second, so very high frame rates eventually hit that granularity.
The limits are deliberately hard: 100 MB of source MP4, 60 seconds of source duration, 15 seconds of animation, 640 px wide and 600 frames. They keep the encoding inside one browser tab. A longer job belongs in a desktop encoder, not a page that should stay responsive.
Most online converters ask you to upload the MP4, process it on a server, and trust their retention policy. This page has no server in the path.
There is no upload endpoint and no object storage. The MP4 is read into the tab, decoded by your hardware where available, and written as a GIF89a animation in the same tab. The privacy policy describes aggregate analytics, not your files, because the site cannot see them.
Server-side converters usually pick a frame rate and colour depth for you. Here the frame count updates as you drag the sliders, so you can trade smoothness against file size before encoding, then convert the same MP4 again at no cost.
Every output carries an infinite loop extension, autoplays inline and has no branding burned into the frames. Results stay in this browser's IndexedDB so you can download the animation again, but nothing is synced to an account.
Animated GIF wins on compatibility, not efficiency. Knowing when to keep the MP4 saves you from producing a 10 MB loop for a clip that should have stayed a video.
| Format | Best for | Trade-off |
|---|---|---|
| MP4 video | Longer clips with audio | Far smaller at the same quality, but usually needs a click to play and is not accepted in every README renderer. |
| Animated GIF (GIF89a) | Short 2–6 s loops | Autoplays and loops everywhere, no play button, no sound; 256 colours per frame and no inter-frame compression. |
| Still GIF / PNG | One frozen moment | No motion. If your conversion produced a single frame, the trim window or the source has no movement. |
Choose to convert MP4 to animated GIF when the motion is a reaction, a two-second UI interaction, a before-and-after flip, or a demo embedded in documentation where autoplay matters. Blogs, issue trackers, presentations and messaging apps all play GIFs inline without asking the reader to press play.
Keep the MP4 when the clip is longer than a few seconds, contains fine gradients or small text, or has audio that matters. If you convert MP4 to animated GIF and the result looks like a still image, check that the source actually moves and that the trim window is not a frozen frame — a single-frame GIF is just a picture, not an animation.
The container, frame delay, palette and loop behaviour described above follows the GIF89a specification; decoding and browser compatibility claims follow the WebCodecs specification and published browser support data. These are the primary sources.
This is the dedicated “convert MP4 to animated GIF” entry point of Frameo, a small independent tool that runs entirely in the browser. The main MP4 to GIF converter lives on the home page; this page focuses on the input format — what an MP4 contains, what the conversion keeps or discards, which MP4 variants decode, and the settings that produce a loop small enough to publish.
Frameo has no accounts, no paid tier and no newsletter. Conversion history stays in your browser, aggregate analytics measure page traffic only, and questions or bug reports reach a person at the address in the footer.
Last updated: 10 November 2026
Pick the moment, set the frames and take the file. No upload, no account, no limit.