HEIF to MKV Converter

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

Initializing... drag & drop files here

Supports: HEIF

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
This is amount to time a single image is displayed on the output video. Only applied to images that are not GIF.
Background Color
Background Color
File Compression
Preset
Video resolution

Convert HEIF to MKV: What This Tutorial Covers

HEIF is the modern, space-saving photo format an iPhone or iPad saves by default, and MKV (Matroska) is a free, open container that can hold video, audio, subtitles, and chapters in one file. Turning a HEIF photo into an MKV is a narrow job: you take an efficient still image and wrap it inside a video container as one motionless frame, held on screen for a set time, with no audio. This tutorial walks through the conversion, sets two expectations honestly up front — the result is a single silent frame, not a real clip — and points you to the conversions most people who land here actually want. Unlike the AVI version of this task, MKV keeps the frame in a modern codec (H.264), so there is no old-codec downgrade — but for almost everyone MP4 is still the better target.

How to Convert HEIF to MKV

  1. Upload Your HEIF File: Drag and drop your .heif photo onto the page or click "+ Add Files" to browse from your computer. You can queue several photos at once.
  2. Set Image Duration and Merge strategy: Open Advanced Options. Use "Image Duration" (the "Duration" dropdown) to choose how long the photo shows — from 1/60s per frame up to 10 seconds, with "5 seconds per frame" the default — and use "Merge strategy" to pick "Merge images" (combine several photos into one MKV) or "Video per image" (a separate MKV for each).
  3. Pick Quality, Background, and Resolution (Optional): Keep "Quality Preset" on "Very High (Recommended)", set a "Background Color" (Black by default) to fill the frame if the photo's shape does not match the output size, and choose a resolution under "Video resolution" (keep original or pick a fixed size). Under "Show All Options" the "Video Codec" is H.264, the codec MKV uses by default here.
  4. Convert and Download: Click "Convert" and download your MKV. No sign-up, no watermark.

Walk-through: Why the Output Is Still and Silent

Two things about this pairing surprise people, and both are worth understanding before you convert:

  • The output is one frame held still, not a clip. A HEIF stores a single photo, so the MKV shows that one image as a steady frame for the duration you set — no panning, no zoom, no transition. Setting "Image Duration" to 5 seconds simply presents the same frame for 5 seconds. If you upload several photos and choose "Merge images," they play back to back, but each is a static frame with no movement between them.
  • There is no sound. A photo carries no audio, so the conversion writes a silent video and the "Audio Codec" control does not appear for this conversion.

One thing this pairing gets right that the AVI version does not: the frame stays in a current codec. HEIF stores an HEVC (H.265) image, and the MKV re-encodes that decoded frame into H.264 — a modern, widely decodable codec rather than a 1990s one. You still cannot gain detail the photo never had (quality is capped by the rendered frame), but you also are not pushing it down into a legacy codec.

A couple of patterns cover most real needs:

  • If you want it to behave like one video frame at a standard rate — for example, a photo slate dropped onto an editing timeline — pick a short duration such as 1/60s, 1/30s, or 1/24s.
  • If you want a slate that lingers in an MKV-based project — a hold card or title still — set 3 to 10 seconds so the photo stays on screen long enough to read, and match the "Background Color" to your project so any padding around the frame blends in.

Because a motionless frame barely changes between samples, H.264 compresses it heavily, so a single photo held for a few seconds produces a small MKV.

Common Errors and How to Fix Them

  • "The MKV is silent" — Expected. A still-photo-to-video conversion writes no audio track, so the "Audio Codec" option does not appear. If you need sound, drop the MKV into a video editor and lay a music or narration track over it.
  • "It looks like a frozen video, not a photo" — Also expected. The clip is a single frame held for the duration you set; there is no motion because the source is one picture. If you only wanted a viewable image, use HEIF to JPG or HEIF to PNG instead.
  • "There are black bars around my photo" — Your photo's shape does not match the output resolution, so the converter fills the gap with the "Background Color" (black by default) rather than stretching it. Pick white, match the color to where the clip will live, or keep the original resolution to avoid letterboxing.
  • "The picture looks softer than the original" — Avoid targeting a "File Size (%)" when changing format; the converter even warns this can cause extreme pixelation. Keep the "Quality Preset" on "Very High" and the original resolution. Remember the HEVC frame is re-encoded into H.264, so the rendered photo is your quality ceiling.
  • "My player won't open the MKV" — MKV has no native HTML5 <video> support in most browsers and many phones and TVs won't open it directly. That is a property of the MKV container, not the conversion. If you need something that plays widely, convert to HEIF to MP4 instead.

When This Doesn't Work — and What to Use Instead

For almost everyone, MKV is the wrong target for a single HEIF photo. If you only want a viewable, shareable picture, convert to an image: HEIF to JPG gives a small universal photo and HEIF to PNG keeps it lossless — both open everywhere a HEIF does not, with no video container involved. If you genuinely need a video clip from a phone photo, the practical default is HEIF to MP4: MP4 plays natively in browsers, on phones, and on smart TVs, where MKV often does not, and it carries the same H.264 frame. Pick MKV only when a specific MKV-based workflow actually requires that container — a media library, a tool, or an editing pipeline that lists Matroska as its accepted input. There is no way to add detail the photo never had.

Frequently Asked Questions

Does the MKV have any motion or sound?

No. The conversion takes one HEIF photo and displays it as a static image for the duration you set. There is no panning, zoom, or animation, and the output carries no audio track — it is a silent, single-frame still rendered into an MKV. If you upload several photos and choose "Merge images," they play back to back, but each frame is a static image shown for its set duration, with no transitions between them.

Which video codec does the MKV output use?

H.264. MKV (Matroska) is a container that can hold almost any codec, and this converter defaults to H.264, a modern and widely decodable codec. Under "Show All Options" you will find the "Video Codec" set to it, with H.265, VP9, AV1, MPEG-4, and others available if a particular workflow needs them. Because the source is a still photo, no audio track is written and the audio controls stay hidden.

Is MKV a better target than AVI for a HEIF photo?

For the codec, yes — and that is the honest difference. MKV is a modern open container (the Matroska project began in December 2002) and this tool encodes the frame as H.264, whereas the AVI version defaults to the older MPEG-4 Part 2. So HEIC to AVI pushes the photo down into a legacy codec, while MKV keeps it current. That said, neither is what most people want: both produce a silent, single-frame video, and if your goal is a viewable picture an image format is the right answer.

Will the MKV look as sharp as the original HEIF photo?

It can match the rendered photo but not exceed it. HEIF stores an HEVC-compressed image — visually around JPEG-class quality — and the MKV re-encodes that same frame into H.264, so no detail is added and a little can be lost in the re-encode. Keep the "Quality Preset" at "Very High" and the original resolution to preserve what is there, and avoid targeting a fixed "File Size (%)", which the tool warns can pixelate the frame when changing format.

Can I just get the HEIF as a picture instead of a video?

Yes, and that is what most people who reach this page actually want. HEIF to JPG pulls the photo out as a standard, universally readable image, and HEIF to PNG keeps it lossless. Both are far smaller than any video, open in every image editor and browser, and skip the video container entirely — no duration, codec, or background color to think about.

Is this the same as the HEIC version of this tool?

Functionally yes. .heif and .heic come from the same ISO/IEC 23008-12 standard and both store an HEVC-coded image; on this site they differ by the input extension only. So HEIC to MKV produces the same kind of silent, single-frame MKV — use whichever page matches the extension your photos actually carry.

How are my uploaded HEIF files handled?

In our testing, a single 12-megapixel HEIF held for 5 seconds at the "Very High" preset produced an MKV only a few hundred kilobytes in size, because a motionless H.264 frame compresses heavily. Your file is uploaded over an encrypted connection, rendered and packaged into MKV on our servers, and deleted automatically a few hours after conversion — no sign-up, no watermark, never shared or made public. The main practical limit is upload size and time, not your device.

Rate HEIF to MKV Converter Tool

Rating: 4.9 / 5 - 69 reviews