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
| Feature | AVIF | JPG |
| Compression | Excellent — typically 30–50% smaller than JPG at a similar visual quality, though the gain depends heavily on the image | Good, but the format dates from 1992 and has had no major efficiency update |
| Quality at small file sizes | Very good; degrades more gracefully | Good, but shows blocking and ringing at low quality |
| Transparency | Yes | No — transparent areas must be filled |
| Animation | Yes (animated AVIF) | No |
| Bit depth / HDR | 10- and 12-bit, wide colour, HDR | 8-bit, standard dynamic range |
| Browser support | Chrome 85+, Firefox 93+, Safari 16+, and current Edge — recent browsers only | Every browser ever shipped |
| App support | Still growing; patchy in older editors and office software | Universal |
| Metadata (EXIF, GPS) | Supported | Supported |
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
- You publish on the web and want the smallest files without visible quality loss. Smaller images mean faster pages and less mobile data.
- You need transparency or animation in one modern-format file, instead of a PNG plus a GIF.
- You control the viewer — an app, an internal dashboard, or an audience you know uses current browsers.
- You are archiving a high-quality master and want to keep 10-bit or HDR data that JPG cannot store.
When JPG is the better choice
- Maximum compatibility. JPG opens in every browser, phone, email client and photo editor ever made.
- Uploads that reject AVIF. Many forms, CMSs, marketplace listings, print services and messaging apps still accept only JPG or PNG.
- Sharing with other people whose software you cannot check in advance.
- Printing and editing in tools that may not decode AVIF, or in workflows where the lab asks for JPG.
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.
- Transparency is lost. Any transparent pixel becomes white. If the image was a logo on a transparent background, convert to PNG instead — JPG is the wrong target.
- Animation is lost. An animated AVIF produces a single JPG of the first frame.
- HDR and wide colour are flattened. The canvas is 8-bit sRGB, so 10-bit or HDR data is squeezed into a narrower range. Very bright highlights can clip.
- Metadata is stripped. EXIF, GPS coordinates, camera settings and colour profiles do not survive a canvas round-trip. That is good for privacy and bad if you needed the capture date.
- Orientation usually survives. Most browsers apply EXIF rotation when decoding, so portrait photos come out upright — but check one photo before converting a whole folder.
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:
| Setting | Best for | What to expect |
| Best (92%) | Photos you will edit, print, or keep | Visually indistinguishable from the AVIF in almost all photos; largest files of the four |
| High (85%) | Everyday sharing, web uploads | Roughly a third smaller than 92% with no difference visible at normal viewing size |
| Medium (70%) | Email attachments, chat, thumbnails | Fine on screen at 100%; slight softening in fine detail if you zoom in |
| Smallest (50%) | Quick previews, strict size limits | Visible 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
- The JPG looks washed out or oversaturated. The AVIF carried a wide-gamut or HDR profile that the canvas does not preserve. The pixels are correct; the colour interpretation changed. If the colours matter, keep the original and convert with a desktop tool that manages colour profiles.
- Transparent areas turned white. Expected — JPG has no alpha. Use PNG if you need transparency.
- A portrait photo came out sideways. The browser did not apply the EXIF orientation tag. Rotate after conversion, or convert in a desktop app that reads orientation.
- The JPG is bigger than the AVIF. Normal for already-compressed images, screenshots and flat graphics. AVIF's advantage is largest on detailed photographs.
- The conversion fails with "this browser cannot decode AVIF". The browser is too old, or the file is not really an AVIF. Try a current version of Chrome, Edge, Firefox or Safari.
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
- How to open AVIF files on Windows 10 and 11 — the two Microsoft Store packages that add the decoder, and what to do when the Store is blocked.
- How to open and convert AVIF on Mac — native support in Ventura, and what actually works on Monterey and older.
- Convert AVIF to JPG with ImageMagick — single files, whole folders, file-size targets, and the three errors you will hit.
- How to batch convert AVIF to JPG — three routes: browser, a macOS script, or the command line.
- AVIF vs WebP vs HEIC vs PNG — which format for which job, and what each one costs you.
- Converted AVIF looks wrong? — washed-out colours, white backgrounds, sideways photos, files that got bigger.
- Uploading AVIF to Instagram, WhatsApp and Discord — what each platform does with your file, and when to convert first.
- Using AVIF in WordPress — checking server support in Site Health, and the workflow that will not break your media library.
- Why is my AVIF file so big? — five causes, and the one setting that saves the most bytes.
- Opening AVIF on Android and iPhone — which versions support it natively, and how to convert on the phone when yours does not.