Initializing... drag & drop files here
Supports: HEIF
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.
.heif photo onto the page or click "+ Add Files" to browse from your computer. You can queue several photos at once.Two things about this pairing surprise people, and both are worth understanding before you convert:
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:
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.
<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.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.
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.
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.
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.
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.
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.
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.
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.