Re-saving a .jfif through an editor to "convert" it, which re-encodes the JPEG and loses a little quality when renaming would have cost nothing.
File formats
JFIF
Also called .jfif or jpeg file interchange format. Here is what it means, when it changes what you export, and what people get wrong.
The short answer
JFIF (JPEG File Interchange Format) is the standard wrapper that makes a JPEG readable by other programs. A .jfif file is an ordinary JPEG and only the extension differs. JFIF defines the small header that records pixel density and an optional thumbnail, and is specified in ITU-T T.871.
Updated
The short version
JFIF at a glance
| Quick fact | Detail |
|---|---|
| Standard | ITU-T T.871, also published as ISO/IEC 10918-5 |
| Same bytes as | An ordinary .jpg file |
| Stores | Version, pixel density, optional thumbnail |
| Safe to rename | Yes, renaming to .jpg loses nothing |
| Where it appears | Mostly browser downloads on Windows |
Slide the table sideways to see every column.
Why did my download save as .jfif?
Windows keeps a table mapping each media type to a file extension, and for image/jpeg that table has long listed .jfif. When a browser saves an image whose web address carries no filename, it asks Windows which extension to use and gets .jfif back. The same download on macOS lands as .jpg.
Nothing is wrong with the file. The bytes are a normal JPEG. Some upload forms reject it only because they filter on the extension rather than on the content.
How do you turn a .jfif into a .jpg?
Rename it. Change the ending from .jfif to .jpg and you are finished, with no re-encoding and no quality loss. On Windows you may first need to switch on file name extensions in File Explorer's View menu, otherwise you are editing only the visible name.
Use a converter instead when you want a different format, or when a whole folder needs handling at once and renaming them by hand is not worth the time. Photomop's converter will take the batch and return standard JPEG or PNG files.
What is in the JFIF header?
Very little: a version number, the pixel density (a plain aspect ratio, or a real figure in pixels per inch or per centimetre), and optionally a tiny uncompressed thumbnail. EXIF metadata lives in a separate segment of the same file, which is why a camera photo can be a valid JFIF file and still carry orientation, capture settings and GPS data.
What people get wrong about jfif
Each one is a real failure mode, not a style preference.
Treating .jfif as a corrupt or suspicious file, when it is a plain JPEG with a different extension.
Renaming the visible file name while Windows is hiding extensions, so the file is still .jfif underneath.
Questions people ask
JFIF, answered
The follow-up questions people search for once they have the definition.
Is .jfif the same as .jpg?
Yes, in every way that matters. Both hold JPEG-compressed data in the standard interchange wrapper. The extension is only a label the operating system uses to pick which program opens the file, and JPEG decoders read the content regardless of what it is called.
Can I just rename a .jfif file to .jpg?
Yes, and it is the best fix. Renaming changes nothing inside the file, so there is no recompression and no quality loss. If the extension does not appear when you rename, switch on file name extensions in File Explorer first.
Why does Chrome save .jfif on Windows but .jpg on a Mac?
Because the extension comes from the operating system rather than the browser. Windows maps the image/jpeg media type to .jfif in its own table and the browser follows that when a download has no filename of its own. macOS maps the same type to .jpg.
Will a website accept a .jfif upload?
Often, but not always. Sites that inspect the file content accept it, because it is a valid JPEG. Sites that filter by extension may refuse it. Renaming to .jpg before uploading sidesteps the question.
Same cluster
More from the glossary
Neighbouring entries, so every term in the set is one hop from every other.
Interpolation
Interpolation is how software works out pixel values at positions that did not exist before, which is what happens whenever you resize, rotate or warp an image.
Layer
A layer is one image stacked on top of others in an editing document, like a sheet of glass in a pile.
Inpainting
Inpainting fills a selected region of a photo with content that matches its surroundings, so whatever was there looks as though it never existed.
From the studio
Tools that do this
Each one runs on your own device, so the photo stays where it is.
Sources
Where the facts on this page come from. Every link opens the specification, standard or documentation the claim was read at.
Keep reading
Elsewhere on Photomop
Platform image rules
Image size, file type and background rules for 22 selling platforms, each one sourced.
Read itConvert image
JPG, PNG, WebP and AVIF, with an honest answer about HEIC and alpha.
Read itAll the tools
The whole toolbox in three families, with what each one needs before it can run.
Read itOn-device privacy
The pipeline in five steps, what leaves your device, and how to check it yourself.
Read it
Now do it to a photo
Photomop is a photo studio that runs on your own device. Resize, crop, compress, convert, batch edit, remove a background and change one all work in the browser tab you are reading this in, at full resolution and with no watermark. The on-device page shows you how to check that the photo stays put.