MIME Type Syntax Checker

Identify valid MIME types and media extensions to ensure upload rules reject dangerous formats.

How It Works

  1. Enter a file extension (e.g. .json, .pdf, .wasm) or MIME content-type string (e.g. application/json).
  2. The tool searches the IANA Media Types registry database.
  3. Matches output official MIME types, associated extensions, encoding standards, and security implications.

Primary Use Cases

Common Security Pitfalls

Frequently Asked Questions

What is MIME type sniffing?
MIME sniffing is when a browser ignores the declared Content-Type header and inspects the file body bytes, which can lead to XSS attacks if user-uploaded images contain HTML/JS.
How do you prevent MIME sniffing attacks?
Serve the HTTP response header 'X-Content-Type-Options: nosniff' on all responses.

References & Standards