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.Results
| File name | Detected content type | Extension | Match | Confidence |
|---|
Identify a file even when its extension is missing
Steps
- Choose or drop files and allow the local detection model to initialize.
- Read the predicted type, confidence and extension match result.
- 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.
More work, right in your browser
Free. No account. Your files stay on your device.
File type detector
Read file contents to identify real formats and disguised extensions.
Image compressor
Smaller images. Your privacy intact. Five professional engines, running on your device.
Image format converter
Convert images on your device. No uploads, with optional compression.
Image to SVG
Trace images into scalable SVGs. No uploads. Everything happens in your browser.
Video compressor
Fit videos to a size limit, convert MP4 or WebM, and resize 4K to 1080p. Your video stays on this 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.