Image Format Checker
Image format checker
Drop a file to find out what image format it really is. The tool reads the file's own bytes, not its extension, to identify the true type and flag a renamed or wrong suffix. It runs in your browser, so nothing is uploaded.
- Files never leave your device
- Runs in your browser
- Free, no signup
How it works
- 1
Drop a file
Add any image. Only its first bytes are read, in your browser, to identify the format. There is no upload.
- 2
Read the true format
See what the file actually is, decided by its signature, alongside its extension and the browser's reported type.
- 3
Spot a mismatch
If the bytes and the extension disagree, the tool says so, which usually explains why a file would not open or upload.
What the format checker shows
Reads bytes, not the name
The format is identified from the file's signature, so a renamed file cannot fool it. A JPEG called .png is reported as JPEG.
Explains upload failures
A wrong extension is a common reason a file is rejected or will not open. Seeing the real type next to the name pinpoints the cause.
Instant and private
Only the first few bytes are read, in your browser. Nothing is uploaded, so the check is immediate and stays on your device.
Where this helps
A file that will not open
When an image refuses to open, check whether its real format matches its name. A renamed file is a frequent and easily fixed cause.
An upload that keeps failing
A portal expecting a real PNG may reject a renamed JPEG. Confirm the true format before you keep retrying the upload.
Sorting out a .jfif download
A .jfif file is just a JPEG. The checker confirms it, so you know whether a rename is enough or a real conversion is needed.
Verifying a batch of files
When images come from mixed sources, check that each one's contents match its extension before you process the set.
Tips that help
- 1
Renaming is not converting
Changing the extension relabels a file but leaves its bytes unchanged. To truly change the format, re-encode it with a converter.
- 2
Trust the bytes
When the extension and the real format disagree, the bytes are the truth. The signature is part of the file and does not change on rename.
- 3
.jfif is just JPEG
A .jfif download is a normal JPEG. If a form is fussy about the name, rename it to .jpg, but the data is already correct.
- 4
Match the format to the requirement
If a system genuinely needs a different format, convert it. Confirming the real type first tells you whether a rename or a conversion is the fix.
What format is this image, really? Reading the bytes, not the extension
The extension on an image file is a label, not proof. Files get renamed, downloaded with the wrong suffix, or saved by apps that disagree about what to call them, and the result is an image whose name and contents do not match. That mismatch is behind a surprising number of 'this file won't open' and 'the upload was rejected' problems. This guide explains how a file's true format is actually determined and what to do when the label is wrong.
The extension is a label anyone can change
An extension like .jpg or .png is just text at the end of the filename. Renaming a file changes that text but touches none of the data inside, so a JPEG renamed to photo.png is still a JPEG byte for byte; only its label lies.

This happens more than people expect. A browser saves an image with the wrong suffix, a chat app strips the real extension, or someone renames a file hoping to change its type. In every case the name now disagrees with the contents.
Software, on the other hand, reads the contents. That is why a renamed file so often fails to open or upload: the program looks at the bytes, sees a format it was not expecting under that name, and refuses it.
How the true format is read
Every image format begins with a signature, a short fixed sequence of bytes at the very start of the file, sometimes called a magic number. PNG starts with one specific pattern, JPEG with another, GIF spells out 'GIF', and so on. These signatures are part of the format and do not change when a file is renamed.
This checker reads those first bytes and matches them against the known signatures to report what the file actually is. Because it never relies on the extension, a renamed file cannot fool it: a JPEG called .png is reported as JPEG.
Read moreRead less
It then shows the extension and the browser's own guess alongside the real format, so you can see exactly where the disagreement is and decide what to do about it.
Fixing a mismatch the right way
If the real format and the extension disagree, renaming the file to match is sometimes enough, for instance when a genuine JPEG is wrongly labelled .png and the receiving app only checks the name. The .jfif case is exactly this: it is already a JPEG, so renaming to .jpg is harmless.
But renaming never converts. If you actually need the file in a different format, because a system requires a true PNG or a real WebP, you must re-encode it with a converter, which rewrites the data into that format. Changing the suffix alone leaves the bytes untouched and the problem unsolved.
So the workflow is simple: check the real format here, and if the file just needs the right label, rename it; if it needs to genuinely become another format, send it through a format converter instead.
Frequently asked questions
Honest answers to what people ask before using this tool.
Further reading
Independent references if you want to go deeper on the formats and tradeoffs.
Related tools
- Convert JFIF to JPG
Fix a .jfif download that is already a JPEG.
- Image to JPG
Genuinely convert any format into a JPG.
- PNG transparency checker
Check whether an image is really transparent.
- Image resolution checker
Read pixels, megapixels and aspect ratio.
- View EXIF data
Read camera settings and metadata from a photo.
- Image to Base64
Encode the file as a data URI for CSS and HTML.
- Base64 to image
Decode a Base64 string back into a file.