Skip to content

MKV to GIF converter

Convert an MKV to a GIF 480 pixels wide at 10 frames a second, free and without an account. The GIF has no sound and no subtitles, and the FFmpeg command on this page draws the subtitles into the picture.

Choose a file or drag it here
MP4, AVI, MOV, FLV, MKV, WebM, 3GP, MPEG, MPG, GIF, WMV, TS (up to 500 MB)
Input
MKV files
Izvade
GIF, 480 px wide, 10 fps
Limit
Up to 500 MB
Price
Free, no account

How to convert MKV to GIF

  1. 01

    Choose your MKV

    Drop it on the box. The limit is 500 MB.

  2. 02

    Check what changes

    The table under your file shows the GIF's size range and picture before you convert.

  3. 03

    Download the GIF

    The link lasts one day.

What will the GIF look like?

480 pixels wide, 10 frames a second, no sound, and it loops forever.

The converter takes the whole video. It has no trim, crop or speed setting, so cut the clip first or use the command further down. The height follows the picture: 270 for a 16:9 video.

The video, 24 frames a second
The GIF this converter made of the same pan, with the gray sky drawn in coloured dots
The GIF this converter made of it: 278 KB

How long can the GIF be?

About 35 seconds of filmed widescreen video fit under GitHub's 10 MB limit, and 71 seconds under Discord's 20 MB.

A GIF stores every frame as a picture, so each second of a widescreen video adds 100 to 300 kB. A vertical video makes a taller GIF that costs more. Pick what your video shows and how long it runs.

Seconds of video
15
10 MB20 MB25 MB
GIF4.2 MB
MP4954 KB

15 seconds make a GIF of about 4.2 MB, 4 times the size of an MP4 of the same picture.

LimitScreen recordingAnimationLive action
GitHub10 MB93 s34 s35 s
Discord, free20 MB187 s69 s71 s
Gmail25 MB234 s86 s89 s

Measured on a screen recording of a web page, the Sintel trailer and Tears of Steel. The MP4 bar is the same 480-pixel picture at 10 frames a second. Slack says custom emoji work best under 128 KB and takes GIFs of up to 50 frames, which is 5 seconds of this converter's GIF.

Will the GIF look like the video?

No. It keeps 10 frames a second and at most 256 colours, and this converter draws soft colours as a pattern of dots.

A 24 fps video loses 14 of every 24 frames. One frame of the trailer holds more than 12,000 colours. The converter's GIF of it uses 56, picked from a fixed palette, and mixes them in a grid. A palette made from the clip itself uses 221 and keeps a gray sky gray.

Desert dunes under a smooth gray sky, from the videoThe same crop in the converter's GIF: the sky is a grid of yellow and purple dots
The videoThis converter
A quarter of one frame, enlarged. Drag across it to compare. The palette from the clip made the GIFs we tried 1.8 to 3.5 times bigger.

Are the subtitles in the GIF?

No. A GIF is pictures only, and the converter draws no subtitle track into it.

The Sintel trailer's MKV carries two subtitle tracks. Thirteen seconds in, the first one reads "What brings you to the land of the gatekeepers?" The converter's GIF shows the picture without it. The command further down draws it in.

An old man speaking, with no subtitle
The same frame of both GIFs, 13 seconds in.

Make the GIF on your computer

FFmpeg trims, picks the frame rate and builds a palette from your clip. These are the commands we measured with.

A short GIF with better colour

Takes 10 seconds from the start. Change ‑ss for the start, ‑t for the length, fps and 480 for smoothness and width.

ffmpeg -ss 0 -t 10 -i in.mkv -vf "fps=10,scale=480:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" -loop 0 out.gif
A GIF with the subtitles drawn in

Draws the MKV's first subtitle track. Add :si=1 after in.mkv for the second.

ffmpeg -i in.mkv -vf "subtitles=in.mkv,fps=10,scale=480:-1:flags=fast_bilinear" -loop 0 out.gif
The command this converter runs

The whole video, FFmpeg's built-in palette.

ffmpeg -i in.mkv -vf "fps=10,scale=480:-1:flags=fast_bilinear" -loop 0 out.gif

If the conversion doesn't work

The GIF is tens of megabytes
The converter keeps the whole video. Five minutes of film made a GIF of 81.4 MB. Trim the video to the seconds you need, or keep it as an MP4.
"Couldn't convert this"
A file with sound and no picture has nothing to draw, so the conversion fails.
"Choose a file under 500 MB."
The file is over the limit. Make the GIF on your computer instead.
The download link stopped working
Links expire after a day. Convert the video again.

Related file conversions

Turn an idea into a video

Give Storybook a topic or an article link. It makes an illustrated video with narration and music.

Try Storybook
All 42 tools

MKV to GIF questions

All file converters

Search converters