MIME Type Lookup
API & Web
Look up file extensions and common MIME types.
Parameters
Input
Output
Auto-calculate
0 characters · 0 bytesUse cases
When to use MIME Type Lookup
Look up file extensions and common MIME types.
1Find the Content-Type for an upload endpoint
2Check which extensions commonly use a MIME type
3Review a file type before adding response headers
4Parse URLs, run XPath queries, and inspect HTTP status codes
5Build minimal reproducible HTTP requests for frontend/backend debugging
6Review error codes and API compatibility before release
Guidance
Get reliable results
- 1Use the full MIME type when matching
- 2Do not trust client-provided Content-Type for security decisions
- 3Validate uploaded file contents on the server
The lookup covers common web and office formats; it cannot inspect the actual bytes or guarantee how a client will interpret a file.