getPNGgetSVG
File formats9 min read

What is a JFIF file, and why did my image save as one?

What is JFIF: a JPEG with another name. Why Chrome on Windows saves images as .jfif, how to rename one to .jpg in seconds, and how to stop it happening again.

The getPNG team16 Sept 2026

Short answer

JFIF stands for JPEG File Interchange Format, the standard layout of an ordinary JPEG file. A .jfif file is a JPG with a different extension: the picture data is identical. Browsers on Windows save images as .jfif when a Windows registry setting maps the JPEG type to that extension. Rename the file to .jpg and every app opens it; set the registry value back to .jpg to stop it recurring.

What is JFIF, and why did a picture you saved from the web end up as a .jfif file that half your apps will not open? A JFIF file is a JPEG image, the same kind of file as a .jpg, with a less familiar extension. The picture inside is exactly the same. Windows gave it that name because of a setting in its registry, and the fix is to rename the file, then change that setting so it does not happen again.

This guide explains what JFIF actually is, why Chrome and other browsers on Windows sometimes save images that way, how to rename one file or a whole folder, how to stop it for good, and why you do not need an online converter for any of it.

What is JFIF?

JFIF stands for JPEG File Interchange Format. To understand why it exists, it helps to know that the original JPEG standard from the early 1990s described how to compress a photograph, but left out several things a file needs in order to be exchanged between programs: which colour space the numbers were in, how the pixels should be scaled, and a clear, simple way to lay the parts out in a file.

JFIF, written in 1992 by Eric Hamilton at C-Cube Microsystems, filled those gaps. It said the colours are stored as brightness plus two colour-difference channels, gave a place for pixel density (the dots per inch value), allowed a small thumbnail, and marked the file with a short JFIF label near the start. It was so widely adopted that it became, in effect, what a JPEG file is. It was later formally standardised as ITU-T Recommendation T.871 and ISO/IEC 10918-5.

The other common JPEG layout is Exif, which cameras and phones use because it has room for camera settings, date and location. Most JPG files from a camera are Exif; most JPG files made by editing software and websites are JFIF; many contain markers for both. Either way, every app that reads JPEG reads both, and both usually carry the .jpg extension.

So the extension is only a label. .jpg, .jpeg, .jpe and .jfif all point to JPEG data, and the file content does not depend on which one it has.

Why did my image save as .jfif?

When you right-click an image and choose Save image as, the website does not send a file name with an extension that the browser must trust. It sends the image with a type, image/jpeg. Chrome on Windows then asks Windows which extension belongs to that type, and Windows looks the answer up in the registry, under this key:

HKEY_CLASSES_ROOT\MIME\Database\Content Type\image/jpeg

That key has a value called Extension. On most PCs it is .jpg, and saved images arrive as .jpg. On some PCs it has been set to .jfif, often by software installed later or by a change during an update, and from then on every JPEG the browser saves is offered with the .jfif extension. Browsers built on the same engine as Chrome, such as Microsoft Edge, can behave the same way. Chrome on a Mac and Safari do not use the Windows registry, so the problem is specific to Windows.

It is a naming quirk, nothing more. The file is not damaged, not a different format and not a sign of anything wrong with the website.

Why a JFIF file will not open or upload

Many programs, and most website upload forms, decide what they accept by looking at the extension rather than inside the file. A form that allows .jpg, .jpeg and .png will reject a .jfif without reading a byte of it, even though the content is identical to a JPG it would accept. Some older desktop apps do the same in their Open dialogs, where .jfif files simply do not appear in the list. Renaming fixes all of these at once.

How to rename a JFIF file to JPG on Windows

  1. Show file extensions. Windows hides them by default. In File Explorer on Windows 11, choose View, then Show, then tick File name extensions. On Windows 10, open the View tab and tick File name extensions.
  2. Rename the file. Click the file once, press F2, change the ending from .jfif to .jpg and press Enter.
  3. Confirm the warning. Windows says the file might become unusable if you change the extension. In this case it will not, so choose Yes.
  4. Check it opens. Double-click the renamed file, or upload it to the form that refused it.

If you are saving the image right now, there is an even quicker route: in the Save As window, type the file name with .jpg at the end yourself, for example beach.jpg, before pressing Save.

Renaming a whole folder of JFIF files

If a folder is full of them, PowerShell can rename every one at once. Open the folder in File Explorer, click in the address bar, type powershell and press Enter, then run:

Get-ChildItem *.jfif | Rename-Item -NewName { $_.Name -replace '\.jfif$', '.jpg' }

It renames only files ending in .jfif in that folder and leaves everything else alone.

Renaming on a Mac, iPhone or Android

Mac: select the file in Finder, press Return, change the extension to .jpg and press Return again, then choose Use .jpg when asked. iPhone and iPad: in the Files app, touch and hold the file, choose Rename, and edit the ending (turn on showing extensions in the Files view options if you cannot see it). Android: most file manager apps offer Rename in the menu for a file, and some warn about changing the extension; the answer is the same as on Windows.

Prove that a JFIF is already a JPEG

  1. Make a copy of a .jfif file and rename the copy to .jpg.
  2. Right-click each file and open Properties, and compare the Size values in bytes.
  3. Open both in Photos side by side.

You should see: the two sizes are identical to the byte and the pictures are the same, because only the name changed.

If you do not: if the renamed copy will not open, the original was not a JPEG to begin with: a site may have sent a WebP or AVIF with a misleading name. Try renaming it to .webp, or open it in a browser, which reads the content rather than the extension.

How to stop Windows saving images as JFIF

Renaming fixes the files you have. To stop new downloads arriving as .jfif, set the registry value back. The Registry Editor is a powerful tool, so change only the one value described here.

  1. Close Chrome or Edge completely.
  2. Press Windows and R, type regedit and press Enter. Windows may ask for administrator permission.
  3. In the address bar at the top of Registry Editor, paste HKEY_CLASSES_ROOT\MIME\Database\Content Type\image/jpeg and press Enter.
  4. On the right, double-click the value named Extension. If it reads .jfif, change it to .jpg and select OK.
  5. Close Registry Editor, reopen the browser and save an image to test.

On a work computer managed by an IT department you may not be allowed to change this; ask them, or rename files as you save them. If the value is already .jpg and downloads still arrive as .jfif, another program may be setting it back, and renaming at save time is the reliable workaround.

You do not need a JFIF to JPG converter

Search for this problem and the results fill with converter sites. Most of them upload your picture to a server, decode it, encode it again as JPEG and send it back. That does two things you do not want: the second JPEG encoding loses a little more quality, and a copy of your picture has passed through someone else’s computer. Renaming gives a better result, instantly, on your own device. Is it safe to upload photos to online converters covers what the popular converters say they do with files, and how to check a website is not uploading your photos shows how to see it for yourself.

The same logic applies to any format question where the file is fine and only an app is being fussy. The photo file formats guide lists which formats are genuinely different (HEIC, WebP, AVIF) and which are just names for JPEG, and HEIC vs JPG vs PNG covers the one iPhone format that really does need converting. getSVG also has a short explainer on why JPEG and JPG are two names for one thing.

When JFIF is not the whole story

  • The file will not open even as .jpg. It may be a WebP or AVIF that was saved with the wrong name. Opening it in a browser tab shows the picture regardless; what is AVIF explains why sites send those.
  • You need transparency. A JFIF, like any JPEG, cannot have a transparent background. Renaming it to .png does not add one either; the picture needs its background actually removed and saving as a real PNG.
  • The image looks blocky. That is JPEG compression from wherever the image came from, not something the .jfif name caused. Renaming or converting cannot bring the detail back.

The free way

A JFIF with a background you want gone

getPNG reads JPG files, so rename the .jfif to .jpg and drop it on the page. It cuts out the subject and gives back a real transparent PNG at the full resolution of the original, which is the one thing a rename cannot do. You can also save it as a JPG on white or any other colour, or as a WebP with transparency.

Your photo never leaves this device.Open getPNG

The steps, in short

  1. Show file extensions. In File Explorer on Windows 11, choose View > Show > File name extensions, so you can see and edit the .jfif ending.
  2. Rename the file. Select the file, press F2, change .jfif to .jpg and press Enter. Confirm the warning about changing the extension.
  3. Check it opens. Open the renamed file in Photos or upload it where the .jfif was refused. The picture is unchanged.
  4. Stop it recurring (optional). In Registry Editor, open HKEY_CLASSES_ROOT\MIME\Database\Content Type\image/jpeg and set the Extension value to .jpg, then restart the browser.

Questions

Is JFIF the same as JPG?

Yes, for every practical purpose. JFIF is the file layout most JPEG images use, and .jfif, .jpg, .jpeg and .jpe are all extensions for the same kind of file. Renaming between them changes nothing inside the picture.

How do I convert JFIF to JPG?

Rename it. Change the extension from .jfif to .jpg in File Explorer or Finder and the file is a JPG, because it already was one. No converter, re-saving or quality loss is involved.

Why does Chrome save images as JFIF?

When a site sends a JPEG, Chrome on Windows asks Windows which file extension goes with that type, and Windows answers from a registry value. On some PCs that value is .jfif instead of .jpg, often after other software or an update changed it.

Can I open a JFIF file on a Mac or phone?

Usually yes, since it is a JPEG. If an app does not list it, rename the file to .jpg first; on a Mac, select it in Finder, press Return and edit the extension.

Is it safe to use a JFIF to JPG converter website?

It is unnecessary. A converter that re-encodes the file adds a little compression loss, and most such sites upload your picture to do it. Renaming the extension on your own device gives an identical result.

Does renaming JFIF to JPG reduce quality?

No. Renaming does not touch the image data at all, so the file is byte for byte the same apart from its name.

Tags
File formatsJFIFJPGWindows