How to Open and Convert AVIF Files on Mac
macOS Ventura and later open AVIF natively. On Monterey or older the file simply refuses to open — here are three workarounds, including a Terminal one-liner that converts a whole folder at once.
Last updated: 2026-11-01 · Tested on macOS 26.6.2 (Apple silicon) with sips · By Yilin Xu
First, check which macOS you are running
Everything depends on this one answer. Click the Apple menu → About This Mac and read the version line.
- macOS 13 Ventura or later (Sonoma, Sequoia, Tahoe) — AVIF support is built in. Preview, Quick Look and Photos all handle it.
- macOS 12 Monterey or older — no built-in AVIF decoder. Double-clicking an AVIF gives you "The file could not be opened because it isn't in a supported format." That message is accurate, not a bug.
Do not confuse AVIF with HEIC. HEIC is what an iPhone camera produces, and macOS has opened it since High Sierra. AVIF is a different format with a different codec, usually downloaded from a website or sent by an Android user.
On Ventura or later: three ways to open it
- Double-click the file. It opens in Preview. If Preview is not your default handler, right-click → Open With → Preview.
- Press Space in Finder. Quick Look renders AVIF thumbnails and full-size previews without opening an app.
- Drag it into Photos. Photos imports AVIF on Ventura and later, and keeps the original file. Note that exporting from Photos may convert it to HEIC or JPEG depending on your settings.
Safari on a current macOS also displays AVIF in the browser, which is a quick way to check whether a downloaded file is intact: if it renders in Safari but not in Preview, the file is fine and something else is wrong.
Convert a single file with Preview
- Open the AVIF in Preview.
- Choose File → Export… (not "Save As").
- Set Format to JPEG.
- Drag the Quality slider. Around 80–90% is visually indistinguishable for most photos; below 60% you will see blocking in skies and skin.
- Click Save.
Two things Preview does silently. It flattens transparency onto white, because JPEG has no alpha channel — if you need the transparent background, export to PNG instead. And it re-encodes the pixels, so the JPG is a new file, not a container swap; keep the original AVIF until you are sure.
On Monterey or older: what actually works
The usual advice — "just use Preview" — does not apply here, because ImageIO in Monterey has no AVIF decoder. That also rules out sips and Automator's built-in image actions, which rely on the same framework. Three options remain:
- Convert in the browser. The AVIF to JPG converter decodes with the browser's own engine, not with macOS, so it works on any version. Nothing is uploaded.
- Install ImageMagick.
brew install imagemagick then magick input.avif output.jpg. This is the better route if you convert files regularly; see the ImageMagick guide.
- Install a viewer that ships its own decoder. XnView MP and GraphicConverter both read AVIF independently of the system, and both can batch-export to JPG.
What does not work on Monterey: renaming the file, opening it in Preview, dragging it into Photos, or using Quick Look. None of those have a fallback path to a decoder that is not installed.
Batch convert a folder with sips (Ventura or later)
sips is the built-in macOS image processor. On Ventura and later it reads AVIF through ImageIO, which makes it the fastest way to convert a folder without installing anything.
Open Terminal, type cd (with a trailing space), drag the folder into the Terminal window, and press Return. Then run:
mkdir -p jpg
for f in *.avif; do
sips -s format jpeg -s formatOptions best "$f" --out "jpg/${f%.*}.jpg"
done
What each part does: mkdir -p jpg creates an output folder so the originals stay untouched; the loop walks every .avif in the folder; -s formatOptions best maps to the highest JPEG quality; ${f%.*} strips the extension so the output keeps the original name. To use a different quality, replace best with high, normal or low.
If you see Error: Unable to render destination image, the file is either not a real AVIF or it is animated — sips handles only the first frame and fails on some animated files. Convert those individually with the browser tool.
Turn it into a right-click Quick Action
If you convert files often, wrap the loop in an Automator action so it appears in the Finder context menu:
- Open Automator → New Document → Quick Action.
- Set "Workflow receives current" to image files in Finder.
- Add Run Shell Script, set "Pass input" to as arguments, and paste a loop that calls
sips on "$@".
- Save as "Convert AVIF to JPG". It now appears under Services / Quick Actions.
On Monterey and older this action will fail for the same reason Preview does — the system decoder is missing. Automator is a shortcut, not a codec.
Troubleshooting
- "It isn't in a supported format." macOS is too old, or the file is not actually AVIF. Test it in a browser first.
- Blank thumbnails in Finder but the file opens. Quick Look cache is stale. Run
qlmanage -r in Terminal, then reopen the folder.
- Colours look different after export. The AVIF carried a wide-gamut or HDR profile; JPEG export maps it to a narrower space. If colour accuracy matters, convert with a tool that manages ICC profiles and keep the original.
- Preview exports a huge file. The quality slider was left at maximum. Drag it to about 80% and compare — most photos show no visible difference.
- Only the first frame of an animation appears. Expected. JPEG stores one frame; use an animated format if motion matters.
Frequently asked questions
Do iPhone photos use AVIF?No. The iPhone camera writes HEIC. AVIF usually arrives from websites, Android devices, or image tools that export it. That is why the two formats get confused — same container family, different codec.
Can I open AVIF on macOS Monterey at all?Not with Apple's built-in apps. You need a converter or a third-party viewer that bundles its own decoder. Browser-based conversion works because the browser, not macOS, does the decoding.
Is sips conversion lossless?No. JPEG is lossy. If you need a lossless intermediate, convert to PNG with -s format png, then compress later.
Does converting keep the photo's metadata?Usually the capture date and camera fields survive, but GPS handling varies by tool and by macOS version. If you are publishing the image, strip metadata deliberately rather than relying on the converter.
Why is the JPG larger than the AVIF?Common for screenshots, logos and already-compressed images. AVIF's advantage is largest on detailed photographs, not flat graphics.