100% local — convert MP4 to animated GIF without uploading

Convert MP4 to Animated GIF

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.

Convert an MP4 to animated GIF

or

Up to 100 MB Up to 60 s source Never uploaded
No sign-up No watermark Unlimited conversions No upload queue

Your MP4 is decoded by this browser. Nothing is sent to a server.

The short version

Convert MP4 to animated GIF without uploading anything

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 steps

How to convert MP4 to animated GIF in this browser

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.

01

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.

02

Trim the clip and set the animation

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.

03

Convert and download the looping GIF

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.

Format translation

What changes when you convert MP4 to animated GIF

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 properties mapped to animated GIF properties
MP4 propertyWhat the conversion doesWhat it means for the result
Video codec (H.264 / HEVC)Decoded to raw frames, sampled, then written as indexed stillsGIF has no inter-frame compression, so the file grows with every frame
Audio track (AAC)Discarded — GIF89a has no audio trackPick a moment whose meaning survives without sound or captions
Full-colour 24-bit framesQuantised to 96, 192 or 256 colours per frameGradients, shadows and small text lose detail first
Timeline and play buttonFrames get individual delays and an infinite loop extensionThe 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.

MP4 sources

Which MP4 files can you convert to animated GIF?

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.

MP4 variants and whether they convert here
SourceCan it be converted?Notes
MP4 with H.264 / AVC videoYesThe safest input; every WebCodecs browser decodes it.
MP4 with HEVC, VP9 or AV1 videoDepends on browserWebCodecs only decodes a codec the browser itself supports.
Screen recordings exported as MP4YesIdeal for UI demos; trim to the exact interaction before converting.
MOV, MKV, AVI, WebMRemux firstChange the container to MP4 locally, then convert to animated GIF.
A still photo, an existing GIF, an audio-only MP4NoThere 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.

Conversion settings

MP4 to animated GIF settings that decide file size

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.

Settings and what they change during conversion
SettingStarting valueWhat it changes
Clip length5 sFewer seconds means fewer frames. Two to six seconds is usually enough for a loop.
Frame rate10 FPSSets the per-frame delay. 10 FPS reads as smooth motion; 30 FPS triples the frames.
Output width480 pxHalving the width cuts pixels per frame to a quarter. 640 px is the maximum.
Palette size192 colours256 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.

Why in the browser

Why convert MP4 to animated GIF locally?

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.

Private by architecture

Your MP4 never leaves the device

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.

Repeat as often as you like

Re-convert until the loop is right

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.

Portable output

An animated GIF that plays everywhere

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.

Choosing an output

MP4, animated GIF or a still GIF?

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.

MP4 compared with animated and still GIF output
FormatBest forTrade-off
MP4 videoLonger clips with audioFar 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 loopsAutoplays and loops everywhere, no play button, no sound; 256 colours per frame and no inter-frame compression.
Still GIF / PNGOne frozen momentNo 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.

Common questions

Convert MP4 to animated GIF — common questions

Drop an MP4 of up to 100 MB onto the upload area, trim the part you want to 15 seconds or less, choose a frame rate, width and palette size, then press convert. The browser demuxes and decodes the MP4, samples frames, quantises them and writes a looping GIF89a file that you can download immediately. No upload or account is involved.

Yes, in several ways. The audio track is dropped, full-colour frames are quantised to at most 256 indexed colours, the frame rate is reduced to 5–30 FPS and the width is capped at 640 px. LZW compression itself is lossless, but the reduction to an indexed palette is not. Gradients, subtle shadows and small text show the loss first.

GIF89a has no audio track. It is an image format that stores a sequence of frames with delays and a loop count, so there is nowhere to put an AAC stream. If the sound carries the meaning, keep the MP4, or add captions into the picture before converting.

A video codec stores the difference between neighbouring frames; GIF stores each frame as a separate indexed image. A five-second MP4 segment can be a few hundred kilobytes, while 50 full frames at 480 px can approach a megabyte. Shorten the clip, lower the frame rate or reduce the width and colours to bring the size down.

The source file may be up to 100 MB and 60 seconds long. The animated GIF clip itself is capped at 15 seconds and 600 frames, so a longer MP4 is fine — you simply trim to the moment you want before converting.

Yes. Every output from this converter writes the Netscape loop extension with a repeat count of zero, which means infinite looping in browsers, chat clients, email and document viewers. There is no setting to disable it, because a loop is usually the reason to convert an MP4 in the first place.

You can, as long as your browser can decode the video track. The aspect ratio is preserved, so a vertical clip stays vertical. Output width is limited to 320, 480 or 640 px, so a 4K source is downscaled rather than kept at full resolution. Pick the start and length sliders to isolate slow-motion action.

H.264/AVC is the safest and every WebCodecs browser decodes it. HEVC, VP9 and AV1 inside an MP4 work only where the browser exposes that codec through WebCodecs. MOV, MKV, AVI and WebM need a local remux to MP4 first; still images, existing GIFs and audio-only files cannot be converted because they have no moving video track.

Yes. Conversions are unlimited and free, with no account, no daily cap and no watermark. The MP4 is decoded and the GIF is encoded on your own CPU rather than a server, so no copy of your video is transmitted or retained. The 20 most recent results stay in this browser's IndexedDB and are never synced.

Sources behind these MP4 and GIF claims

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.

  1. W3C — WebCodecs specification
  2. MDN — WebCodecs API
  3. W3C — GIF89a specification
  4. Can I use — WebCodecs browser support
About

About this MP4 to animated GIF converter

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

Convert MP4 to animated GIF now

Pick the moment, set the frames and take the file. No upload, no account, no limit.