Convert MP4 to GIF

Source · MP4
Target · GIF

Drop MP4 files here

or choose files from your device

Advanced options
  • Input: SDR H.264/AVC video in MP4. HEVC and AV1 input are not supported in this release. Convert short SDR video clips to animated images locally. Presentation order, variable frame durations and rotation are read from the video. Audio and container metadata are discarded. Browser colour conversion produces sRGB display pixels; this is not HDR preservation. Animated GIF, APNG and WebP become silent H.264 video for sharing and playback. One animation cycle is exported; loop counts are not stored as automatic MP4 repetition. Transparent pixels are composited on the chosen background. H.264 is lossy and cannot restore detail already lost. Limits: 16 MiB input/output, 200 frames, 32 million total output pixels, 1 million pixels per frame and 4 MP coded video input. Default longest side: 640 px, without upscaling. Larger files may be slow; performance depends on your device and browser. Use a shorter or smaller clip when a limit is reached. Missing colour tags use browser decoder defaults; displayed colours may differ.
  • Convert short SDR video clips to animated images locally. Presentation order, variable frame durations and rotation are read from the video. Audio and container metadata are discarded. Browser colour conversion produces sRGB display pixels; this is not HDR preservation.
  • GIF supports up to 256 colours and binary transparency. Alpha below 50% becomes transparent; other pixels become opaque. These limits also apply to animated GIF output.

Enable JavaScript to convert files locally.

  • In your browser
  • No upload
  • Private by design

What happens when you convert MP4 to GIF?

Video and animation

Convert short SDR video clips to animated images locally. Presentation order, variable frame durations and rotation are read from the video. Audio and container metadata are discarded. Browser colour conversion produces sRGB display pixels; this is not HDR preservation. Limits: 16 MiB input/output, 200 frames, 32 million total output pixels, 1 million pixels per frame and 4 MP coded video input. Default longest side: 640 px, without upscaling. Larger files may be slow; performance depends on your device and browser. Use a shorter or smaller clip when a limit is reached. GIF uses a palette of at most 256 colours per frame, binary transparency and 10 ms timing. Video gradients may show banding; short frame durations are rounded.

Is audio retained?

No. MP4 to animation drops audio; animation to MP4 creates a video without an audio track.

MP4

Source

MP4

MPEG-4 Part 14

Compression: Depends on variantTransparency: NoMetadata: Title, author and comments in the container; not copied by this conversion.

MP4 stores video and optional audio in a container; the codec determines how the video is compressed.

Explore MP4 format →
GIF

Target

GIF

Graphics Interchange Format

Compression: LosslessTransparency: YesMetadata: Comments, Application extensions

Indexed-colour images and simple frame animation. GIF uses LZW compression and palette-index transparency.

Explore GIF format →

Is MP4 → GIF right for you?

Good choice when

  • GIF fits your delivery use: Simple palette animations.
  • You need a short silent clip or animation and accept the stated colour, timing and transparency limits.
  • You need a short silent clip or animation and accept the stated colour, timing and transparency limits.
  • You can validate the destination’s sample precision and colour interpretation.

Probably not when

  • You need audio, HDR, unlimited duration, original metadata or transparent H.264 output.
  • You need audio, HDR, unlimited duration, original metadata or transparent H.264 output.
  • You require identical samples without a defined colour and precision policy.
  • You need smooth photographic gradients or partial transparency.

MP4 to GIF conversion details

Video and animation
Convert short SDR video clips to animated images locally. Presentation order, variable frame durations and rotation are read from the video. Audio and container metadata are discarded. Browser colour conversion produces sRGB display pixels; this is not HDR preservation. Limits: 16 MiB input/output, 200 frames, 32 million total output pixels, 1 million pixels per frame and 4 MP coded video input. Default longest side: 640 px, without upscaling. Larger files may be slow; performance depends on your device and browser. Use a shorter or smaller clip when a limit is reached. GIF uses a palette of at most 256 colours per frame, binary transparency and 10 ms timing. Video gradients may show banding; short frame durations are rounded.
Is audio retained?
No. MP4 to animation drops audio; animation to MP4 creates a video without an audio track.
Sample precision & colour
Rendered SDR output uses 8-bit display pixels; source precision and original ICC profiles are not retained. Colour handling depends on the decoder and supported source variant.
GIF palette & alpha limits
GIF output uses at most 256 colours per frame. Palette quantisation can change colours and edges. Alpha below 50% becomes transparent; other pixels become opaque. Lossless GIF compression does not reverse this reduction.
Compression
MP4: Depends on variant → GIF: Lossless MP4: Animated GIF, APNG and WebP become silent H.264 video for sharing and playback. One animation cycle is exported; loop counts are not stored as automatic MP4 repetition. Transparent pixels are composited on the chosen background. H.264 is lossy and cannot restore detail already lost. GIF: LZW compression is lossless for the stored palette indices. Colour reduction before encoding is not lossless for an arbitrary RGB source.
Transparency
MP4: No → GIF: Yes
Animation
MP4: Yes → GIF: Yes
Colour depth
GIF: Up to 256 colours/table
Dimensions
Limits: 16 MiB input/output, 200 frames, 32 million total output pixels, 1 million pixels per frame and 4 MP coded video input. Default longest side: 640 px, without upscaling. Larger files may be slow; performance depends on your device and browser. Use a shorter or smaller clip when a limit is reached.
Metadata
Convert short SDR video clips to animated images locally. Presentation order, variable frame durations and rotation are read from the video. Audio and container metadata are discarded. Browser colour conversion produces sRGB display pixels; this is not HDR preservation.

Common questions

Is audio retained?

No. MP4 to animation drops audio; animation to MP4 creates a video without an audio track.

What happens to transparency?

H.264 output is opaque: choose the background colour. APNG and WebP can retain animation alpha, but conversion from ordinary opaque video cannot create it.

Which browsers work?

A secure browser with WebCodecs and the required decoder or H.264 encoder is necessary. Support varies by operating system and hardware. Unsupported codecs produce a clear error; there is no server fallback.

What limits apply?

Use short clips within the limits shown above. Static PNG and WebP are not accepted as animation input. HDR, alpha video, zero-duration animation frames and unsupported colour spaces are rejected.