AVIF vs JPG: Which Format Should You Use?

Both formats store photos, but they are built for very different jobs. Here is how to choose — and what actually happens when you convert.

Last updated: 2026-11-01 · Reviewed by Yilin Xu

The short answer

Keep AVIF for publishing, convert to JPG for compatibility. If the file is going onto a website you control and your visitors use recent browsers, AVIF gives you the same picture at a smaller size. If the file is going anywhere else — email, chat apps, a client's old laptop, a print shop, a government form that only accepts JPG — convert it.

Converting is one-way in practice. JPG is lossy, so detail removed during conversion does not come back if you later convert the JPG to AVIF. Always keep the original AVIF until you are sure you no longer need it.

Quick comparison

FeatureAVIFJPG
CompressionExcellent — typically 30–50% smaller than JPG at a similar visual quality, though the gain depends heavily on the imageGood, but the format dates from 1992 and has had no major efficiency update
Quality at small file sizesVery good; degrades more gracefullyGood, but shows blocking and ringing at low quality
TransparencyYesNo — transparent areas must be filled
AnimationYes (animated AVIF)No
Bit depth / HDR10- and 12-bit, wide colour, HDR8-bit, standard dynamic range
Browser supportChrome 85+, Firefox 93+, Safari 16+, and current Edge — recent browsers onlyEvery browser ever shipped
App supportStill growing; patchy in older editors and office softwareUniversal
Metadata (EXIF, GPS)SupportedSupported

Version numbers are the first release with AVIF decoding enabled; check caniuse.com for the current picture, since support on older operating systems lags the browser.

When AVIF is the better choice

When JPG is the better choice

What actually happens when you convert

A converter does three things: decode the AVIF into raw pixels, draw those pixels onto a canvas (filling the background white, because JPG has no alpha channel), then re-encode the canvas as a JPEG at the quality you picked. Understanding those three steps explains every surprise people run into.

Choosing a JPG quality setting

JPEG quality is a trade-off, not a fixed rule. The four presets in the converter map to sensible defaults:

SettingBest forWhat to expect
Best (92%)Photos you will edit, print, or keepVisually indistinguishable from the AVIF in almost all photos; largest files of the four
High (85%)Everyday sharing, web uploadsRoughly a third smaller than 92% with no difference visible at normal viewing size
Medium (70%)Email attachments, chat, thumbnailsFine on screen at 100%; slight softening in fine detail if you zoom in
Smallest (50%)Quick previews, strict size limitsVisible artifacts in gradients and text; avoid for photos with fine texture

Two practical rules. First, never re-save the same JPG repeatedly — each save discards more detail, so convert once from the original AVIF. Second, if a site rejects your file for being too large, lower the quality before lowering the dimensions; a sharp 85% image usually looks better than a blurry upscaled 92% one.

Problems people hit after converting

Converting without uploading

You do not need to send private photos to a server to change the format. The AVIF to JPG converter runs entirely in your browser: drop the files in, choose a quality, download the JPGs. Closing the tab releases the files, and nothing is stored.

Batch conversion and the command line

For a handful of files the browser is fastest. For an entire folder, a local tool is more practical: ImageMagick handles it with magick input.avif output.jpg, and ffmpeg with ffmpeg -i input.avif output.jpg. Both need an AVIF-capable build — if you see a "no decode delegate" error, the build was compiled without libavif, so install one that includes it.

Frequently asked questions

Does converting AVIF to JPG lose quality?Yes, slightly. JPG is lossy, so some detail is discarded. At Best (92%) the difference is usually invisible on screen, but it is permanent — keep the original file.
Does the converter keep EXIF or GPS data?No. A browser-based conversion re-encodes the pixels and drops metadata, including GPS coordinates, capture date and camera settings. That is a privacy benefit, but it also means the date is gone.
Can I convert the JPG back to AVIF?Yes, but you will not recover detail that was lost when the image was saved as JPG. Converting back only makes sense if you need the smaller file size for publishing.
Is AVIF always smaller than JPG?No. Usually it is smaller at the same visual quality, especially for detailed photographs. For screenshots, logos and flat graphics the difference can disappear or reverse.
Why does my converted JPG look different from the AVIF?Usually a colour-profile or HDR issue: AVIF can carry 10-bit and wide-gamut data, while the JPG pipeline is 8-bit sRGB. See the troubleshooting section above.
Can I convert files offline?Yes — the conversion runs locally, so once the page has loaded it keeps working without a connection. Reloading the page, however, needs a connection.

Step-by-step guides