YupPop

Convert GIF to MP4

YupPop turns a GIF up to 20 MB into a silent 30 fps H.264 MP4 of up to 60 seconds in your browser. Pick 1, 2, 3 or 5 plays, then compare both file sizes. On our demo GIFs, MP4 came out 91–94% smaller. Your GIF is not uploaded by default, and no sign-in is needed.

  1. Upload
  2. Adjust
  3. Download

100% Local in browser · Zero server upload · No watermark

Your GIF is processed on your device and is never uploaded.

MP4 writing uses the open-source mediabunny library, under the Mozilla Public License 2.0. Read the licence or get the source.

5.9 MB → 349 KBDemo GIF (498 × 280, 3.9 s) came out 94.2% smaller in Chromium
4.5 MB → 329 KBOdd-width demo GIF (373 × 280 → 374 × 280) came out 92.9% smaller
1, 2, 3 or 5 playsChoose how often the animation repeats inside the MP4
0 KB uploadedYour GIF is not uploaded by default, and no account is needed

Don’t take our word for it: disconnect your Wi-Fi after your first conversion finishes, then convert again. It still works, because the encoder is already on your device and your GIF is not uploaded by default. You do not need to sign in.

Built for Discord, X (Twitter), GitHub, Slack and web pages.

How to convert a GIF to MP4

  1. Choose a GIF from your device, or drop it on the box.
  2. Pick how many times it should play (1 is the default and keeps the length of the GIF), then press Convert to MP4. The video keeps the picture size of the GIF.
  3. Play the preview, compare the two file sizes, check the Discord, X and GitHub notes, then download the MP4.

Supported formats and limits

AcceptsGIF files (checked by file header, not just the name)
File sizeUp to 20 MB
Picture sizeUp to 4096 pixels on each side. Large pictures allow fewer frames, because the limit is on total pixels
LengthThe whole video, plays included, is up to 60 seconds. Play choices that would go over it are grayed out
Plays1, 2, 3 or 5. The default is 1: the video is as long as the GIF. More plays repeat the animation inside the file and make a bigger file
OutputOne MP4 video (H.264) with no sound, at 30 frames per second. The preview on the page loops forever, but the downloaded file plays the number of times you chose, then stops. An odd width or height gets one extra pixel, because video needs even sizes. Transparent areas turn white, because video has no transparency
BrowserNeeds a browser that can write MP4 files, such as a recent Chrome, Edge or Safari. If yours cannot, the page says so instead of failing
UploadNone. The GIF is processed on your device

Common frustrations this GIF to MP4 converter solves

Why is my MP4 sometimes bigger than the GIF?

Small flat-color GIFs are already tiny, and a video has fixed overhead, so the MP4 can come out larger. Both file sizes are shown after converting, so you can keep the smaller one.

Why does my MP4 stop instead of looping like a GIF?

An MP4 file does not store a loop setting like a GIF does. Choose 1, 2, 3 or 5 plays to repeat the animation inside the file, or keep 1 play and use the loop attribute with the embed code the page gives you.

Will Discord, X or GitHub take my MP4?

After converting, the page checks the real file size, length and picture size against their limits and tells you which ones it is under or over.

Why do GIFs with an odd width or height fail to convert?

H.264 needs even sizes. An odd side gets one extra pixel made by repeating the last column or row, so nothing is cropped and there is no black edge.

How GIF to MP4 works in your browser

The GIF is decoded and re-encoded as H.264 video on your device. Nothing is uploaded, and there is no account, no credits and no watermark:

What to expect: size, dimensions and compression

The only choice is how many times the animation plays; the video keeps the GIF picture size. This table shows what changes.

PropertyGIF inputMP4 outputWhat it means
DimensionsAny size up to 4096 px per sideSame size, rounded up to even numbersNo resizing. Odd sides gain one pixel.
Frame rateVariable per-frame delaysConstant 30 fpsTiming is kept; very fast GIFs are sampled to 30 fps.
Colors256 per frame16.7 million (24-bit, H.264)The video can hold more color than the GIF, but it cannot restore detail the GIF already lost.
LengthUp to 60 seconds for nowSame length for 1 play; the length times the number of plays for 2, 3 or 5An MP4 file does not store a loop setting. With 1 play it ends when the GIF would end; the whole video stays within 60 seconds.
File sizeUp to 20 MB91–94% smaller on our demo GIFs in ChromiumFlat-color GIFs shrink less and can even grow, and more plays make a bigger file; the page shows both sizes.

Benchmark: GIF vs MP4 size

Measured on 25 November 2026 in Chromium on macOS using the exact converter on this page (1 play, 30 fps H.264 WebCodecs). The first clip is the one-click sample above, so you can run it right here and check the numbers. The first run includes loading the encoder; real sizes and times vary by browser and device, and the fallback recorder runs in real time. Flat-color GIFs shrink less.

Demo GIFGIF sizeMP4 sizeReductionBrowser encode time
Wide meme GIF, 498 × 280, 78 frames, 3.9 s5.9 MB349 KB−94.2%1.5 s (first run)
Odd-width GIF, 373 × 280, 78 frames, 3.9 s4.5 MB329 KB (374 × 280)−92.9%0.42 s
Vertical GIF, 158 × 280, 78 frames, 3.9 s1.8 MB149 KB−91.7%0.35 s

Posting the MP4: Discord, X (Twitter), GitHub and Slack

Limits change by plan and app version. Checked against official help pages in November 2026. After converting, this page checks your finished file against Discord, X and GitHub.

PlatformVideo limitNotesSource / Checked
Discord20 MB standard (since Aug 2026) · 50 MB Nitro Basic · up to 1 GB NitroDiscord accepts H.264 MP4, which is what this page writes. The check uses the standard limit.Discord Help Center (Nov 2026)
X (Twitter)140 seconds · 512 MB · 1920 × 1200 (or 1200 × 1900) max, without a paid X subscriptionVideos of 60 seconds or less loop on X by themselves, so 1 play is enough there. A GIF upload is limited to 15 MB web · 5 MB mobile, and a GIF that plays only once shows as a still image.X Help Center (Nov 2026)
GitHub10 MB without a paid plan · 100 MB on a paid planVideos attach to issues, pull requests and comments. The page gives a result for both limits.GitHub Docs (Nov 2026)
Slack1 GB per fileA GIF of up to 20 MB stays far under this limit as an MP4.Slack Help Center (Nov 2026)
Email or READMEDepends on the appEmail apps differ: video works in some (Apple Mail, partly Outlook) but not in Gmail or Yahoo, while GIF works in more. Keep the GIF there.caniemail.com, html-video and image-gif pages (Nov 2026)

YupPop vs. ezgif and Canva

Pick YupPop when the GIF is up to 20 MB, you want it kept on your device, and you want to choose how many times it plays. Pick ezgif for a GIF up to 200 MB or a chosen background color, or Canva for a GIF up to 1 GB that you want to keep editing. Checked on each site’s own page on 25 November 2026.

DimensionYupPopezgifCanva
Where your file goesStays on your deviceUploaded by default and deleted after 1 hour; a local processing option is availableUploaded to Canva
Biggest GIF20 MB200 MB1 GB
WatermarkNo watermarkNo watermarkNo watermark
Many GIFs at onceOne GIF at a timeLocal batch modeOne file at a time
What you can adjustNumber of plays: 1, 2, 3 or 5Background color and number of loopsOpens in Canva’s editor for trimming and cropping
Sign-inNo accountNo accountSign in to your Canva account first

GIF vs MP4: 256-color palette vs H.264 compression

The two formats store moving pictures in very different ways.

GIFMP4 (H.264)
Colors256 per frame (indexed palette)16.7 million (24-bit), stored as brightness plus color
How frames are storedEach frame is stored as its own image, or only the pixels that changedMotion between frames is predicted, so only changes are stored
Typical sizeBaseline (largest)91–94% smaller on our demo GIFs in Chromium
Outside example3.7 MB551 KB in web.dev’s guide to using video instead of animated GIFs
Transparency1-bit on or offNone
Audio and loopNo audio; loops by defaultOptional audio; repeats only if the file contains the repeats (1, 2, 3 or 5 plays here) or the player or page asks it to
Where it playsAnywhere an image works, including email and README filesWherever video is accepted

Why GIF to MP4 instead of GIF Compressor or Video to GIF

Choose by what the destination accepts.

Instead of…Pick GIF to MP4 when…Pick the alternative when…
GIF CompressorThe destination accepts video. MP4 is usually far smaller than even a Heavy-compressed GIF and keeps smooth color.The destination only accepts a GIF. Compress it to an 8 MB or 10 MB target instead.
Video to GIFYou already have a GIF and want a lighter, sharper copy.You have a video and need a GIF. That tool goes the other way (video to GIF).
An upload-based converterThe GIF is private or unreleased and you do not want to upload it.You need audio, batch conversion or a custom bitrate.

Next steps in your workflow

When to use this tool vs. desktop software

Troubleshooting GIF to MP4

The page says my browser cannot create MP4 files.

Why it happens: The page needs either WebCodecs H.264 encoding or a recorder that writes video/mp4. Some browsers and older versions have neither.

How to fix it: Use a recent Chrome, Edge or Safari, or convert with desktop FFmpeg.

The progress bar says “Recording in real time”. Why is it slow?

Why it happens: Your browser could not set up its fast H.264 encoder, so the page records the video while it plays. That takes as long as the whole video, plays included.

How to fix it: Wait for it to finish, or use a recent Chrome, Edge or Safari for a much faster conversion.

My GIF has an odd width or height. Is the video the wrong size?

Why it happens: H.264 works on even-sized pictures, so a 561 × 315 GIF becomes 562 × 316.

How to fix it: This is expected: one extra pixel is added by repeating the last column or row. If you need exact dimensions, crop the GIF to an even size first with Crop a GIF.

The MP4 is larger than the GIF.

Why it happens: Small flat-color animations are already tiny as GIF, and the video has fixed overhead.

How to fix it: Keep the GIF. The page shows both sizes so you can decide.

The MP4 stops after the GIF ends, and has no sound.

Why it happens: A GIF has no audio, and an MP4 file does not store a loop setting. With 1 play, it ends when the GIF would end.

How to fix it: Choose 2, 3 or 5 plays to repeat the animation inside the file, or keep 1 play and add the loop attribute with the embed code under the preview. On X, videos of 60 seconds or less loop on their own.

Some play choices are grayed out.

Why it happens: The whole video, plays included, is limited to 60 seconds. A 25-second GIF fits 1 or 2 plays, not 3 or 5.

How to fix it: Pick a lower number of plays, or shorten the GIF first.

Transparent areas turned white.

Why it happens: MP4 video cannot be see-through, so transparent pixels are flattened on white.

How to fix it: Put the clip on a background you like first, or use WebM or ProRes with transparency in a desktop tool.

Frequently asked questions

How do I turn a GIF into a video?

Choose your GIF, pick how many times it should play (1 is the default), press Convert to MP4, play the preview and download the file. The video has the same picture size as the GIF (plus one pixel on a side that has an odd number of pixels) and plays for as long as the GIF did, times the plays you chose.

Why is an MP4 often smaller than the GIF?

Video files are built to store moving pictures compactly, while a GIF stores each frame as a limited-color image. A smaller MP4 is common, but not guaranteed: some GIFs, such as small flat-color animations, can come out larger. This page shows both sizes so you can compare them.

Can I post the MP4 on social media?

Often yes, but each app has its own limits, and they change. As checked in November 2026: Discord allows 20 MB for a standard account; X allows 140 seconds, 512 MB and 1920 × 1200 pixels without a paid subscription; GitHub allows 10 MB without a paid plan and 100 MB on a paid plan; Slack allows 1 GB per file. After converting, this page compares your finished file with Discord, X and GitHub. On X, videos of 60 seconds or less loop by themselves, so 1 play is enough there.

What happens to transparent parts of my GIF?

Video cannot be see-through, so transparent areas turn white. Half-transparent edges blend with white.

Is my GIF uploaded anywhere?

No. The GIF is decoded and turned into a video inside your browser. Your file is not sent anywhere while it works.

How much smaller will the MP4 be?

On our demo GIFs in Chromium, files of 5.9 MB, 4.5 MB and 1.8 MB became MP4s of 349 KB, 329 KB and 149 KB—a 91–94% reduction. You can click the sample GIF above to verify the 5.9 MB clip right on this page. For an outside example, web.dev’s guide to using video instead of animated GIFs shows a 3.7 MB GIF becoming a 551 KB MP4. Flat-color animations shrink less and some come out larger, and more plays make a bigger file, so the page always shows both sizes.

Can I convert a GIF to MP4 on my phone without an app?

Yes, in a recent Chrome, Edge or Safari on your phone: choose the GIF (up to 20 MB), press Convert to MP4 and download the video. If your browser cannot write MP4 files, the page tells you.

Why did my 561 × 315 GIF become 562 × 316?

H.264 video needs even width and height, so an odd side gets one extra pixel made by repeating the last column or row.

Does the MP4 loop or have sound?

No sound, because a GIF has none. An MP4 file does not store a loop setting like a GIF does, so choose 1, 2, 3 or 5 plays: the file repeats the animation that many times, then stops. For a web page, keep 1 play and add the loop attribute (the page gives you the tag). The preview loops forever, but the downloaded file stops after the plays you chose.

Does it add a watermark or need credits?

No. There is no watermark, no account and no credits. The conversion runs 100% locally in your browser.

More tools

All video and GIF tools

Finished editing? Make a new video from a photo

YupPop can also turn one photo into a short AI dance or meme video with no watermark. You pay per video with credits, and there is no subscription.

Updated . About YupPop · Privacy

GIF to MP4 Converter — Turn a GIF Into a Video | YupPop