Three routes: no install, one short script, or the full command line. Pick by how many files you have — and whether you will still be doing this next month.
| Method | Works on | Install | Best for |
|---|---|---|---|
| Browser converter | Any | None | 5–50 files, one-off jobs, locked-down machines |
sips loop | macOS 13 Ventura or later | None | A folder on a Mac, no software to install |
| ImageMagick | Windows, macOS, Linux | One package | Hundreds of files, repeated jobs, size targets |
There is no built-in batch path on Windows: the Photos app converts one image at a time, and PowerShell has no AVIF decoder of its own. Windows users choose between the browser and ImageMagick.
Two limits worth knowing. Browsers cap canvas dimensions (the converter scales anything beyond 8192 px), and very large batches are bounded by your device's memory — a few hundred files in one go can exhaust a phone. Split large jobs into batches of 50.
One convenience trade-off: dropping a folder may not work in every browser, because folder drag-and-drop does not always expose the files inside. Open the folder and select the files instead.
sips is preinstalled and reads AVIF through the system image framework on macOS 13 and later. Open Terminal, type cd with a trailing space, drag the folder into the window, press Return, then run:
mkdir -p jpg
for f in *.avif; do
out="jpg/${f%.*}.jpg"
[ -e "$out" ] && continue
sips -s format jpeg -s formatOptions best "$f" --out "$out" \
|| echo "FAIL $f" >> failed.txt
done
What it does: creates a jpg subfolder, converts every .avif in the current folder, skips files that were already converted, and writes the names of failures to failed.txt. The originals are never modified.
If you prefer clicking to typing, the Shortcuts app can do the same thing: create a shortcut with Repeat with Each → Convert Image (set to JPEG) → Save File, then run it on a selection in Finder. It uses the same system decoder, so it works on Ventura and later and fails on Monterey.
The fastest route once you have more than a few dozen files. Install it once — see the ImageMagick guide for the AVIF-enabled build on your platform — then:
mkdir -p jpg
magick mogrify -path jpg -format jpg -quality 92 *.avif
mogrify -path does not create the output directory. If jpg is missing, you get mogrify: unable to open image 'jpg/a.jpg': No such file or directory — which looks like a decode failure but is only a missing folder. The mkdir -p line is not optional.
That single line converts the whole folder into a separate jpg directory. To walk subfolders and keep the directory structure, use find:
find . -name "*.avif" -print0 | while IFS= read -r -d '' f; do
out="${f%.*}.jpg"
[ -e "$out" ] && continue
magick "$f" -auto-orient -quality 92 "$out" \
|| echo "$f" >> failed.txt
done
-auto-orient is worth including: it applies the EXIF rotation flag, which prevents the sideways-photo problem that affects some phone images.
Windows PowerShell equivalent:
New-Item -ItemType Directory -Force -Path jpg | Out-Null
Get-ChildItem -Filter *.avif | ForEach-Object {
$out = Join-Path "jpg" ($_.BaseName + ".jpg")
if (-not (Test-Path $out)) {
magick $_.FullName -quality 92 $out
}
}
92% is a good default for photos you will keep or print. 85% is visually identical at normal viewing size and roughly a third smaller; it is the better choice for a website or an archive you will never print. Below 70%, gradients and skin tones start to show blocking, which is obvious when the image is displayed large.
If a destination imposes a size limit — an upload form, an email server — set the limit directly rather than guessing:
magick input.avif -define jpeg:extent=500KB output.jpg
sips and Shortcuts both fail. Use the browser or ImageMagick..avif to .jpg and the rest of the name is untouched. Watch out for folders that already contain a .jpg with the same base name; the scripts above overwrite it, so convert into a separate folder.