Skip to content
hateitall

File Type Detector

Identify unknown or renamed files from their contents and spot any whose extension does not match.

Processed locallyIn: Any files, FoldersOut: Report, CSV

Loading tool…

How to use file type detector

  1. Drop one file, many files or a folder.

  2. Read the detected format, MIME type and usual extension for each file.

  3. Turn on the filter to see only files whose extension does not fit, or that are unknown.

  4. Download the results as CSV if you need a record.

What this tool does

  • Recognises over 100 formats from more than 130 signature rules, including images, audio, video, documents, archives, fonts, programs and databases.
  • Tells ZIP-based formats apart (DOCX, XLSX, PPTX, EPUB, JAR, APK, OpenDocument) and MP4 relatives (MOV, HEIC, AVIF, M4A, 3GP).
  • Detects text formats such as JSON, XML, HTML, SVG, CSV and subtitles, and text encodings with a byte order mark.
  • Shows the exact bytes that matched, so you can check the decision yourself.

How the result is verified

Each result lists the signature bytes it matched and where; you can confirm them in the Hex Viewer. Test with a file you know, such as a PDF, which must start with %PDF-.

Frequently asked questions

What are magic bytes?

Most formats begin with a fixed byte pattern that marks the type, such as 89 50 4E 47 for PNG or 25 50 44 46 (%PDF) for PDF. Reading those bytes tells you the real type whatever the file is called.

A file says .jpg but shows as WebP. Is that a problem?

Usually not: many sites serve WebP images under a .jpg name. Renaming it to .webp helps some programs open it. Be more careful when a document or image turns out to be a program.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Real type, SHA-256, entropy, text and media details for any file

Any file→ ReportModerate on device

Raw bytes of any file in hex and ASCII, with search and a data inspector

Any file→ Hex viewLight on device

Count files by type, find naming problems and export a folder tree

Folders→ CSVLight on device

Browse a ZIP, preview entries and extract the files you pick

ZIP · JAR · EPUB +→ Extracted filesModerate on device