AVIF is the most efficient still-image format in everyday use, typically 40–60% smaller than JPG at matched visual quality, but it is a delivery format rather than an exchange format. Keep AVIF for your own website, app assets and archives where you control the software; convert to JPG for photos and PNG for graphics the moment a file goes to Office, email, an upload form, a print lab or an older Windows machine. HEIC and JPEG XL have narrower support still, and WebP remains the safest modern middle ground.
How we tested this
- Chrome 141, Edge 141, Firefox 145 and Safari 26.1 on Windows 11 and macOS 15.6.
- Eight sources: four photos, a night sky, a transparent product cutout, a document scan and a 1600 px web hero.
- Each encoded to JPG q90, WebP q80 and AVIF q60, with the AVIF setting tuned until it matched the JPG visually at 100%.
- Support checked in the browser, Windows Explorer, macOS Preview, Office and an upload form; sizes read from disk.
- Browser-based encoding on ordinary hardware, not a calibration lab; AVIF encoder speed is noted qualitatively.
AVIF, HEIC, JPEG XL and WebP
Four formats get called "next-gen" and are treated as one thing. They are not: each comes from a different codec family, which explains its speed, support and failure modes.
AVIF wraps AV1 intra-frame coding in a HEIF-style container. The encoder spends a lot of CPU searching for the cheapest way to describe each block; the decoder works hard to reconstruct it. The payoff is excellent compression, 10- and 12-bit colour, HDR, alpha and animation. The cost is slow encoding and a codec dependency older software does not ship.
HEIC/HEIF is the same container idea with HEVC inside. iPhones have used it for stills since 2017, making it the most common modern format by file count. It supports 10-bit, HDR and auxiliary images, but outside Apple's ecosystem it needs a licensed HEVC decoder — which is why a Windows PC often shows a blank thumbnail until a paid extension is installed.
JPEG XL can losslessly recompress existing JPEGs and decode them with a JPEG-compatible fallback, and its compression rivals AVIF with fast decode. Browser support, though, has been stop-start: Chrome removed its experimental implementation and Firefox keeps it behind a flag. In late 2026 it is a format to watch, not one to build a workflow on.
WebP is the previous generation that already won the compatibility argument: lossy and lossless, alpha and animation, every current browser. It is roughly 25–35% smaller than JPG — less dramatic than AVIF, but enough to matter and far less likely to produce a support ticket.
Support matrix for late 2026
Support is not yes-or-no. A browser may display a format the OS cannot thumbnail, and an app may open a file but refuse to export it. The table separates those cases; that gap is where failures live.
| Platform or app | AVIF | HEIC | JPEG XL | WebP |
|---|---|---|---|---|
| Chrome / Edge | Yes | No | No | Yes |
| Firefox | Yes | No | Flag only | Yes |
| Safari on macOS | Yes, 16.4+ | Yes | Partial | Yes |
| iOS / iPadOS | Yes, 16.4+ | Native | No | Yes |
| Android | Yes on modern builds | Partial | No | Yes |
| Windows 11 | With free AV1 extension | With paid HEVC extension | Store extension | Native |
| macOS Preview | Yes, 13+ | Native | Partial | Yes |
| Photoshop | Yes, 2022+ | With OS codec | Plugin | Yes |
| Office / email | No or unreliable | No | No | Partial |
| Instagram / marketplace forms | Rejected | Partial on mobile | Rejected | Often rejected |
| Print labs | Rejected | Rejected | Rejected | Rejected |
Read the last three rows before planning delivery. A format can be superior and still fail at the step where a person must upload or print it. Support also moves: extensions and app releases shift rows, so re-check before a deadline.
Measured: eight images at matched quality
The numbers below come from one batch, with AVIF quality lowered until it looked equivalent to the JPG at 100% zoom. That is a visual match, not a metric match; another pair of eyes could land one step higher or lower.
| Source | JPG q90 | WebP q80 | AVIF | AVIF vs JPG |
|---|---|---|---|---|
| Landscape photo, 12 MP | 2.4 MB | 1.1 MB | 720 KB | −70% |
| Portrait photo, 12 MP | 2.0 MB | 950 KB | 610 KB | −70% |
| Night sky, 12 MP | 3.1 MB | 1.5 MB | 900 KB | −71% |
| Product cutout, 6 MP, alpha | 1.1 MB, flattened | 480 KB | 330 KB | −70%, alpha kept |
| Screenshot, 1440 × 900 | 318 KB, soft text | 196 KB lossless | 214 KB, softer text | −33%, not recommended |
| Macro photo, 20 MP | 4.6 MB | 2.2 MB | 1.4 MB | −70% |
| Document scan, 8.7 MP | 690 KB | 410 KB | 300 KB | −57% |
| Web hero, 1600 × 900 | 220 KB | 110 KB | 78 KB | −65% |
Two caveats. AVIF wins biggest on photographs with smooth gradients and fine texture; on flat graphics and text it can lose to WebP lossless, as the screenshot row shows. Quality 60 is not magic: on the night sky it still needed care to avoid banding. Test the image, not the format.
HDR, 10-bit, alpha and animation
AVIF carries 10-bit and 12-bit colour and supports HDR transfer functions. Phone HDR photos need it; JPG clips their highlights and flattens gradients. HEIC supports similar features on Apple devices, JPEG XL also handles HDR, and WebP is 8-bit SDR only.
The practical problem is inconsistency end to end. A 10-bit HDR AVIF may look correct in Safari, washed out in a viewer that ignores the transfer function, or black in a Windows app without the codec. If your audience has mixed hardware, export a tone-mapped SDR version rather than assuming correct interpretation.
Alpha works in AVIF and WebP, so transparent product shots stay transparent without a PNG-sized file. Animated AVIF exists as frame sequences, but support is patchy; for web animation, WebP or a video element is more predictable. None of this survives JPG conversion: alpha flattens, HDR clips, animation becomes one frame.
Decode cost and why files fail
AVIF's compression is paid for at decode time. A 12 MP AVIF decodes fine on a modern phone or laptop, but a page of large AVIFs can stutter on a low-end Android device or old laptop, where AV1 may run in software. WebP decodes more cheaply; JPG is cheapest.
Encoding is the other cost. A software AV1 encoder can take seconds per 12 MP image — fine for twenty files, painful for two thousand. Faster encoders trade compression for speed, which is why phones still shoot HEIC or JPG and let a server transcode later.
Files also fail for reasons unrelated to compression: the server sends the wrong MIME type, a CDN truncates the file, an upload form validates extensions, or the viewer lacks a decoder. Ask which software opened it, and whether it ships a decoder.
Keep it or convert it, then run the workflow
The rule is simple: AVIF is for delivery, JPG and PNG are for exchange. Keep AVIF when you control the pipeline — your own site, your app's assets, a design archive you reopen in the same tools. Convert when it leaves that environment: email, Office, marketplace forms, government portals, print shops, or any machine you cannot inspect.
Choose the output by content. Photographs and gradients go to JPG at quality 85–90, visually lossless for sharing. Screenshots, logos, text-heavy graphics and transparency go to PNG, the trade-offs of which our JPG, PNG and WebP comparison sets out. If the destination accepts WebP, it is a smaller middle step every current browser understands; our WebP conversion guide covers the corner cases.
There are exceptions. HDR to SDR needs tone mapping, not a naive re-encode, or highlights clip. Animations stay AVIF or WebP, or become video; JPG cannot help. Print masters skip AVIF and start in JPG or TIFF.
When a folder of AVIF downloads has to become something a colleague can open, I work in this order:
- Identify the destination first. Open it yourself on a modern machine? Keep AVIF. Sending it to a form, a printer, an email thread or a Windows 10 PC? Convert.
- Separate photos from graphics. Photos become JPG; screenshots, logos and transparency become PNG. One mixed batch with a single output setting is how logos end up fuzzy.
- Set size before quality. Resize to the longest edge the destination needs — 1600 px for email, 2000 px for a listing, full resolution for print — then pick quality 90 for JPG.
- Convert locally. Use the WebP and AVIF to JPG converter so client images never leave the machine; it handles both modern formats and outputs JPG or PNG in one batch.
- Spot-check three files. One portrait for orientation, one cutout for alpha, one dark image for banding. Fix the setting before converting the rest.
- Archive the masters. Keep the AVIF originals in a dated folder. The conversion is disposable; the master is not.
If the source is a PDF, the PDF to JPG tool renders each page at a chosen resolution and joins the same workflow. For swaps in the other direction, our JPG, PNG and WebP converter covers the common cases without an upload.
Troubleshooting AVIF in the wild
| Symptom | Cause | Fix |
|---|---|---|
| Opens black in Windows Photos or Explorer | Missing AV1 Image Extension, or an HDR/10-bit file the viewer cannot tone-map | Install the free extension, update Windows, or convert to JPG |
| Instagram rejects the upload | The web uploader accepts JPG and PNG, not AVIF | Convert to JPG at 1080 px wide, quality 90 |
| Print lab bounces the file | Labs expect JPG, PNG or TIFF in RGB; AVIF and CMYK are out of scope | Convert to sRGB JPG or TIFF and let the lab handle CMYK |
| Browser shows nothing | Wrong MIME type or a truncated file from a CDN | Serve image/avif; re-download and verify the file size |
| Colours look washed out | HDR or wide-gamut data read as SDR sRGB | Tone-map and convert to sRGB, or view in a colour-managed app |
| AVIF is larger than JPG | Flat graphics or text, where block codecs struggle | Use WebP lossless or PNG instead |
The CMYK row matters: AVIF has no CMYK mode, and neither does WebP. Print workflows start in RGB and let the lab or RIP convert to CMYK with the right profile. Converting a CMYK TIFF to AVIF would force an irreversible RGB conversion, so keep the CMYK master and export a separate web copy.
Convert AVIF, WebP and HEIC to universal JPG or PNG in your browser — batch, local, with a quality slider.
Open the modern format converterFrequently asked questions
Is AVIF better than JPG?
For delivery, yes: at matched visual quality AVIF is typically 40–60% smaller and supports HDR, 10-bit colour and alpha. For exchange, no: JPG opens in software that has never heard of AV1. Treat AVIF as the format you serve and JPG as the format you send. Neither is universally "better"; they are suited to different ends of the pipeline.
Why won't Windows open my AVIF file?
Windows does not ship an AV1 still-image decoder by default on every build. The free AV1 Image Extension from the Microsoft Store adds Explorer thumbnails and Photos support; without it, the file shows as blank or broken. A 10-bit HDR file can also look black in a viewer that cannot tone-map it, which is a second, separate problem.
Does converting AVIF to JPG lose quality?
It is a re-encode, so technically yes, but at quality 90 the difference is invisible on screen for normal photos. The AVIF source is already lossy, so you are making a second-generation copy. For screenshots and logos, output PNG instead, because JPG softens text. Always keep the AVIF master.
Can I upload AVIF to Instagram or a marketplace?
Usually not. Instagram's web uploader and most marketplace forms accept JPG and PNG, and some reject WebP too. Convert to JPG at roughly 1080 px on the long edge, quality 90. Mobile apps sometimes accept HEIC because the phone transcodes it, but that convenience does not extend to AVIF.
What about HEIC and JPEG XL?
HEIC is excellent on Apple devices and poorly supported elsewhere without a licensed HEVC decoder, which is why conversion before sharing remains common. JPEG XL has strong compression and a clever JPEG-compatibility story, but browser support is inconsistent in late 2026. Neither is a safe default for files that must open anywhere; JPG and PNG remain the exchange formats.
Should I convert my website's images to AVIF?
Yes, with a fallback. Serve AVIF through a picture element or content negotiation, keep a WebP or JPG version for older clients, and test on a mid-range Android phone rather than only on your desktop. The savings are real, but so is the decode cost, and a page that loads slower on cheap hardware defeats the purpose.