AVIF to MKV Converter

Convert AVIF files to MKV format online. Free, fast, no watermarks.

Initializing... drag & drop files here

Supports: AVIF

OptionsAdvanced Options - Our defaults are optimized for the best results. We recommend you keeping the defaults unless you have a specific need.
Show All Options
Merge strategy
Select Merge images to combine all uploaded files into a single video. Use Video per image to create a separate video for each individual file.
Image Duration
Duration
How long each still image is held on screen. This applies to static images — including a static WebP, AVIF or HEIC. It is ignored for animated sources, which keep their own frame timing: GIF, APNG, and an animated WebP, AVIF or HEIC.
Background Color
Background Color
File Compression
Preset
Video resolution

Convert AVIF to MKV

AVIF is an image format — an AV1-encoded picture stored in the HEIF file structure — while MKV (Matroska) is a general-purpose video container. Converting AVIF to MKV therefore does not "change an image into a different image": it encodes your picture as video and wraps it in a container that video editors, media servers and players treat as a real clip. A still AVIF becomes a clip that holds one frame for a duration you choose; an AVIF that contains an image sequence has its frames carried across as motion. Files are uploaded over an encrypted connection, converted on our servers, and returned with no sign-up and no watermark.

AVIF Format at a Glance

Property Value
Full name AV1 Image File Format
Published by Alliance for Open Media (AOMedia)
Payload codec AV1 — the same codec used for AV1 video, applied to a single picture
File structure HEIF (ISO/IEC 23008-12), so .avif files are ISO base media boxes
Compression Lossy and lossless; roughly half the size of an equivalent JPEG
Alpha channel Yes
HDR and wide colour Yes — high dynamic range and wide-gamut images are supported
Animation Yes — an AVIF can hold a timed image sequence
Browser support Chrome 85+, Firefox 93+, Safari 16.1+, Edge 121+
Best for Web images where size matters and modern browsers are the audience

MKV (Matroska) Format at a Glance

Property Value
Full name Matroska Multimedia Container
Specification IETF RFC 9559, published 2024, covering Matroska versions 1 through 4
Underlying structure EBML — a binary, XML-like element tree
Codec policy Codec-agnostic: the container does not restrict which video or audio codec is inside
Tracks per file Multiple video, audio, subtitle and chapter tracks in one file
Codec used here H.264 by default, with AV1, H.265, VP9, MPEG-2 and others selectable
Alpha channel Not carried — video output is opaque
Web support Not part of the HTML video baseline; MKV is a desktop and media-server container, and Safari and iOS do not play it
Best for Archival copies, multi-track masters, and anything you will re-mux later

How to Convert AVIF to MKV

  1. Upload Your AVIF File: Drag and drop your .avif onto the page or click "+ Add Files". You can add several images at once; Merge strategy decides what happens next — "Merge images" (the default) writes one MKV from all of them, "Video per image" writes one file each.
  2. Set the Duration: Open Image Duration and pick a value from the Duration dropdown, which runs from 1/60 of a second up to 10 seconds per frame. The default is 5 seconds, and it controls how long a still picture stays on screen.
  3. Choose Quality, Resolution, and Background Color: Under File Compression the Quality Preset is preselected at "Very High (Recommended)"; lower presets shrink the file, and Constant Quality and Constraint Quality modes are there if you want to set the CRF yourself — bitrate and file-size targeting modes don't appear for image sources, so a shorter Duration or a smaller resolution is the other size lever. Under Video resolution choose "Keep original", a fixed size such as 1920 x 1080, or a preset, and set the Background Color (White by default) that fills transparent areas and letterbox bars.
  4. Convert and Download: Click "Convert" and download the MKV. No sign-up, no watermark.

What the Conversion Actually Produces

The output is encoded with H.264 inside a Matroska container by default, which is the pairing most desktop players and editors handle without extra codecs. Because a picture has no soundtrack, the encoder skips the audio stage entirely and the MKV has no audio track — you can add one later in an editor, and Matroska is unusually good at accepting extra tracks after the fact.

Two details often surprise people on their first run. First, a still image is encoded at one frame per second, so the default 5-second Duration writes a five-frame clip; the length is right, but a frame-accurate scrub will show far fewer frames than a camera-shot video of the same length. Second, MKV video is opaque. Any transparency in the AVIF is composited onto the Background Color before encoding — white unless you choose otherwise — and that same colour fills the bars when your chosen frame size does not match the image's aspect ratio.

If you need a container that phones, browsers and social platforms accept, MKV is the wrong end of the trade: use AVIF to MP4 instead, or convert an existing Matroska file with MKV to MP4. MKV is the better choice when you want an open, codec-flexible master that you will edit, subtitle or re-mux later.

Frequently Asked Questions

Does converting a still AVIF to MKV add any motion?

No. A still .avif holds a single picture, so the MKV shows that one image for the duration you set and nothing moves. Only an AVIF that stores an image sequence — a timed set of frames inside the file — carries real motion into the MKV, and the converter detects that case automatically.

Why would anyone put an image inside a video container at all?

Because video tools only accept video. Wrapping a still in MKV lets you drop it onto an editing timeline, feed it to a media server or streaming pipeline, use it as a hold card or title slate, or chain several AVIFs into one clip with "Merge images". The picture itself does not change; what changes is that software now treats it as footage.

What video codec does the output MKV use?

H.264 by default, which decodes in VLC, mpv, ffmpeg-based tools and virtually every desktop editor. Matroska is codec-agnostic, so the Video Codec control also offers AV1, H.265, VP9, VP8, MPEG-2, MPEG-4 and several legacy encoders if a downstream tool needs one of them specifically.

Will the MKV keep my AVIF's transparency?

No. Video frames in MKV are opaque, so there is no keep-transparency option for a video target. Alpha is composited onto the Background Color — white by default, or any colour in the dropdown — before encoding, and semi-transparent edges blend into that colour rather than fringing. If the alpha channel matters, stay in an image format: AVIF to PNG preserves it.

Why does the MKV have no audio track?

A still image contains no sound, so the encoder skips the audio stage rather than writing an empty or silent track. Matroska can hold audio, subtitles and chapters alongside the video, so if you need a soundtrack the usual route is to convert here and then mux the audio in with an editor or a Matroska tool.

Is AVIF to MKV lossy?

Yes. The AV1 picture is decoded and then re-encoded with the codec you select — H.264 by default — so one lossy generation is added even at the highest quality settings. Set the Quality Preset to "Highest" if the clip will be re-encoded again downstream; the file grows, but you leave more headroom for the next pass.

Why is my MKV only a few frames long even though it says five seconds?

Because a still needs no more than that. Our pipeline encodes still-image input at one frame per second, so a 5-second Duration produces a five-frame clip whose duration is correct but whose frame count is deliberately low — there is nothing changing between frames, so extra frames would only add size. Players and editors read the duration from the container and show it as a normal five-second clip.

Can I combine several AVIF images into one MKV?

Yes. Upload them together and leave Merge strategy on "Merge images"; they are encoded in upload order, each held for the Duration you set, producing a single MKV. Switching to "Video per image" gives you one file per picture instead. For a clip meant to be shared rather than archived, run the same set through AVIF to MP4.

What happens to my file after the conversion?

Your AVIF is uploaded over an encrypted connection, converted on our servers, and deleted automatically a few hours later. There is no sign-up, no watermark, and files are never shared or made public.

Rate AVIF to MKV Converter Tool

Rating: 4.8 / 5 - 81 reviews