Converting

Convert JFIF to JPG on Mac (and Why Your Downloads Are JFIF)

By the Smol team5 min read

A .jfif file is a normal JPEG with a different extension. On a Mac, the quickest fix is to rename it to .jpg. If you want a fresh file instead, open it in Preview and use File > Export, or run sips in Terminal.

What is a JFIF file?

JFIF stands for JPEG File Interchange Format. It is a small standard that defines how JPEG image data and a short header are packed into a file. Nearly every file called .jpg is technically a JFIF file already. Some browsers and Windows tools simply save the same bytes with a .jfif extension, which is why a download from a website can show up that way.

We checked this directly. We saved a JPEG as b.jfif and ran file on it. The report said “JPEG image data, JFIF standard 1.01”. The picture inside is an ordinary 800 by 600 JPEG.

How do I convert JFIF to JPG on a Mac by renaming?

  1. Click the file in Finder and press Return.
  2. Change the extension from .jfif to .jpg.
  3. Click Use .jpg when macOS asks.

Nothing is re-encoded, so there is no quality loss and the file size stays exactly the same. For a whole folder, this renames every JFIF in it:

for f in *.jfif; do mv "$f" "${f%.jfif}.jpg"; done

Renaming is safe because the data is already JPEG. If the file does not open after renaming, it was not a JPEG to begin with, which sometimes happens when a site mislabels a WebP or PNG.

How do I export JFIF as JPG or PNG with Preview or sips?

Preview opens JFIF files directly. Choose File > Export, set Format to JPEG or PNG, and save. This writes a new file, which is useful when you also want to change quality. For the command line:

sips -s format jpeg photo.jfif --out photo.jpg
sips -s format png photo.jfif --out photo.png

The JPEG command worked in our test. Our 800 by 600 test JPEG was 16.3 KB as a JFIF file. After sips re-encoded it, the new JPG was 29.2 KB. Same image, larger file, because sips re-saves at its own default quality. That is a good reason to prefer renaming when all you want is a working extension.

MethodRe-encodes?Result in our test
Rename to .jpgNoSame bytes, 16.3 KB
Preview exportYesNew file, size depends on the slider
sips format jpegYes29.2 KB, same pixels
sips format pngYesLossless PNG, usually larger than the JPG

How can I tell whether a .jfif file is really a JPEG?

Check what is inside before you rename a pile of files. The file command reads the actual data and ignores the extension:

file *.jfif

A real JFIF prints “JPEG image data” for each file. If a line says “Web/P image” or “PNG image data”, renaming to .jpg will leave you with a mislabeled file that some apps refuse. Export that one through Preview or sips instead, so the output is a true JPEG.

A second quick check is the size. A renamed file should match the original byte for byte, so ls -l before and after should show the same number. If it changed, something re-encoded the image.

Should I convert JFIF to PNG?

Only if an app demands PNG. PNG is lossless, but turning a JPEG into a PNG cannot bring back detail the JPEG already dropped. It only makes the file bigger. Keep it as JPG unless you need to edit with transparency or the destination refuses JPEG. Our JPG to PNG guide explains the trade-off.

For other awkward downloads, the WebP to JPG guide covers the format sites now serve most often, and the image converter roundup lists tools for the rest.

When is Smol the wrong tool for this?

For JFIF files, Smol is the wrong tool. In our test, Smol 1.0.35 rejected a .jfif input with the message “.jfif files can’t be converted”. Rename the file to .jpg first and it behaves like any other JPEG. At that point Finder already did the job.

Where Smol earns its $29 (once, one Mac) is the step after: shrinking a pile of downloaded JPEGs, or converting a mixed folder of PNG, HEIC, TIFF and WebP in one go, with nothing uploaded. See the buy page if that is your routine. For a few JFIF files, the free Mac tools above are enough.

How we checked this

Saved a 800 by 600 JPEG as .jfif, ran file on it, renamed it, exported it with sips to JPG, and tried it in Smol 1.0.35 on an Apple Silicon Mac. Facts last checked . We make Smol, so treat our claims about it with the same care as any vendor’s, and see our editorial policy.

JFIF files: common questions

Is a JFIF file the same as a JPG?

Effectively yes. JFIF describes how JPEG data is wrapped in a file, and almost every .jpg file uses it. A .jfif file holds the same kind of image data under a different extension. In our test, the file command reported a renamed copy as a JPEG with JFIF standard 1.01.

Why do my downloads save as JFIF?

Some browsers and Windows apps label JPEG data with the .jfif extension when you save an image from a web page. The image is unchanged, only the label differs. Renaming to .jpg fixes it, and you can often avoid it by saving or dragging the image from a different browser.

Does renaming JFIF to JPG lose quality?

No. Renaming changes only the file name, not the image data. In our test, the renamed copy had exactly the same size in bytes as the original. Exporting through Preview or sips does re-encode the image, which can change quality and file size.

Can I open a JFIF file on a Mac without converting it?

Yes. Preview opened our test .jfif file directly, and sips read it as well. Some other apps and upload forms check the extension and refuse .jfif, which is when renaming to .jpg or exporting a real JPG becomes necessary.

Keep reading