Skip to content
Expensico

File Information Viewer

Find out what a file really is: detected type from its contents, size, extension mismatch warnings and SHA-256 checksum. Nothing is uploaded.

Runs in your browser. Your files are processed on your device and are never uploaded.

How to use the File Information Viewer

  1. Choose any file.
  2. See what it really is, based on its contents rather than its name.
  3. Optionally calculate a SHA-256 checksum to verify it.

Why the extension isn't enough

A file's extension is just part of its name and can be changed by anyone. Most formats start with a recognisable “magic number”: PDFs begin with %PDF-, PNGs with the bytes 89 50 4E 47, ZIP-based formats like DOCX and XLSX with PK. This tool reads those bytes — and for Office files, the structure inside the ZIP — to identify the real type.

When this is useful

  • A file won't open and you want to know why.
  • A download has a strange or missing extension.
  • An email attachment claims to be a PDF but you're suspicious.
  • You need a checksum to confirm a download — or use the hash generator for MD5 and SHA-512 too.

What the report shows

For every file you get its name and extension, the detected type and how it was detected (file signature, container structure, text content, or extension only), the type your browser guessed, the exact size in bytes, the last-modified date, whether it's text or binary, and its first 32 bytes in hexadecimal.

If the contents don't match the extension — say invoice.pdf that is really a ZIP or a Windows program — you'll see a warning. That mismatch is a common trick in phishing emails, so treat such files with care. Files of any size up to 2 GB can be checked.

Frequently asked questions

Is my file uploaded?

No. Only the first few kilobytes are read in your browser (the whole file if you ask for a checksum).

Can it detect viruses?

No. It identifies file types; it isn't an antivirus scanner.

How do I verify a checksum?

Calculate the SHA-256 here, copy it, and compare it with the checksum published by whoever provided the file. If even one character differs, the file isn't the one they published.

What if the type is “Unrecognised”?

The file doesn't start with a signature this tool knows. It may be a specialised format, an encrypted file, or a damaged download. The hex bytes shown can help you search for the format.