The name is a label. The bytes are the fact.
Every format begins with a recognisable signature: a PNG starts with the bytes 89 50 4E 47, a PDF with %PDF-, a ZIP with PK. Applications read those, not the extension. This page reads them too, and then reports the metadata the format carries, which is usually more than people expect.
By type
| Type | What comes back |
|---|---|
| Photos | Dimensions, GPS coordinates, the moment it was taken, the camera and lens, the editing software, copyright fields |
| PDFs | Version, roughly how many pages, title and author, the producing software, whether it is encrypted, whether it contains JavaScript or a form |
| ZIPs and Office files | Every path inside, without extracting. Office documents are ZIPs, so a .docx is identified by what is in it |
| Text, CSV, JSON | Byte order mark, and whether line endings are Windows, Unix or an unhappy mixture |
| Anything | Real type against claimed type, size, and when it was last changed |
Four times this is the tool you want
- A site says "unsupported file type" about a file with the right extension. Sometimes the file is not what its name says. More on that error.
- Before you send a photo to a stranger. Check what is in it, then strip it.
- An attachment you were not expecting. It will not tell you a file is safe, but a PDF that contains an automatic action, or a document that is really an archive, is worth knowing about before you open it.
- A file you cannot open. Find out what it really is, then pick the tool: HEIC, PNG, PDF, or something else entirely.
What it is not
It is not a virus scanner. It reads structure and metadata; it does not analyse behaviour, and it has no database of known threats. A file can be exactly what it claims and still be hostile.
Page counts on a PDF are approximate. They are counted by pattern rather than by fully parsing the document, which is fast and occasionally off by one on unusual files. Where an exact answer matters, the splitter parses properly.
Some formats hold almost nothing worth reporting, and the output for those is short.