File inspector: real file type, size, SHA-256 hash and hex view
Drop in any file to see its name, size, the type found from its first bytes, its SHA-256 and SHA-1 hashes, and a hex view you can page through.
- Free, no sign-up
- Your files and data stay on your device
- No watermarks or limits
0 bytes uploaded. Everything happens in this tab.
How to use it
- Choose a file with “Choose a file to inspect”, or drop it on the box.
- Read the table: Size, Type reported by the browser, Detected from file contents, Looks like (text or binary), Last modified, and for text files the Line endings and the number of lines.
- Copy the SHA-256 or SHA-1 hash to compare it with a published one, and use Previous and Next to move through the Hex view 256 bytes at a time.
Example
A 14-byte text file containing Hello, World! and one line break:
Detected from file contents: Plain text or code Looks like: Text Line endings: LF 1 Lines: 1 Hex view: 00000000 48 65 6c 6c 6f 2c 20 57 6f 72 6c 64 21 0a Hello, World!. SHA-256: c98c24b677eff44860afea6f493bbaec5bb1c4cbb209c6fc2bbb47f66ff2ad31
About this tool
A file name is only a label. Many formats begin with a few fixed bytes, called a signature or magic number: a PNG starts with 89 50 4E 47, a PDF with the text %PDF-, a ZIP with PK. The inspector reads the start of your file and compares it with a list of common signatures covering images, audio, video, documents, archives, executables and databases. It shows this next to the type your browser reports from the name, so you can see when a file called photo.jpg is actually something else, or when a file has no extension at all.
It also helps in everyday cases. The hashes let you check a download against the value published by its author: if the SHA-256 matches, the bytes are the same. For text files you see whether line endings are CRLF, LF or CR, whether the file begins with a byte order mark, and how many lines it has (counted in the first 2 MB). The hex view shows each 16-byte row with its offset and the readable characters on the right.
Please treat the verdict as a hint. Recognizing a type by its signature is a heuristic, not proof that a file is safe: a file can start like an image and still hide something else, and ZIP-based formats such as DOCX, XLSX, PPTX and APK all look like ZIP at this level. If nothing matches, the tool says Plain text or code or Unknown binary format. Hashes are calculated for files up to 300 MB, and larger ones are skipped. SHA-1 is included for comparing with older checksums, but prefer SHA-256 when you can. Everything is computed locally.
Frequently asked questions
Does this tell me whether a file is safe or a virus?
No. It only reads the type from the first bytes and shows hashes. An unexpected type is a reason to be careful, but a matching type does not prove that the file is harmless. Use security software for that.
Why is “Type reported by the browser” different from the detected type?
The browser guesses from the file extension, while the inspector reads the contents. If they disagree, the file may be renamed, damaged or mislabeled.
How do I verify a download with the hash?
Open the file here, copy the SHA-256 value and compare it with the one on the official download page. They must be identical character by character.
Why are there no hashes for my huge file?
Hashes are skipped for files over 300 MB, because the whole file would have to be loaded into memory. The other information is still shown.
Is my file uploaded?
No. The file is read inside your browser, and nothing leaves your device.