MIME

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

Local
Drop a file here or click to choose
Detected from the file's content signature

Extension & MIME lookup

Offline

Type 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.

Type an extension or MIME type above.

Detected type

Drop a file to detect its type.
About this tool

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.

How to use

Step by step

  1. Drop a file onto the tool.
  2. Its leading bytes are read to identify the format signature.
  3. The detected MIME type and category are shown.
  4. A preview appears where the type supports it.
  5. Use the result to confirm or correct the file’s handling.
Key features

What it offers

  • Content-signature detection
  • MIME type and category reporting
  • Preview where supported
  • File never uploaded
Common use cases

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
Best practices

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.
Benefits

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.

FAQ

Common questions

It reads the first bytes of the file — the "magic number" — and matches them against known signatures for images, audio, video, archives, and documents.
Extensions can be wrong or missing. The content signature is a more reliable indicator of the actual file type.
Images, audio, and video are previewed directly in the browser when the type is recognized.
No. Detection and preview happen entirely in your browser.
Private by design

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.

Install Toolisco Add it to your device for offline, one-tap access.