Leave the quality flag off when converting WebP to JPG and the number gets picked by whichever tool runs. On the same WebP inputs, sips on macOS lands near 93 (an estimate from its output files), Pillow uses 75, and ffmpeg with no flag is not a fixed quality at all, roughly 71 to 91 across the seven files here (estimated the same way). A pipeline that leaves this to the tool changes file size and look the day someone swaps the tool. Pin the number in the pipeline.

Inputs were three q80 lossy WebP photos (113,778, 98,330 and 158,934 bytes) and two UI screenshots (25,240 bytes lossless, 23,066 bytes lossy). The photos come from Wikimedia Commons, all CC0 and scaled or cropped: Bonnie Moreland's "Lake Mountain Landscape", William Stitt's "Face portrait" and "Avions à l'aéroport de Madrid - 2015". The screenshots and the test icon below are self-made with fictional data. Everything ran once on an Apple-silicon Mac with macOS sips, FFmpeg 9.0 and Python with Pillow 11.3, so read the numbers as this sample set only.

Same inputs, six defaults

Each cell is JPG bytes divided by the source WebP bytes, all with default settings. Qualities marked "estimated" were worked back from each output's quantization tables against the standard IJG tables. They are approximations, and none of these tools reports them.

Tool Default quality 3 photos 2 screenshots
sips about 93, estimated 2.32–2.40× 4.43–6.52×
ezgif about 90, estimated not tested 3.65–5.36×
CloudConvert 92–100 with 4:4:4, estimated not tested 5.34–13.31×
ImgIng by content: 80, 78, 84, 88 1.41–2.00× 2.45–5.07×
ffmpeg, no flag varies, 71–91 estimated 0.75–0.81× 1.92–3.64×
Pillow save 75 1.27–1.37× 2.78–4.31×

The two online converters only received the self-made screenshots, so their photo cells stay empty. CloudConvert's big files follow from its high default quality, which suits someone who wants the least loss, so the column is not a ranking. Only ffmpeg shrank the photos, and its screenshots still grew.

ffmpeg's smaller photos sit further from the decoded WebP. On the three photos, the luma SSIM against the decoded WebP (a version implemented here with NumPy and OpenCV, not a human rating) is 0.9588–0.9673 for ffmpeg, against 0.9916–0.9930 for sips, 0.9802–0.9897 for ImgIng and 0.9764–0.9802 for Pillow.

One number means different things in different tools

For the three photos, a JPG no bigger than its source WebP needed quality 54 to 61 in Pillow's bundled libjpeg-turbo, where SSIM against the decoded WebP is about 0.967. That holds for q80 lossy WebP photos only. Both screenshots stayed larger than their WebP even at quality 5, so screenshots need a different fix, such as scaling down or keeping WebP.

Carrying 60 over to sips does not reproduce that. sips with formatOptions 60 still gave 1.63 times the source on the first photo. Its scale is not libjpeg's, so a quality number belongs to the tool that produced it.

Transparency is another default

JPEG has no alpha channel, and the tools disagree on what to put there. On a self-made icon with transparent areas, sips, ezgif and CloudConvert filled white. ffmpeg without flags and Pillow's convert('RGB') exposed whatever colour is stored under the transparent pixels, black for this icon, and another icon may differ. Pillow saving the RGBA image straight to JPG raised OSError: cannot write mode RGBA as JPEG. If the background matters, paste the image onto a canvas of the colour you want before saving.

When the default depends on the content

ImgIng https://imging.ai/ runs in a desktop browser, and its page names a detected type before converting, with a JPG default for each: photo 80, smooth 78, texture 84, graphics or text 88. On these inputs the airfield photo, whose upper half is mostly sky, was labelled "Screenshot/UI detected". It went out at 88 and came back at 2.00 times its WebP, while the other two photos at 80 came back at 1.41 and 1.43. Across the four photo samples in the larger set, Pillow's libjpeg-turbo puts the cost of that one-step jump from 80 to 88 at 36.3% to 39.2% more bytes, for SSIM that rises only 0.0072 to 0.0090.

On privacy, the 8 WebP to JPG conversions here (7 single images and one batch of 7) showed no non-GET request and no WASM download. HEIC output, TIFF, JPEG 2000 and image-to-PDF go through a server, so the safe claim is that common formats stay local. AVIF output loads its codec on first use, which is a download, not an upload.

What this run did not cover

Windows Paint and Photos, ImageMagick, animated WebP, the Preview app itself (sips stands in, same system image framework), ezgif's local-processing option and the 54–61 figure under any encoder other than libjpeg-turbo were not tested. Five images on one machine are not a test set for any threshold above.

Pin it in the pipeline

Treat the quality as part of the recipe and write it into every call. Keep one number for photos and a second for UI captures. Add a check that compares output bytes with input bytes and flags any file that grew.

$ sips -s format jpeg -s formatOptions 60 photo.webp --out photo-q60.jpg photo.webp photo-q60.jpg $ ffmpeg -hide_banner -loglevel error -i photo.webp -q:v 2 -update 1 photo-ffmpeg-q2.jpg && echo ok ok 

The sips file came out at 185,584 bytes and the ffmpeg -q:v 2 file at 211,529 bytes, against 113,778 for the WebP. The two flags sit on different scales, so a number that works in one tool says nothing about the other. Re-check it whenever the tool or its version changes.