TapCub is live — analytics, insights and live chat, free on one platform

Video to GIF · MP4 to GIF MP4 to GIF: trim a clip and convert it in your browser

Screen recordings, product demos and phone clips are usually MP4. Drop one here, mark the start and end, choose the width and frame rate, and get a GIF that plays in docs, tickets and chat. The MP4 is never uploaded.

  • Files stay on your device
  • Trim to the second
  • Size estimate first

Convert MP4 to GIF

Choose a video to make a GIF, or a GIF to make an MP4. The tool picks the mode from the file.

Convert

No file yet. Choose, drop or paste a video, or try the sample clip.

Only ever shrinks; the height follows.

10 fps suits most screen recordings; 15 to 20 for fast motion.

GIF allows at most 256 colours per image.

How frame rate changes a 6-second GIF

A 6-second clip at 480 × 270 px with 256 colours and dithering. Each extra frame per second adds frames, and every frame adds bytes.

How frame rate changes a 6-second GIF
Frame rateFramesDelay per frame (1/100 s)Estimated size
5 fps30200.3–1.9 MB
10 fps60100.5–3.8 MB
15 fps906 / 70.8–5.8 MB
20 fps12051–7.7 MB

The range is wide on purpose: a still screen recording lands at the low end, grainy phone footage at the high end. The tool shows the same estimate for your own clip before converting.

Your files never leave this device: they are read and converted by your browser, and nothing is uploaded to TapCub or anyone else. To check, open your browser’s developer tools, go to the Network tab and run the tool: no file is sent.

Version v1.0Updated Update history

Read the result

Why your GIF is the size it is

A GIF stores every frame as a full picture with up to 256 colours. Four things decide the file size.

Pixels

Width × height. Halving the width keeps a quarter of the pixels, and the file shrinks roughly as much. 480 px is plenty for chat, docs and email.

Frames

Seconds × frame rate. A 6-second clip at 10 fps is 60 frames; at 20 fps it is 120. Screen recordings rarely need more than 10.

Colours and grain

Fewer colours mean smaller frames. Video grain and noise change pixels in every frame, so camera footage compresses far worse than a clean screen recording.

Speed

Speed only changes how long each frame is shown. 2× makes the GIF shorter to watch, not smaller.

The estimate before converting is a range. The real size appears next to the preview when the GIF is ready.

How to use it

How to make a GIF from a video

The defaults (480 px, 10 fps, 256 colours) suit most screen recordings.

  1. 1

    Add the video

    Choose an MP4, WebM or MOV, drop it on the box or paste it. The video opens in the player above the settings.

  2. 2

    Set the start and end

    Drag the two sliders, or play the video and press "Set start here" and "Set end here". A GIF covers up to 30 seconds.

  3. 3

    Choose size and smoothness

    Pick width, frame rate and colours. The line under the settings estimates the frames and the file size as you change them.

  4. 4

    Make the GIF and download

    Click Make GIF. You can cancel at any time. Check the preview, then download, or change a setting and try again.

How it works

From video frames to a GIF, and back to MP4

The browser decodes the video; the tool picks frames and rebuilds them as a GIF.

  • Frame times: start, start + 1 ÷ fps, start + 2 ÷ fps … up to the end. The player seeks to each time and the frame is drawn to a canvas at the chosen width
  • Each frame is shown for 1 ÷ fps ÷ speed seconds, stored in hundredths of a second and rounded on the running total so the length does not drift
  • One shared palette is built from samples of all frames (the open-source gifenc quantizer), so colours do not flicker
  • Pixels that match the previous frame are written as transparent, which compresses better without changing what you see
  • GIF to MP4: frames are encoded as H.264 with the browser’s WebCodecs encoder and packed into an MP4 with the open-source mp4-muxer. Width and height are rounded down to even numbers
  • No ffmpeg download: everything uses what the browser already has, so the page stays light on phones
GIF and MP4 compared
GIFMP4 (H.264)
ColoursUp to 256 per frameMillions
CompressionEach frame on its own (LZW)Between frames, much smaller
SoundNonePossible (not added here)
LoopingBuilt inSet by the player
Where it playsAnywhere an image doesVideo players and most chat apps
Worked example

A 6-second clip at 10 fps

6 seconds of a 1080p screen recording, width 480 px (480 × 270), 256 colours with dithering.

Frames and size
StepCalculationResult
1. Frames6 s × 10 fps60 frames
2. Delay1 ÷ 10 fps10 hundredths of a second
3. Pixels per frame480 × 270129,600
4. Estimated sizeAbout 1.4 bits per pixel per frame0.5–3.8 MB (middle 1.3 MB)

At 240 px wide the same clip is estimated at about 0.3 MB. At 15 fps the delays alternate 6 / 7 hundredths to keep 15 frames per second.

Common mistakes

Where video to GIF goes wrong

Most problems are a file that is too big to send or a GIF that looks choppy.

Full HD width

A 1920 px GIF of a few seconds can run to tens of megabytes. Chat apps and docs show GIFs at 480 px or less.

Too long a clip

GIF has no inter-frame compression. Every extra second adds the same weight again; trim to the moment that matters.

Frame rate too low for motion

5 fps is fine for slides and UI clicks, but scrolling or a moving camera needs 12 to 20 fps to look smooth.

Few colours on footage

Skin, sky and gradients band badly at 32 or 64 colours. Keep 256 with dithering for camera video; use fewer for flat screen recordings.

FAQ

Video to GIF questions

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

How do I convert an MP4 to a GIF?

Add the MP4, set the start and end with the sliders or the "Set start here" buttons, choose width and frame rate, then click Make GIF and download.

What frame rate should an MP4 to GIF use?

Most MP4s run at 24 to 60 fps, but a GIF rarely needs more than 10 to 15. Higher rates make the file much larger with little visible gain on screen recordings.

Why does the GIF look grainier than the MP4?

MP4 can show millions of colours; GIF has 256 per frame. Dithering mixes nearby colours to hide the steps. Keep 256 colours for camera footage.

Does the GIF keep the sound?

No. GIF has no audio track. If you need sound, keep the MP4.

Changelog

Update history

New features, fixes and data refreshes for this tool, newest first.

  1. · v1.0

    LaunchedFirst release.

Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates

Next step

Analytics that keep personal data out

TapCub counts visits without cookies and never stores IP addresses, with a compliance centre for stricter regions.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics