MP4 to GIF Converter: Convert MP4 to Animated GIF Online

Convert an MP4 into an animated GIF in a few clicks, with clear quality settings and no upload.

MP4 to GIF is one of the most common conversions on the web. MP4 is how almost every phone, screen recorder and editor saves video, while a GIF plays and loops by itself almost anywhere an image can go: chats, documents, issue trackers, forums and email. This MP4 to GIF converter turns the part of your MP4 you choose into an animated GIF on your own device. You pick the seconds, set two quality settings, and download. To convert MP4 to GIF here you do not need an account or an app, the file is never uploaded, and no watermark is added. This page explains what the settings really do, how to get a high quality GIF from an MP4 without making it huge, how to do it on Android, iPhone and Mac, and what to do when the GIF is too big.

How does MP4 to GIF conversion work?

The tool reads your MP4 with the browser’s built-in video engine (WebCodecs). From your start time to your end time it captures a frame at fixed steps: every 0.1 s at 10 fps, every 1/15 s at 15 fps, every 0.05 s at 20 fps. Each frame is scaled to the width you chose, never larger than the MP4 itself, with the height following the video’s shape. Then each frame is reduced to its own palette of up to 256 colours, because that is the most a GIF frame can hold, and written into the GIF with a delay that matches your frame rate. The finished file loops forever.

Worked example (computed from the settings the tool uses): a 1080p MP4 screen recording, 4 seconds from 12.0 to 16.0, at 640 px and 10 fps. The GIF is 640x360 and has about 40 frames. Each frame is 230,400 pixels, so before GIF compression the clip holds about 9.2 MB of pixel data. Screen recordings have large flat areas that GIF compresses well, so the real file is usually a fraction of that, but the same 4 seconds at 20 fps would start from twice as much data.

How to use

  1. Add your MP4

    Click the box or drag in an MP4 file. A preview player appears so you can find the right moment.

  2. Set start and end

    Type the seconds or press “Set start here” and “Set end here” while the preview plays. The first 5 seconds are selected by default.

  3. Choose quality settings

    Pick Width (320, 480 or 640 px) and Frames per second (10, 15 or 20). Higher values look better and make a bigger file.

  4. Convert and download

    Press Start, wait for the progress bar, then press Download to save your looping GIF.

Why VidHaul

Built for screen recordings

Turn an MP4 screen capture into a GIF for docs, tutorials or bug reports, with a 640 px option that keeps text readable.

Quality settings that make sense

Two simple controls, width and frame rate. The chart below shows exactly how each combination changes the amount of data.

Precise preview

Play the MP4 and set the start and end at the exact moment, which is what makes meme timing work.

No upload, no watermark

The MP4 to GIF conversion runs on your own device. Free, no sign-up, no watermark and no daily limit.

MP4 to GIF quality settings: what each combination costs

Width and frames per second multiply. This chart shows how much raw picture data one second of GIF holds for each of the nine combinations, for a 16:9 MP4.

Raw picture data per second of GIF, in MB (16:9 MP4)320 px, 10 fps0.58320 px, 15 fps0.86320 px, 20 fps1.15480 px, 10 fps1.30 (default)480 px, 15 fps1.94480 px, 20 fps2.59640 px, 10 fps2.30640 px, 15 fps3.46640 px, 20 fps4.61Width x height x frames per second, 1 byte per pixel, before GIF compression
Computed from the settings the tool uses (320x180, 480x270 or 640x360 frames, 10/15/20 fps, one byte per pixel in a 256-colour GIF). The finished GIF is smaller after GIF’s own compression; how much smaller depends on the video.

The largest setting holds 8 times the data of the smallest. That is why the best first step for a smaller GIF is almost always to shorten the clip or lower the width, not to fiddle with frame rate.

How to convert MP4 to GIF in high quality

  • For readable text and fine detail: 640 px, 10 fps. Screen recordings need width more than frames.
  • For smooth fast motion: 480 px, 15 or 20 fps, and cut the clip shorter to pay for the extra frames.
  • For the best of both: 640 px, 20 fps, but only for 2 or 3 seconds.

Colour is the one thing you cannot raise. Every GIF frame is limited to 256 colours by the format itself. The tool gives each frame its own best 256 colours and maps pixels to the nearest one without adding dithering noise. Flat colours, interfaces and cartoons look clean. Sunsets, skin and soft shadows can show bands of colour. If colour matters more than looping as an image, keep the clip as an MP4.

Frame rate in a GIF: what really gets stored

GIF stores the pause between frames in hundredths of a second. That has a small, honest effect on the 15 fps option.

Frames per second chosenFrames captured everyDelay stored in the GIFPlays at
10 (default)0.100 s0.10 s10 fps, exact
150.067 s0.07 sabout 14.3 fps (a 6 s clip plays for about 6.3 s)
200.050 s0.05 s20 fps, exact

Computed from the tool’s settings and the GIF89a rule that delays are whole hundredths of a second. If exact length matters, use 10 or 20 fps.

How to convert MP4 to GIF, step by step

  1. Add your MP4. Click the box at the top of the page or drag the file onto it.
  2. Choose the seconds. Play the preview, pause where the moment starts and press “Set start here”, then do the same for the end. Or type the numbers.
  3. Pick width and frames per second. Use the chart above as a guide.
  4. Press Start and watch the progress bar. Cancel stops it at any time.
  5. Download. The result shows the size before and after. “Copy summary” copies those numbers, and “Convert another file” lets you try different settings.

Under “More options” you will find “Copy link with these settings”, handy if you make GIFs with the same width and frame rate every week. The output is always GIF, so there is no format to choose there.

Can you convert MP4 to GIF in 4K, 1080p or HD?

You can open a 4K, 1080p or 720p MP4, as long as your browser can play it. The GIF, though, is at most 640 px wide. That is a deliberate limit: at 4K a single GIF frame has 8.3 million pixels, 36 times more than a 640x360 frame, and a few seconds would weigh hundreds of megabytes before compression. No chat app or website would accept that. If you need full HD or 4K, keep it as video: the video cutter trims the MP4 without quality loss, and the video compressor makes it small enough to send.

How to convert a 4K MP4 to GIF for the web

Open the 4K file here, pick 2 to 5 seconds, choose 480 or 640 px and 10 fps. For a web page, also consider whether you need a GIF at all: many sites now play short muted MP4 clips like GIFs, and those are much lighter.

MP4 screen recordings to GIF

Developers, designers and support teams use GIFs to show a click path, a bug or a new feature right inside a ticket or a help page. Screen recordings are often long, so set the start and end around the important action only. Choose 640 px so menus and labels stay legible, and keep 10 fps, since interface movement rarely needs more. Flat interface colours suit the 256-colour palette well, so screen recording GIFs tend to look clean.

Because the conversion runs locally, it is safe for recordings that show internal tools, emails or customer data. Nothing leaves your computer.

Making meme and reaction GIFs from MP4

Play the preview, pause where the reaction starts, press “Set start here”, then do the same for the end. Reactions are viewed small, so 320 or 480 px is plenty. Use 15 fps if the movement is quick. A tight 2 or 3 second loop is funnier and far lighter than a long one.

How to convert MP4 to GIF on Android, iPhone and Mac

Android

Open this page in Chrome, tap the file box and pick the MP4 from your gallery or Files. The GIF is saved to Downloads.

iPhone

Open the page in Safari, choose the MP4 from Files or Photos, and save the GIF to Files when it is done.

Mac and Windows

Use any current Chrome, Edge, Firefox or Safari. There is no software to install. A computer is faster and has more memory than a phone, which helps with long recordings.

Phones do all the work on the phone, so be patient with longer clips, and keep the tab open. Files over about 1.5 GB may fail on phones because everything happens in the device’s memory.

Common MP4 to GIF problems and fixes

  • The GIF is too big to post. Cut it to the key 2 or 3 seconds first, then drop to 480 or 320 px. Lower the frame rate last. If it is still too big, run it through the GIF compressor.
  • Movement looks jerky. Raise frames per second to 15 or 20, and shorten the clip to keep the size in check.
  • Colours look banded. That is the 256-colour limit of every GIF. Clips with flat colours convert most cleanly.
  • The file will not open. Make sure it is a real MP4 your browser can play. For iPhone MOV, WebM or MKV files, use the video to GIF page.
  • No sound in the GIF. GIF has no audio at all. That is the format, not a fault.

How to convert a GIF back to MP4

Some apps accept MP4 but reject large GIFs. If you have a GIF and need a video, use the GIF to MP4 converter. The result is usually much smaller: Google’s web.dev guide shows a 3.7 MB GIF becoming a 551 KB MP4.

How accurate is the MP4 to GIF converter?

  • Start and end: frames are captured at the exact times you set, not snapped to key frames, so the GIF starts where you chose.
  • Speed: exact at 10 and 20 fps; about 5% slower at 15 fps, as the table above shows.
  • Frame count: may be one more than “seconds x fps” because of how decimal steps add up.
  • Colours: up to 256 per frame, no dithering, so gradients band rather than look grainy.
  • Size: we cannot predict the final size, because GIF compression depends on what is in each frame. The result screen shows the real size.
  • Limits: needs a browser with WebCodecs; unusual codecs inside an MP4 may not open; very long clips on phones may run out of memory.

Why this tool is different

Upload-based GIF sites send your MP4 to a server, make the GIF there and send it back. This tool does the whole MP4 to GIF conversion inside your browser tab. You can check that: after the page has fully loaded, turn off your internet connection and convert a file. It still works, because nothing needs a server. That also means no upload wait, no server file size cap, and no copy of your video on someone else’s computer.

The quality settings are honest and few. Width and frames per second are the only two things that change the GIF, and the chart above shows exactly what each costs. We do not offer a “4K GIF” option, because it would produce files nobody could use.

What we measure

Every number on this page is computed from the code the tool runs: the three widths (320, 480, 640 px, never larger than the MP4), the three frame rates (10, 15, 20 fps), the height scaled to the video’s shape, one palette of up to 256 colours per frame with nearest-colour mapping, and frame delays rounded to hundredths of a second as GIF requires. The chart shows raw data before GIF compression because that part is exact. We do not claim a typical finished size, because two MP4s of the same length can give very different GIFs. We do not log, keep or look at your files.

VidHaul vs typical online MP4 to GIF converters
VidHaulTypical upload-based sites
Upload neededNoYes
File size limitNone set by us; your device’s memory is the limitOften a fixed upload limit
WatermarkNeverSometimes on free plans
Sign-upNot neededSometimes needed for bigger files
Works offline after loadingYesNo
PrivacyThe MP4 never leaves your deviceThe MP4 is usually kept on a server for a while

Sources

Only convert videos you own or have the right to use.

Frequently asked questions

How to convert MP4 to GIF?

Choose your MP4 above, set the start and end seconds, pick a width and frame rate, and press Start. When the progress bar finishes, press Download to save the animated GIF.

How to convert MP4 to GIF with quality settings?

Use the Width option (320, 480 or 640 px) and the Frames per second option (10, 15 or 20). Width gives sharpness, frames per second gives smoothness, and both make the file bigger.

How to convert MP4 to high quality GIF?

Choose 640 px and 15 or 20 fps, and keep the clip to a few seconds. Each frame gets its own best palette of up to 256 colours, the most a GIF frame can hold.

Can I convert MP4 to GIF in 4K or 1080p?

You can convert a 4K or 1080p MP4, but the GIF is at most 640 px wide. A full-resolution GIF would be far too large to share or post.

How to save an MP4 as a GIF on Android?

Open this page in Chrome on Android, choose the MP4 from your gallery or files, set the moment and press Start. The GIF is saved to your Downloads folder.

Why is my GIF bigger than my MP4?

MP4 video mostly stores what changes between frames, while a GIF stores every frame as a picture with at most 256 colours. A GIF of the same clip is often much larger, so keep it short and narrow.

Is this MP4 to GIF converter free and safe?

Yes. It is free, adds no watermark, and your MP4 is processed inside your browser. It is never uploaded to a server.

More free tools