Skip to content
Levati

How do you convert WebP or AVIF to JPG on a Mac, and how large is the file afterwards?

With sips in Terminal or with an app like Levati, and the JPG gets larger: WebP photos converted with sips came out 3.08 times as large at the median, AVIF photos 3.58 times. With jpegli, which Levati uses, it was 2.29 and 2.19 times; none of the photos got smaller as a JPG.

How much larger does a WebP or AVIF get as a JPG?

2.2 to 3.6 times at the median, depending on the format and the encoder. From WebP photos of 91.9 KB at the median, sips made JPGs of 274 KB and Levati JPGs of 211 KB; from AVIF photos of 97.1 KB, 345 KB and 207 KB.

With sips, AVIF grew more than WebP; with jpegli, both grew about the same.

Conversion Before JPG Factor SSIMULACRA 2
WebP, sips 91.9 KB 274 KB 3.08 (2.28 to 4.50) 87.3
WebP, Levati 91.9 KB 211 KB 2.29 (1.89 to 3.14) 86.4
AVIF, sips 97.1 KB 345 KB 3.58 (2.98 to 5.28) 90.9
AVIF, Levati 97.1 KB 207 KB 2.19 (2.01 to 2.98) 87.7

All values are medians, the range of the factor in brackets. SSIMULACRA 2 compares the JPG with the decoded WebP or AVIF; 100 means identical pixels.

Why is the JPG from Levati smaller than the one from sips?

Because Levati encodes it with jpegli instead of the JPEG encoder that sips uses: at the median, the JPGs from sips were 1.30 times as large as Levati’s for WebP and 1.66 times for AVIF, at a somewhat higher SSIMULACRA 2 score of 87.3 and 90.9 instead of 86.4 and 87.7.

How jpegli compares with other JPEG encoders on phone photos is covered in jpegli, MozJPEG or jpegoptim: what does each do for phone photos?.

What happens to transparency?

A JPG cannot keep it: sips filled the transparent area with white for both WebP test images and with black for both AVIF test images. As a PNG with sips -s format png, the transparency stayed, but the files came out 13.2 to 19.0 times as large as the WebP or AVIF; Levati’s PNG with pngquant and oxipng kept it at 3.0 to 4.4 times, at a SSIMULACRA 2 score of 83.9 to 88.0.

How much pngquant and oxipng save on their own is covered in How much can you compress a PNG on a Mac?.

How do you convert WebP or AVIF to JPG on a Mac?

In Preview, open the image, choose File > Export and pick JPEG in the Format pop-up menu, where a quality setting appears (Preview User Guide, checked November 29, 2026). In the Finder, the Convert Image quick action asks for a format and a size (Mac User Guide, checked November 29, 2026). How much Preview and the quick action compress was not measured.

In Terminal, mkdir -p jpg && sips -s format jpeg *.webp --out jpg writes a JPG for every WebP in the folder into the folder jpg, under the same name with .jpg; the WebP files stay. For AVIF, mkdir -p jpg && sips -s format jpeg *.avif --out jpg does the same. If a WebP and an AVIF share a name, the second call overwrites the first JPG without asking. For images with transparency, mkdir -p png && sips -s format png *.webp --out png writes PNGs instead.

How much a HEIC grows as a JPG is covered in Does an image get bigger when you convert HEIC to JPG?.

What does Levati do with WebP and AVIF?

Levati converts a WebP or AVIF you drop on it once, without a setting: into a JPG with jpegli, or into a PNG with pngquant and oxipng if a single pixel is transparent. The result sits in the same place, the original goes to the Trash, and Undo brings it back; a color profile other than sRGB stays. Automatic leaves WebP and AVIF on the desktop alone, and an AVIF in HDR with PQ or HLG and an image with several frames stay as they are.

How was this measured?

The measurement covers eight photos on November 29, 2026 on a MacBook Pro with M5 Pro running macOS 27.2.1, without a window and without the Levati app.

  1. Photos: eight images from the NASA Image and Video Library in the size “large”, most of them 1920 pixels on the long side: iss045e013851, iss071e364425, iss071e456772, iss072e518202, MSFC-202100038, PIA18914, PIA24231 and KSC-01282026-Artemis II_Moon Shots-10. NASA content is generally not subject to copyright in the United States (NASA Images and Media Usage Guidelines, checked November 29, 2026).
  2. Transparency: iss045e013851 and PIA24231 a second time with a round transparent cutout, made with ffmpeg 9.0.1.
  3. WebP and AVIF: each photo as a PNG, then with cwebp -q 75 from libwebp 1.6.0 and avifenc -q 60 from libavif 1.4.2, as a website might serve them.
  4. sips: the commands above, without a quality setting.
  5. Levati: the function ersetze from the core of Levati 1.5.0, which the app calls for every file dropped on it, with Trash and journal in a working folder.
  6. Analysis: file size in bytes, factor of the result to the WebP or AVIF per image, median and range; SSIMULACRA 2 between the result and the WebP or AVIF decoded with dwebp and avifdec; 1 KB is 1,000 bytes.

Not measured: Preview, the Convert Image quick action, WebP and AVIF from other encoders or quality settings, and animated files.