Initializing... drag & drop files here
Supports: GIF
Turning an animated GIF into HEVC (H.265) buys you one of the largest size reductions available here: the whole loop is re-encoded as real video, freed from GIF's 256-colour palette and its frame-by-frame LZW compression. The catch is reach. H.265 is patent-encumbered and its browser support is fragmented, so the smallest file is not automatically the most useful one. The short answer: pick HEVC if the clip is headed for Apple devices, a modern desktop player, or an archive where size matters; pick MP4 if anyone else has to open it.
| Property | HEVC (H.265) | MP4 (H.264) | WebM (VP9) |
|---|---|---|---|
| Standard | ITU-T H.265, "High efficiency video coding", first approved April 2013 | ITU-T H.264 / MPEG-4 AVC | VP9, royalty-free, developed by Google |
| Relative file size at equal quality | Smallest | Larger than HEVC | Close to HEVC on web content |
| Safari | Supported from Safari 13; iOS Safari from 11 | Supported | Limited on older versions |
| Chrome / Edge / Opera | Partial from Chrome 107, Edge, Opera 94 — depends on an OS or GPU decoder | Supported everywhere | Supported |
| Firefox | Partial from Firefox 137, decoder-dependent | Supported | Supported |
| Licensing | Patent-licensed, which is why browser adoption stalled | Patent-licensed but universally shipped | Royalty-free |
| What you get here | .hevc file, Matroska container |
.mp4 |
.webm |
| Best when | Apple ecosystem, desktop players, size-critical archives | You need it to just work for anyone | Embedding on the open web |
.hevc and hit a wall — HEVC to MP4 re-encodes it into the universally playable container.| Aspect | Behaviour |
|---|---|
| Container | Matroska, written with a .hevc filename. It is a real container, not a raw elementary stream — renaming the file to .mkv makes more applications recognise it on sight |
| Video codec | H.265, preselected in the Video Codec group (which lists H.265 and HEVC as two names for the same standard) |
| Audio | None. A GIF carries no audio track, so the output is silent and no Audio Codec control appears |
| Animation | Preserved. Every frame is read from the GIF and encoded in order, using the GIF's own frame timing |
| Transparency | Video cannot store alpha, so transparent areas are filled with the Background Color — White by default, with the full list of named colours to choose from, including Black |
| Resolution | "Keep original" by default; percentage, presets from 4320p down to 144p, or an exact Width x Height |
| Encoding | Always a real re-encode — there is no passthrough path from GIF's LZW frames to H.265 |
.gif onto the page or click "+ Add Files" to browse. Multiple GIFs can be queued and converted with the same settings.It survives in full. An animated GIF is read frame by frame and encoded in order, and the GIF's own inter-frame delays set the playback timing, so the result runs at the speed of the original loop. The per-image duration and merge controls you may have seen on other image-to-video tools are hidden here for exactly that reason — the source already carries its timing. A single-frame GIF simply becomes a very short clip holding that image.
It is a Matroska container holding an H.265 video track — the same thing a .mkv holds. Many applications route purely on file extension and have never heard of .hevc, which is why a double-click can fail. Renaming the file to .mkv fixes that in most players without touching a byte of the stream. VLC and mpv open it either way.
Because there was never any audio to carry. The GIF format has no audio track at all, so the output is silent by nature rather than muted, and the Audio Codec control does not appear on this page. If you need sound, add it in a video editor after conversion, or convert from a source that already has an audio track.
Usually dramatically smaller, though the ratio depends entirely on the source. GIF compresses each frame independently and is capped at 256 colours, so long or detailed loops become enormous. HEVC predicts across frames and has no palette ceiling, which is why heavy animated GIFs typically collapse to a fraction of their original size at visually equivalent quality. Short, flat-colour loops of a few frames benefit far less — there is little redundancy for the encoder to exploit.
Playback is platform- and hardware-dependent rather than universal. Safari has full support from version 13, and iOS Safari from version 11. Chrome from 107, Edge, Opera from 94 and Firefox from 137 are all listed as partial — they play H.265 only where the operating system or GPU supplies a decoder. Samsung Internet supports it from version 21. The underlying reason is licensing cost, which is also why the royalty-free AV1 has taken the space HEVC might have occupied on the open web.
They are filled with a solid colour, because no video codec can store an alpha channel. The Background Color control sets that fill, and it defaults to White; the dropdown offers a list of named colours including Black if white looks wrong against your content. The same colour fills any letterbox bars if you change the output aspect ratio. If you need transparency preserved, stay in an image format — GIF to APNG keeps both the alpha and every frame, while GIF to WebP keeps the alpha on a single still frame.
It removes the format's future limitations but cannot repair past ones. HEVC is not restricted to 256 colours, so it will not add new banding, and it will not re-dither your image on every frame the way a GIF does. What it cannot do is recover colour the GIF already discarded — posterised gradients stay posterised. For the best result, encode from the highest-quality source you have rather than from a GIF that has already been reduced.
Neither control is available on this page. Trim, file-size targeting and bitrate modes are all hidden for image sources — an animated GIF arrives with its own fixed timing, and the encoder is driven by quality rather than by a size budget. Your size levers are the Quality Preset, Constant Quality and Constraint Quality modes, and the Video resolution settings. To cut a section out, edit the GIF before converting, or convert to MP4 and trim the video afterwards with the Video Cutter.