Convert MP4 to GIF
Convert MP4 video clips to animated GIF. Perfect for memes, social media reactions, and technical documentation. Free, in your browser.
.mp4 · up to 100 MB
Why convert MP4 to GIF
From video clip to universal animated image
Universally compatible
GIF works in emails, chat apps, social networks, and documentation without plugins or special configuration.
Total privacy
Your video never leaves your device. FFmpeg.wasm processes everything locally, no server uploads.
Optimized for web
320px and 10fps: optimal balance between visual quality and file size for social media and chat use.
Instant after first load
The FFmpeg engine downloads once and is cached. All subsequent conversions start immediately.
How it works
Three steps, no hassle
Select your MP4 file
Drag or select your .mp4 file. The first 10 seconds are converted at 320px wide and 10 fps.
Conversion with FFmpeg.wasm
FFmpeg.wasm extracts the first 10 seconds of the video and converts them to an animated GIF with a 256-color palette. Everything happens on your device.
Download your GIF
The resulting GIF works in any browser, messaging app, social network, or document without plugins.
FAQ
Got questions?
By default, the first 10 seconds of the video are converted. The GIF is generated at 320 pixels wide (maintaining aspect ratio) and 10 frames per second. These values are optimized for a reasonably sized GIF — longer, larger, or higher-framerate GIFs can quickly exceed 20-30 MB.
The GIF format uses LZW compression, which is significantly less efficient than modern video codecs. A 10-second GIF can weigh 10 times more than the equivalent MP4. This is because GIF stores each frame almost entirely, while MP4 (H.264/H.265) only stores the changes between frames. It is an intrinsic limitation of the format, created in 1987.
The GIF is reduced to 320px wide and 10 fps to keep a manageable file size. GIF only supports 256 colors per frame (indexed palette), so videos with many colors or smooth gradients will show some banding. For better visual quality at smaller size, consider using animated WebP or simply embedding the MP4 directly on web pages.
Yes. For web use, a looping MP4 is 5 to 20 times smaller than an equivalent GIF and has much better quality. Animated WebP is another more efficient modern format. However, GIF remains the universal format for compatibility: it works in absolutely all email clients, chat apps, social networks, and documentation without special configuration.
The main use cases are: memes and reactions on platforms like Twitter/X, Reddit, Tumblr, and Instagram; technical documentation (showing a sequence of steps in a README or wiki); messaging apps like WhatsApp, Telegram, and Discord; and presentations where you need an animation that works without active video playback.
It depends on the video content, but for 10 seconds at 320px and 10fps you can expect between 2 MB (simple scenes with little movement) and 10 MB (complex scenes with lots of movement and colors). Videos with frequent scene changes or intense visual effects will produce larger GIFs.
MP4 to GIF: GIF history (CompuServe 1987), the animated GIF renaissance in the Tumblr era (2010s), GIF vs video for web, and LZW compression patent history
The GIF (Graphics Interchange Format) was created by CompuServe in 1987, designed by Steve Wilhite. Originally conceived for static images with a limited color palette, GIF included support for multiple frames from the start, enabling its use as an animation format. The LZW (Lempel-Ziv-Welch) compression used by GIF was the subject of controversy when Unisys began claiming royalties for the patent in 1994-1995, driving the development of the PNG format as a patent-free alternative for static images. The LZW patents expired in 2003-2004, freeing GIF from legal restrictions.
The animated GIF renaissance occurred in the 2007-2012 period, driven primarily by the Tumblr platform, which adopted animated GIFs as a native format for creative expression and visual culture. Before this period, animated GIFs were considered relics of the 1990s web. Twitter added native GIF support in 2014; Facebook in 2015. Internet meme culture transformed the animated GIF into the standard format for reactions, iconic moments from TV shows and films, and shared visual humor. Dedicated platforms like GIPHY (founded in 2013) and Tenor contributed to its massive resurgence.
From a technical perspective, GIF is notoriously inefficient compared to modern video codecs. H.264 (the most common MP4 codec) can compress 10 seconds of video into 500 KB; the equivalent GIF can weigh 10 MB or more. This is because H.264 uses inter-frame motion compensation, while GIF compresses each frame relatively independently with LZW. Despite this inefficiency, GIF persists due to its universal compatibility: it is the only animated image format natively supported in email clients, messaging apps, documentation tools like Confluence and Notion, and virtually any context where standard video is unavailable.