Convert MP4 to AVIF

Converting MP4 to AVIF takes one frame out of a video and encodes it in the smallest format every current browser reads — meaningfully below WebP on photographic content. Choose the moment; the encoding happens on your own machine and nothing is uploaded.

  • Where it runs In your browser. The file is never uploaded.
  • Lossy Some detail is traded for size. AVIF cannot hold everything an MP4 can.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing One frame, at full resolution. A still from compressed video carries that compression — a fast-moving moment looks softer than a static one, which is the video’s own encoding rather than anything this conversion does.

Up to 100 files at once. Mixed formats are fine.

A frame encoded by the same family it came from

There is a neatness to this pair that the other frame grabs do not have. An MP4 usually holds H.264 or HEVC; an AVIF is a still frame of AV1, the next generation of the same lineage of video codecs. The picture is being handed from one member of the family to another.

That is why the result is so compact. Everything AV1 learned about describing a single frame efficiently applies to a frame that came out of a video in the first place, and the output is routinely a fraction of what the same still would be as a JPG.

Where the saving actually is

On photographic content, AVIF typically lands twenty to thirty per cent below an equivalent WebP and well below a JPG. It also handles the material that video stills are full of — dark scenes, studio backdrops, skies, smooth gradients — with noticeably less banding, because it is not confined to eight bits per channel.

For a video poster image that is the strongest case available. The poster loads before anything plays, on every visit, and it is frequently the heaviest single asset on a page carrying video. Taking a third off it is worth more than the same saving anywhere else on the page.

The encoding is slow, and that decides where it fits

AVIF searches far harder than WebP or JPEG do, and it takes the time that implies — several seconds for a single high-resolution frame is ordinary, even on a fast machine.

Paid once, at build time, by you, that cost is irrelevant and every visitor benefits. Paid on demand, by a server generating thumbnails as videos are uploaded, it becomes a capacity question with a bill attached. That distinction is the honest answer to whether AVIF belongs in a given pipeline, and it is why so many services still generate WebP.

Where it is the wrong choice

A frame from a screen recording, a slide, a title card or anything mostly flat colour and hard edges. That material compresses extremely well already, and AVIF frequently produces a larger file than WebP for it — the opposite of the expected result, and worth measuring rather than assuming.

And anywhere outside a browser. Image viewers, older phone galleries, chat applications, email clients and plenty of upload forms still refuse the format. An AVIF is a file you serve, not a file you send: for a still going to a person, take JPG.

Choosing the moment still matters most

No encoder recovers detail the video never had. A frame grabbed mid-movement carries the motion blur and blocking the codec left there, and encoding it beautifully preserves them beautifully.

So the timestamp remains the first lever: a moment when the subject is still, or the first frame after a cut where the encoder placed a full-detail keyframe. Get the frame right, then let AVIF make it small. Doing it in the other order produces a very efficient copy of a poor picture.

Serving it properly

The arrangement that makes this worth doing is a picture element with an AVIF source first, a WebP source second and a JPG fallback — every browser takes the best it understands, and nothing has to be detected.

For a video poster specifically, the attribute takes a single image, so the usual approach is to serve the format the browser advertises through your image pipeline or CDN, or to accept WebP there and use AVIF for the thumbnail grid around it. Either is reasonable; serving AVIF alone with no fallback is the one arrangement worth avoiding, since it costs nothing to keep one.

Nothing is uploaded, and here that is doubly true

Both halves happen in the browser tab on your own processor: the video is decoded and the frame is encoded, with nothing sent anywhere. A large video is read from disk rather than transferred, which on any hosted converter is slower than the work itself.

The second half matters more than usual for this pair. AVIF encoding is genuinely expensive, and doing it locally means the cost is your own machine for a few seconds rather than a queue, an allowance or a subscription somewhere else.

How to save an AVIF still from an MP4

  1. Drop the MP4 onto this page — nothing is uploaded.
  2. Set the moment; a still instant or the first frame after a cut gives the best source.
  3. Expect a pause while it encodes, then download the AVIF.

MP4 and AVIF: two generations of the same codec family

MP4 compared with AVIF
MP4AVIF
Full nameMPEG-4 VideoAV1 Image File Format
File extension.mp4.avif
Media typevideo/mp4image/avif
CompressionLossy — file size is bought with qualityEither, depending on the setting
First published20012019
Published byMPEGAlliance for Open Media
SpecificationISO/IEC 14496-14AV1 Image File Format
LicensingOpen standardOpen standard
Standing todayCurrentCurrent
Bit depth12
Colour it can describeRGB, YCbCr, wide gamut
Largest image65,536 px per side
Opens in a browserEvery browserCurrent browsers
Considered insteadWebM, MKV, MOVWebP, JXL, JPG

What is lost

AVIF has nowhere to put the document properties, so that goes no further than the MP4. Worth checking before the original is deleted, and worth knowing if the point was to strip it.

Opening the result

Current browsers read AVIF; older ones do not. It is the less portable of the two, so it is worth being sure the program at the other end accepts it before sending one.

AVIF is a container rather than a single format. What actually plays is the codec inside it — usually AV1 — which is why two files with the same extension can behave differently on the same device.

The usual programs do not overlap: MP4 opens in VLC, HandBrake and Adobe Premiere Pro, AVIF in GIMP, Squoosh and ImageMagick — so whoever receives the result needs something from the second list.

What each format is for

MP4 is MPEG's format, published in 2001. The specification is ISO/IEC 14496-14, and it is worth reading if the file has to outlive the tool that wrote it.

AVIF comes from Alliance for Open Media and dates from 2019, specified as AV1 Image File Format. GIMP, Squoosh and ImageMagick all read it.

MP4 was published in 2001 and AVIF in 2019. The older one is generally the safer file to hand to somebody; the newer one usually does the job in fewer bytes.

MP4 to AVIF: size, speed and support

Are my MP4 files uploaded anywhere?

No. This conversion runs entirely inside your browser, so the file never leaves your device. You can confirm it yourself: open the network tab of your browser's developer tools and convert something. You will see the page load, plus the analytics and advertising the site is paid for with — and nothing carrying your file. The engine behind this particular pair is mediabunny, a wrapper around WebCodecs, which borrows your device's own hardware decoders; your browser fetches it once and caches it.

Why AVIF rather than WebP or JPG?

Size. On a photographic frame AVIF is typically 20 to 30 per cent below an equivalent WebP and far below a JPG, and it handles gradients — skies, studio backdrops, dark scenes — with much less banding. For a poster image that loads before anything plays, that is the largest saving available.

Why is the conversion slow?

AVIF encoding descends from a modern video codec and searches much harder for compressible structure than WebP or JPEG do. Several seconds for a single high-resolution frame is normal, and it is the reason it is a poor choice for anything generated on demand.

Will the image display everywhere?

In browsers, yes — Chrome, Edge, Firefox and Safari have all supported AVIF for years. Outside a browser it frequently will not: image viewers, older phone galleries, chat applications and email clients often refuse it. Do not send one to a person.

Is AVIF always smaller?

No. On flat interface content — a frame from a screen recording, a slide, a title card — it is frequently larger than WebP, because that material already compresses extremely well. Convert a representative frame and compare rather than assuming.

Does it keep the wide colour of an HDR video?

AVIF can carry ten bits per channel and wide colour, which WebP cannot, so it is the only one of the three that has anywhere to put an HDR frame’s extra range. How much survives depends on the source; a frame from a standard video gains nothing from the capability.

Is the video uploaded?

No. The frame is decoded and encoded inside your own browser, so nothing is sent anywhere — which matters here because AVIF encoding is the slow part, and a hosted service would be charging for that time on somebody else’s processor.

More about these formats

Where these figures come from

The claims this page makes about MP4 and AVIF are checkable, and these are the documents that settle them.