About File Inspector
Drop any file to see what it actually contains. The tool reads the signature bytes at the start of the file, names the format (about 90 are recognised, from PNG and PDF to SQLite, ELF and Word documents), and tells you whether the extension agrees. It then lists the size, the last-modified date the browser reports, details stored inside the file such as image dimensions, audio sample rate, ZIP entry count or the architecture of a program, and the first 64 bytes in hex.
Only the first 256 KB and the last 64 KB of the file are read, on this device, so even a file of many gigabytes is inspected at once and nothing is uploaded.
How it works
- The first 256 KB and the last 64 KB of the file are read with slices, so its size makes no difference to the speed.
- The leading bytes are compared with the published signatures of each format. ZIP files are told apart (Word, Excel, EPUB, JAR and others) by the names in their directory; MP4, HEIC and AVIF by their brand.
- For common formats the header is decoded further: dimensions of images, channels and sample rate of WAV and FLAC audio, entry count of ZIP archives, version of PDF files, architecture of programs.
- If no signature matches, the bytes are checked for valid UTF-8 text, and for JSON, XML, SVG or HTML in it.
Questions
Why does the tool say my file is a ZIP when it is a Word document?
Modern Office files, EPUB books, JAR and APK packages are all ZIP archives inside. The tool looks for the names that each of them stores, and when it cannot see them it reports the container and marks the extension as the same family rather than as wrong.
Which dates can it show?
Browsers give a web page only the last-modified date of a file, so that is the one shown. Creation dates are not available. Dates stored inside the file itself, such as the one in a gzip header, are listed under the details.
Can it be fooled?
Yes. A signature is a strong hint, not a proof: someone can write the bytes of a PNG header in front of anything. The check is good at catching renamed and mislabelled files, not at verifying that a file is complete or safe to open.
Is the file uploaded?
No. The file is read on this device, and only its first 256 KB and last 64 KB. Nothing is sent anywhere.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.