Convert GIF to MP4
Turn an animated GIF into a standard H.264 MP4 video without uploading the source to a conversion server.
Drop a GIF here
Choose one GIF from this device
Convert GIF to MP4
Turn the GIF frames into a real H.264 MP4 video. GIF transparency is flattened onto the background color you choose.
From GIF frames to an H.264 video.
GifShaper decodes the GIF locally, keeps its frame timing, composites transparency onto your selected background, encodes the frames with WebCodecs H.264, and packages the encoded samples into an MP4 file in the browser.
Browser support matters.
This tool needs a browser and device that expose H.264 encoding through WebCodecs. GIFs are limited to 60 seconds and 500 frames to keep memory use practical.
Common questions.
Is the result really MP4?
Yes. When your browser supports H.264 WebCodecs encoding, GifShaper produces an MP4 container with H.264 video rather than renaming a WebM file.
Does MP4 keep GIF transparency?
No. Standard H.264 MP4 video does not preserve GIF alpha transparency, so transparent pixels are flattened onto the background color you select.
Is the GIF uploaded?
No. GIF decoding, video encoding, and MP4 packaging happen in the browser tab.