Why Does Windows or Edge Save Photos as .jfif Instead of .jpg?

You right-click an image, choose "Save image as," and the download lands with a .jfif extension you never asked for. It looks broken, but it isn't - a .jfif file is already a real JPEG image, just labeled differently. Here's exactly why Windows saves photos as JFIF instead of JPG, and what it means for the file.

Diagram showing a photo labeled .jfif contains the same JPEG-compressed image data as the same photo saved as .jpg

Why Windows Saves Images as JFIF: The Registry Setting

Microsoft Edge and other browsers decide what extension to give a saved image by checking a Windows registry key that maps content types to file extensions. A Microsoft Q&A thread on the behavior identifies the key as HKEY_CLASSES_ROOT\MIME\Database\Content Type\image/jpeg, with an Extension value that can point to either .jpg or .jfif.

When that value is set to .jfif, every JPEG image saved through the browser gets that extension, regardless of what extension the image originally had on the server. It is a labeling decision made locally on your PC, not something the website you downloaded from controls.

How the registry decides the saved file extension Browser saves a JPEG image Content Type\image/jpeg Registry key checked for the "Extension" value to use HKEY_CLASSES_ROOT\MIME\Database .jfif or .jpg
One registry value decides the extension every browser-saved JPEG gets on your PC.

JFIF Isn't a Different Format - It's the Container JPEG Already Uses

JFIF stands for JPEG File Interchange Format, and it's the actual specification that ordinary JPEG files follow. According to the Library of Congress digital format registry entry for JFIF, the format was developed to let JPEG-compressed image data move reliably between different platforms and applications, and version 1.02 - released in 1992 - is still the version in common use today.

In other words, when Windows names a file .jfif, it isn't converting your JPEG into something else. It's just being more literal about which spec the file already follows. See our fuller explanation of what a JFIF file is for how this plays out in practice.

Diagram titled JFIF Isn't a Different Format, It's a JPEG Image, showing identical image data under both extensions
Same photo, same JPEG-compressed data - only the label on the outside changes.

When Did Windows Start Doing This?

Microsoft hasn't published an explanation that we could find. The clearest record comes from browser makers: a Mozilla bug report describes Windows 10 setting .jfif as the default extension for JPEG images after the Creators Update, with Firefox users complaining that "not all the software accepts that extension." Mozilla's response was to stop trusting the registry for a few common file types and hardcode the extension in Firefox instead.

That's useful context: the behavior isn't specific to Edge, and it isn't something a website does to you. It comes from one value on your own PC.

Why It Still Causes Problems

Plenty of software checks a file's extension before deciding whether to accept it, even though the actual image data would work fine. Some upload forms, older photo viewers, and a handful of desktop apps only recognize .jpg or .jpeg by name, so a perfectly valid image gets rejected purely on a technicality.

That mismatch is the entire reason a rename - not a real conversion - is enough to fix it. Wikipedia's entry on JFIF confirms the same underlying point: nothing about the pixel data needs to change, because the data was already standard JPEG.

Fixing It

Two options exist, depending on what you're trying to solve. To stop Windows from labeling future downloads as .jfif at all, see our step-by-step registry fix for Windows 10 and 11. To fix files you already have right now, use our free JFIF to JPG converter - Instant Rename mode relabels the file instantly with zero quality loss, since there's nothing to re-encode.

Need to go the other direction for an app that specifically expects a .jfif extension? Our JPG to JFIF tool handles that too. For a deeper technical look at the format itself, read what the JFIF format actually specifies.

Frequently Asked Questions

Why does Microsoft Edge save images as JFIF?

Microsoft Edge reads the Windows registry setting for the image/jpeg content type. If its Extension value says .jfif, Edge saves images as JFIF. Change it to .jpg and new downloads come out as .jpg.

Is a .jfif file safe to open?

A .jfif file is ordinary JPEG image data, so it's as safe as any JPG. Treat it like any other download and only open files from sources you trust.

Does this happen in other browsers too?

It has. Mozilla's bug tracker records Firefox saving JPEGs as .jfif because of the same registry key, and Mozilla changed Firefox to hardcode the extension for some common image types. Any browser that still reads the registry value can do it.

Final Thoughts

Seeing .jfif instead of .jpg is a labeling quirk, not damage. One registry value decides the extension, the image inside is standard JPEG, and both future downloads and existing files take about a minute to fix.

Sources

  1. Microsoft Q&A - browsers saving images as .jfif
  2. Library of Congress - JFIF, JPEG File Interchange Format, Version 1.02
  3. Wikipedia - JPEG File Interchange Format
  4. Mozilla Bugzilla - Bug 1620616, Windows returning .jfif for image/jpeg