MIME Type Detector
Drop a file to detect its true MIME type from the content signature, not just the extension, with the category and a preview where possible. Nothing is uploaded.
File
LocalExtension & MIME lookup
OfflineType a file extension (e.g. .webp) or a MIME type (e.g. text/csv) to look up the mapping. Useful when you don't have the file to hand.
Detected type
Preview
About MIME Type Detector
The MIME Type Detector inspects a file’s content signature to report its true MIME type, rather than trusting the extension, along with the category and a preview where possible. It is for developers verifying uploads and diagnosing files with wrong or missing extensions.
Extensions lie, and trusting them is a security and debugging hazard. Reading the actual byte signature locally reveals what a file really is, without uploading it anywhere.
Step by step
- Drop a file onto the tool.
- Its leading bytes are read to identify the format signature.
- The detected MIME type and category are shown.
- A preview appears where the type supports it.
- Use the result to confirm or correct the file’s handling.
What it offers
- Content-signature detection
- MIME type and category reporting
- Preview where supported
- File never uploaded
Where it helps
- Verifying an uploaded file matches its claimed type
- Identifying a file with a missing or wrong extension
- Debugging why a server rejects a file as the wrong type
- Confirming a download is the format you expected
Tips for best results
- Validate uploads by content signature on the server too; client-side checks can be bypassed.
- Some formats share signatures or are containers, so treat the result as the container type.
- A correct MIME type does not mean a file is safe — scan untrusted uploads separately.
Why people use it
Truth over extension
Detects the real type from the bytes.
Security aid
Spot files masquerading under a false extension.
Preview
See supported files directly.
Private
The file is inspected on your device.
Common questions
This runs entirely in your browser
No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.