File Inspector

Drop any file and see what it is from the inside: the type its bytes reveal, the signature that gives it away, its MIME type, size, last-modified date and SHA-256 checksum, plus the first 256 bytes in hex. It also tells you when the name and the contents disagree, such as a PNG renamed to .jpg or a download that is really a ZIP. Everything happens in your browser, so the file stays on your device.

What do you want to do?

Drop any file to inspect it

Any type, any size. Nothing is uploaded.

Maximum file size: 16384MB

Reading files runs in your browser. Your files never leave this device.

Features

  • Real file type from the bytes, with the matching signature and its offset

  • MIME type and the usual extension for that type

  • A clear warning when the extension does not match the contents

  • Size in bytes, last-modified date and the type your browser reports

  • SHA-256 checksum, worked out automatically for files up to 200 MB and on request above that

  • First 256 bytes as a hex and ASCII dump

  • Recognises about 80 formats: images, video, audio, Office files, e-books, archives, fonts, programs, databases and text

  • Any size of file; only the first 64 KB is read to identify it

  • Free, no signup. Nothing is uploaded. The file is read by your own browser, and the page keeps no copy once you close it.

When a file inspector helps

A file that will not open

An attachment called invoice.pdf that no PDF reader accepts may be a ZIP, an HTML error page or an empty download. The inspector says which, so you know whether to ask for it again.

Checking before an upload

Portals that ask for JPG or PDF reject files whose contents do not match. See whether a photo saved from WhatsApp or a phone is really JPEG, HEIC or WebP before you submit it.

Verifying a download

Compare the SHA-256 with the checksum the publisher lists to confirm the file arrived complete and unchanged.

A quick look for developers

See the header bytes, the MIME type to send and the format a library will detect, without opening a terminal.

Reading the results

Detected type and signature

Most formats begin with a fixed run of bytes, often called magic bytes. PNG files start with 89 50 4E 47, PDFs with %PDF-, ZIP files with PK. The inspector matches the start of your file against a table of these signatures, and also looks inside containers: a ZIP that holds word/document.xml is a Word document, and an MP4-family file with the heic brand is an iPhone photo.

Text files have no signature, so for them the inspector checks whether the bytes are valid UTF-8 and then looks at how the text begins to tell JSON, XML, SVG and HTML from plain text.

Name check

  • Extension matches: the name fits the contents.
  • Name says .x, contents say .y: the file was renamed or saved with the wrong extension. Most apps go by the extension, which is why such files fail to open.
  • Guessed from the name only: no signature was found, so the type comes from the extension. Many formats, such as plain CSV, look like this.

Checksum

SHA-256 turns the whole file into a 64-character fingerprint. Change one byte and the fingerprint changes completely, so matching fingerprints mean identical files. Calculating it reads the whole file into memory; for files over 200 MB the inspector asks before it starts.

Related tools

File Inspector - FAQ