Cookies for analytics and advertising
We use cookies for analytics and advertising, both sent to Google. Refusing changes nothing you can see.Read the privacy page
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.
Up to 100 files at once. Mixed formats are fine.
They convert one after another and download together as a ZIP.
MP4 to AVIF
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.
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.
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.
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.
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.
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.
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.
| MP4 | AVIF | |
|---|---|---|
| Full name | MPEG-4 Video | AV1 Image File Format |
| File extension | .mp4 | .avif |
| Media type | video/mp4 | image/avif |
| Compression | Lossy — file size is bought with quality | Either, depending on the setting |
| First published | 2001 | 2019 |
| Published by | MPEG | Alliance for Open Media |
| Specification | ISO/IEC 14496-14 | AV1 Image File Format |
| Licensing | Open standard | Open standard |
| Standing today | Current | Current |
| Bit depth | — | 12 |
| Colour it can describe | — | RGB, YCbCr, wide gamut |
| Largest image | — | 65,536 px per side |
| Opens in a browser | Every browser | Current browsers |
| Considered instead | WebM, MKV, MOV | WebP, JXL, JPG |
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
The claims this page makes about MP4 and AVIF are checkable, and these are the documents that settle them.