What Is a JFIF File and Why Does Windows Save Images as JFIF?

JFIF is an ordinary JPEG with a different extension. Here is why your browser saves it, how to open it and how to get .jpg files back.

By · · 2 min read

JFIFJPGPNGIMG

You right-click a picture in Chrome or Edge, choose Save image as, and the file ends in .jfif. Then an upload form refuses it, or a client asks what kind of file you sent. The good news: nothing is wrong with the image.

JFIF is a JPEG

JFIF stands for JPEG File Interchange Format. It is the standard way JPEG image data is packaged into a file, and almost every .jpg you have ever opened is technically a JFIF file inside. The .jfif extension is just a less common label for the same thing.

That means:

  • the picture quality is the same as a .jpg;
  • any program that opens JPG can open the image once it knows it is a JPEG;
  • converting it does not need to change a single pixel.

Why Windows saves pictures as .jfif

Windows keeps a list in the registry that tells programs which extension belongs to each file type. On some systems the entry for the JPEG type points to .jfif instead of .jpg, often after another program has changed it. Browsers ask Windows which extension to use when you save an image, so they follow that setting.

This is why the problem usually appears on one PC and not another, and why it can start suddenly after installing software.

How to get a .jpg file

Rename one file. In File Explorer, turn on View → Show → File name extensions, then rename photo.jfif to photo.jpg. Because the data is already JPEG, the file opens normally.

Convert many files at once. If you have a folder of JFIF images, drop them into the JFIF to JPG converter and download them as a ZIP. The conversion runs in your browser, so the images are not uploaded. You can also lower the quality slightly to make the files smaller for email.

Need transparency or lossless edits? JPEG never stores transparency, so a JFIF will not have any either. If you plan to edit the image repeatedly, convert it to PNG so that further saves do not add compression artefacts.

How to stop Windows saving .jfif

The lasting fix is to change the registry entry so the JPEG type uses .jpg again. In the Registry Editor, the value usually involved is Extension under HKEY_CLASSES_ROOT\MIME\Database\Content Type\image\jpeg; setting it to .jpg makes browsers save .jpg files.

Edit the registry only if you are comfortable doing so, and export the key first so you can undo the change. If you would rather not touch it, renaming or converting files when needed works just as well.

Quick answers

  • Is JFIF safe to open? Yes. It is an image format, not a program.
  • Will renaming lose quality? No. Renaming does not touch the image data.
  • Do phones create JFIF files? Rarely. The extension mostly comes from Windows browsers and some messaging apps.

Related tools

Related articles