Colorful abstract gradient swatches representing modern image compression
Formats

AVIF and Next-Gen Image Formats: When to Use Them and When to Convert (2026)

Quick answer

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.

Format support in late 2026. "Partial" means it works with an extension, a plugin, or only in some versions.
Platform or appAVIFHEICJPEG XLWebP
Chrome / EdgeYesNoNoYes
FirefoxYesNoFlag onlyYes
Safari on macOSYes, 16.4+YesPartialYes
iOS / iPadOSYes, 16.4+NativeNoYes
AndroidYes on modern buildsPartialNoYes
Windows 11With free AV1 extensionWith paid HEVC extensionStore extensionNative
macOS PreviewYes, 13+NativePartialYes
PhotoshopYes, 2022+With OS codecPluginYes
Office / emailNo or unreliableNoNoPartial
Instagram / marketplace formsRejectedPartial on mobileRejectedOften rejected
Print labsRejectedRejectedRejectedRejected

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.

Eight images encoded to JPG q90, WebP q80 and AVIF at matched visual quality. Sizes rounded; savings are AVIF versus JPG.
SourceJPG q90WebP q80AVIFAVIF vs JPG
Landscape photo, 12 MP2.4 MB1.1 MB720 KB−70%
Portrait photo, 12 MP2.0 MB950 KB610 KB−70%
Night sky, 12 MP3.1 MB1.5 MB900 KB−71%
Product cutout, 6 MP, alpha1.1 MB, flattened480 KB330 KB−70%, alpha kept
Screenshot, 1440 × 900318 KB, soft text196 KB lossless214 KB, softer text−33%, not recommended
Macro photo, 20 MP4.6 MB2.2 MB1.4 MB−70%
Document scan, 8.7 MP690 KB410 KB300 KB−57%
Web hero, 1600 × 900220 KB110 KB78 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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Spot-check three files. One portrait for orientation, one cutout for alpha, one dark image for banding. Fix the setting before converting the rest.
  6. 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

Common AVIF failures, what causes them, and the fix that works.
SymptomCauseFix
Opens black in Windows Photos or ExplorerMissing AV1 Image Extension, or an HDR/10-bit file the viewer cannot tone-mapInstall the free extension, update Windows, or convert to JPG
Instagram rejects the uploadThe web uploader accepts JPG and PNG, not AVIFConvert to JPG at 1080 px wide, quality 90
Print lab bounces the fileLabs expect JPG, PNG or TIFF in RGB; AVIF and CMYK are out of scopeConvert to sRGB JPG or TIFF and let the lab handle CMYK
Browser shows nothingWrong MIME type or a truncated file from a CDNServe image/avif; re-download and verify the file size
Colours look washed outHDR or wide-gamut data read as SDR sRGBTone-map and convert to sRGB, or view in a colour-managed app
AVIF is larger than JPGFlat graphics or text, where block codecs struggleUse 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 converter

Frequently 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.

CZ

Written and tested by the ConvertZen editorial team. Format support shifts several times a year, so the matrix is re-checked each quarter and corrected in place. We test in browsers and ordinary desktop software, not with vendor-provided sample suites.

Related reading