How to Fix JFIF Files Permanently in Windows 10 or 11
Windows keeps handing you photos labeled .jfif instead of .jpg, quietly enough that you might not notice until an upload form rejects the file or a printer refuses to open it. The cause is a small registry setting, not a corrupted download. Below are two verified ways to fix JFIF files in Windows 10 and 11, plus a fast way to fix the .jfif files you already have.
Why Windows Does This
The behavior comes from a registry mapping between the JPEG content type and the .jfif file extension. According to a Microsoft Q&A thread on the issue, this key lives at HKEY_CLASSES_ROOT\MIME\Database\Content Type\image/jpeg and tells any browser that saves a JPEG image which extension to use.
It is not a bug in your photo. A .jfif file is already a real JPEG image under a different label - see our explanation of what a JFIF file actually is for the technical detail.
Fix 1: Change the Default App (Quick, No Registry Editing)
This fix controls which program opens .jfif files when you double-click one. It does not stop future downloads from using the .jfif extension - for that, use Fix 2 below.
- Open Settings and search for Default apps.
- Scroll to the file type list and search for .jfif.
- Select your preferred viewer (Photos, or any image editor you use).
This is the same approach outlined in a Microsoft Q&A thread on changing default apps for a file type.
Fix 2: Stop Windows From Saving JFIF (Registry Edit)
This is the fix that actually stops Windows and Edge from saving new images as .jfif in the first place. Back up the registry or create a system restore point before editing it, since registry changes affect the whole system.
- Press Win + R, type
regedit, and press Enter. - Navigate to
HKEY_CLASSES_ROOT\MIME\Database\Content Type\image/jpeg. - Double-click the Extension value.
- Change the value data from
.jfifto.jpgand click OK. - Restart your browser for the change to take effect.
This matches the fix documented in the Microsoft Q&A thread cited above.
What About Files You've Already Saved as .jfif?
The registry fix only changes future saves. Files already sitting in your Downloads folder stay .jfif until you fix them individually. To rename one by hand:
- In File Explorer, turn on file name extensions: View → Show → File name extensions on Windows 11, or tick File name extensions on the View tab in Windows 10.
- Right-click the file, choose Rename, and change
.jfifto.jpg. - Click Yes when Windows warns the file might become unusable. It won't, because the data inside is already JPEG.
Since a .jfif file's bytes are already a valid JPEG (per the Wikipedia entry on JFIF), fixing one file is as simple as renaming the extension. For more than a handful of files, renaming each one by hand gets tedious fast - our free JFIF to JPG converter does it instantly for a whole batch, entirely in your browser, with no upload involved.
For the reverse situation - an app that specifically expects a .jfif extension - see our JPG to JFIF tool. For more on why this setting exists in the first place, read why Windows and Edge save photos as JFIF, or browse the rest of the blog.
If .jfif Files Start Showing Up Again
The registry value is an ordinary setting, so anything with permission to edit the registry can change it back. If new downloads start arriving as .jfif again, open regedit, go back to the same key, and check that Extension still reads .jpg. It takes under a minute, and it's worth checking after a major Windows update or after installing new image software.
Frequently Asked Questions
Does the registry fix work on both Windows 10 and Windows 11?
Yes. The Content Type\image/jpeg key is part of the shared Windows file-association system used in both versions.
Will this fix affect other file types?
No. The edit only changes the extension Windows uses for the JPEG content type. It does not touch PNG, WEBP, or any other format.
Why do my photos still save as .jfif after the registry fix?
Restart the browser you're saving from, since the change only applies after a restart. If files still arrive as .jfif, check that the Extension value reads .jpg exactly, including the leading dot.
Final Thoughts
You can fix JFIF files in Windows 10 and Windows 11 in two layers. The registry edit is how you stop Windows from saving JFIF on every future download, and a quick rename or batch conversion takes care of the files already on your PC. Do both once and .jfif stops showing up.