Video to GIF Converter (MP4, MOV, WebM / turn screen recordings into small GIFs under a size limit)
Completely free, with no extra charges. You may freely use the output commercially.
About this tool
Pick the part you want from an MP4, MOV, WebM or other video and turn it into an animated GIF. You can set the width, frames per second, playback speed, reverse or back-and-forth (boomerang) playback, the number of loops and cropping on every side, then play the finished GIF right here to check it before saving.
It is built for turning screen recordings from a computer or phone into GIFs for how-to steps, bug reports, READMEs, blog posts and chat. Only the parts that changed since the previous frame are stored, so screen recordings where just the cursor or a small area moves come out small, and screens with few colors are saved without losing any. Set a “File size limit” and, if the GIF goes over it, the tool automatically lowers the width and frame rate and makes it again. All processing happens entirely in your browser (no data is sent).
Choose a video
Drop a video file here, or choose one with the button.
Range and output
Crop (trim unwanted edges)
Values are in pixels of the source video. Use this to remove the taskbar, browser tabs or black bars from a screen recording. The cropped area is outlined on the video above.
Colors and file size
Your GIF
How to use
- Choose a video file with “Choose video”, or drop it into the box. If this is your first time, “Try a sample video” loads a 4-second clip that looks like a screen recording of an Invoices list: the cursor opens the “Export” menu and clicks “Save as CSV”.
- Play the video above to find the part you want as a GIF, pause, and press “Set start here” and “Set end here”. You can also type the seconds directly.
- Choose the width, frames per second, playback speed, direction and loop. Above “Make GIF” you will see the size of the resulting GIF in pixels, the number of frames and how long it plays.
- If needed, trim unwanted edges under “Crop”, and set the number of colors or a file size limit under “Colors and file size”.
- Press “Make GIF”. The tool steps the video to each position in turn, captures one frame at a time and builds the GIF. When it is done, the GIF plays below; check it and press “Save GIF”.
If you press “Make GIF” with the sample video, you get a 40-frame GIF at 480 px wide and 10 fps. Most of the screen stays still and only the cursor and the menu change, so from the second frame on only that area is stored. Turn off “Store only the changed parts” and make it again, and you can see the file grow, because the whole screen is stored every time.
How to make a GIF smaller
The size of a GIF file depends roughly on “pixels per frame × number of frames” and on how complex the colors in each frame are. To make it smaller, try the following, starting with what helps most.
- Shorten the range or speed it up: This directly reduces the number of frames. Cut out waiting and repeated actions; for showing how to do something, 1.5× to 2× speed usually still gets the point across.
- Lower the width or crop: Halving the width cuts the pixel count to a quarter. Cropping to just the part being operated on, rather than the whole screen, keeps text readable while making the file smaller.
- Lower the frame rate (fps): To show a sequence of clicks and typing, 8–12 fps is usually enough. Use 15 or more only when you want mouse movement to look smooth.
- Use fewer colors or a larger color difference: Screen recordings often look almost the same at 64–128 colors. Raising “Color difference to ignore” stops the tiny flicker from video compression from being stored.
With “File size limit” on, if the GIF goes over the limit the tool first lowers the width down to half the original setting (never below 160 px), and if it still does not fit, it lowers the frame rate and makes the GIF again. What was changed is shown when it is done. If the site you are posting to has a size limit, set a value a little below it to be safe.
For measurements of how much each setting changes the file size, using a 10-second recording of UI operations and a scrolling recording, see “Turning Screen Recordings into GIFs for READMEs and Issues: Measured Settings for GIFs That Stay Readable and Small”.
How storing only the changed parts works
A GIF can keep the previous frame on screen and draw only a rectangle of the next frame on top of it, and it can make some pixels in that rectangle “transparent” so the frame underneath shows through. This tool compares each frame pixel by pixel with what was last displayed, and stores only the smallest rectangle that contains the pixels whose color difference exceeds “Color difference to ignore”. Unchanged pixels inside the rectangle are also made transparent, so the same color repeats and compresses well. Frames with no change at all are not stored; instead, the previous frame is shown for longer.
The colors of each frame are chosen only from the pixels stored in that frame. If the frame uses 256 colors or fewer (255 when transparency is used), those colors are used as they are, so text and icons in screen recordings do not degrade. For frames with more colors, such as photos, representative colors are chosen with the median cut algorithm and each pixel is replaced with the closest one.
Frame durations are stored in units of 1/100 second, so at 30 fps the tool alternates 3/100 and 4/100 second so that the total playing time matches the original range.
Troubleshooting
- “This browser cannot play this video format”: The video is read with the browser's own playback, so formats that will not play in the preview above cannot be converted. HEVC (H.265) MOV files recorded on an iPhone may not play in Chrome or Edge on Windows. Open them in Safari, or use videos recorded with “Most Compatible” selected in the iPhone settings, or exported as H.264 MP4.
- Too many frames: A GIF is limited to 900 frames. Shorten the range, lower the fps or raise the playback speed. For long explanations, several GIFs split by scene are also easier for readers to follow.
- The first or last frame is off: Depending on the video, the frame shown may be slightly before or after the exact time you set. Move the start or end by about 0.1 second and make the GIF again.
- Banding in skies or skin in photos: There are not enough colors, so similar colors have been merged. Set 256 colors and turn on dithering to make it less noticeable.
- Faint trails of movement remain: If “Color difference to ignore” is too large, slowly changing areas can stay as they were in the previous frame. Lower the value.
Formats other than GIF and related tools
GIF is an old format limited to 256 colors per frame, but its advantage is that it plays almost everywhere: in browsers, chat apps, email and as an image in Markdown. For long videos or high-quality live-action footage, MP4 is smaller wherever you can post an MP4 directly. To pull still images out of a video, use the MP4 Frame Extractor; to combine before-and-after screenshots of a screen recording into one image, use Combine Images; and to make screenshots with names or email addresses from the recording hidden, use Image Redaction: Mosaic, Blur and Black Out.