# Convert MP4 to GIF

Convert MP4 videos to GIF format with 30-second limit and customizable quality settings

> Canonical page: https://elysiatools.com/en/tools/mp4-to-gif

- **Category:** Media

- **Keywords:** mp4, gif, convert, video, animation, ffmpeg, format, compress

## Overview

Easily convert your MP4 video files into high-quality animated GIFs with our intuitive online tool, designed to give you full control over frame rate, duration, and color optimization.

## Inputs

- **MP4 Video File** (file): Select MP4 video to convert
- **Output Width (px)** (number): Target width in pixels (max 2048)
- **Output Height (px)** (number): Target height in pixels (max 2048)
- **Frame Rate (fps)** (number): Animation frame rate (1-30 fps)
- **Start Time (seconds)** (number): Start conversion from this time (seconds)
- **Duration (seconds)** (number): Maximum 30 seconds for GIF
- **Quality (0-100)** (number): Higher quality = larger file size
- **Color Palette Size (2-256)** (number): More colors = better quality but larger file
- **Optimize Colors** (checkbox): Use optimized color palette for better compression
- **Enable Dithering** (checkbox): Apply dithering for smoother color transitions

## When to use

- Creating short, shareable reaction clips from longer video files.
- Generating lightweight animations for web content or social media posts.
- Extracting specific highlights from a video without needing complex editing software.

## How it works

- Upload your MP4 video file (up to 50MB).
- Adjust settings like frame rate, start time, and duration to capture the perfect segment.
- Fine-tune the output quality, color palette, and dithering options for the best visual results.
- Click convert to process your file and download your new GIF.

## Use cases

- Converting product demonstration clips for email marketing campaigns.
- Turning funny video moments into custom memes for social media.
- Creating quick visual tutorials or software walkthroughs for documentation.

## Frequently asked questions

### Is there a limit on the video length?

Yes, the tool supports a maximum duration of 30 seconds for the generated GIF.

### Can I change the dimensions of the GIF?

Yes, you can specify custom width and height values in pixels, up to a maximum of 2048px.

### How does color optimization affect the file?

Enabling color optimization and adjusting the palette size helps reduce the final file size while maintaining visual clarity.

### What is the maximum file size for uploads?

You can upload MP4 files up to 50MB in size.

### Does this tool support dithering?

Yes, you can enable dithering to achieve smoother color transitions in your GIF.

## Related tools

- [Video to GIF Optimized](https://elysiatools.com/en/tools/video-to-gif-optimized): Convert videos to optimized GIF format with advanced compression settings
- [Convert GIF to MP4](https://elysiatools.com/en/tools/gif-to-mp4): Convert GIF images to MP4 video format with customizable quality and resolution settings
- [Video to APNG](https://elysiatools.com/en/tools/video-to-apng): Convert video clips to APNG (Animated PNG) format with transparency support and better quality than GIF
- [Convert GIF to WebM](https://elysiatools.com/en/tools/gif-to-webm): Convert GIF images to WebM video format with modern compression and web optimization
- [Animated WebP/APNG to MP4](https://elysiatools.com/en/tools/animated-webp-apng-to-mp4): Convert animated WebP or APNG images to MP4 video format using ImageMagick or FFmpeg command line tools
- [AVI to MP4 Converter](https://elysiatools.com/en/tools/avi-to-mp4): Convert AVI video files to MP4 format
- [FLV to MP4 Converter](https://elysiatools.com/en/tools/flv-to-mp4): Convert FLV video files to MP4 format
- [MKV to MP4 Converter](https://elysiatools.com/en/tools/mkv-to-mp4): Convert MKV video files to MP4 format

## Samples

- [Video AV1 Samples](https://elysiatools.com/en/samples/video-av1-samples): Sample video files encoded in AV1 format
- [Video H.264 Samples](https://elysiatools.com/en/samples/video-h264-samples): Sample video files encoded in H.264 (AVC) format
- [Video H.265 Samples](https://elysiatools.com/en/samples/video-h265-samples): Sample video files encoded in H.265 (HEVC) format
- [Video Samples](https://elysiatools.com/en/samples/video-samples): Sample video files in different formats and orientations

## Related content

- [Video Delivery Format Conversion: Audio, Streams, GIF, WebM, and MP4](https://elysiatools.com/en/hubs/video-convert): Choose a delivery target for a video or animation, extract only the needed audio or video stream, and convert short motion assets while recording quality and compatibility trade-offs.
- [Image Format Conversion Without Losing Transparency or Motion](https://elysiatools.com/en/hubs/image-convert): Convert still images, icons, or animated assets into a delivery-friendly format while protecting transparency, frame behavior, dimensions, and preview compatibility.
