MIME Type Lookup

Look up the MIME type for a file extension — or the extensions for a MIME.

Search 150+ common file extensions and their MIME types. Find the type for a given extension, or work backwards from a MIME like image/png to see which extensions use it. Helpful when configuring servers, content negotiation and file uploads.

Common use cases

  • Set the correct Content-Type header when serving uploaded files
  • Configure Nginx / Apache mime.types entries for new file formats
  • Validate that a file's extension matches its declared MIME type
  • Build a file-upload allowlist with the right MIME values

Frequently asked questions

Is the list comprehensive?
It covers ~150 of the most commonly used types. For exhaustive coverage, see the IANA media types registry.
Why are some file types listed as application/octet-stream?
That's the generic 'arbitrary binary data' type used when no more-specific type applies — common for executables and unknown files.
Does the lookup detect a file's actual type?
No — it maps extensions to their conventional MIME. Real type detection requires reading magic bytes, which the browser sandbox restricts.

Related tools