Identify the real file type

Check whether a file’s contents match its extension

Drop files here

Select multiple files at once. Files stay in your browser and are never uploaded.

Choose a file first.

Files are never uploaded

Your files stay on your device

Works offline

Detect files after the first complete load

200+ file types

Common and specialist formats

About 99% average accuracy on the official test set

Source: the project’s official test set. Results vary by file.

Identify a file even when its extension is missing

Steps

  1. Choose or drop files and allow the local detection model to initialize.
  2. Read the predicted type, confidence and extension match result.
  3. Choose software that supports the format and keep the original. Do not open an untrusted file based only on its predicted type.

Before you start

  • Detection samples up to 4 KiB from each end of a file and predicts a content type.
  • Encrypted, damaged, compound or unsupported files can be misclassified.
  • Confidence is not a safety rating, and an extension mismatch does not prove malware.

A reproducible example

Try a copy of a known PNG with its extension removed. Compare the prediction with the known source instead of treating the test as a security check.

ToolkitRack

More work, right in your browser

Free. No account. Your files stay on your device.

Why check the real file type?

A file extension is easy to change and may not describe the file’s contents.

This tool analyzes file contents rather than relying only on the name. Detection runs locally in your browser; files are not sent to a server.

Frequently asked questions

1Are my files uploaded to a server?

No. File contents are processed only in your browser and are never sent to a server.

2Can I use it offline?

Yes. After you open the site online once and the page and model finish loading, detection works without a connection.

3How are file types identified?

The tool uses the lightweight Magika AI model to analyze file contents and predict a content type.

4Does a result mean a file is safe?

No. File type detection is not a virus or malware scan. Investigate suspicious files further.