MIME Type & Content-Type Directory
Find MIME types by file extension or file extensions by Content-Type header.
Output will appear here
Click in the output to select all text
Related tools
HTTP Status Code Directory & Lookup
Look up HTTP response status codes (1xx, 2xx, 3xx, 4xx, 5xx) with descriptions and specs.
URL Parser & Breakdown
Deconstruct URLs into protocol, host, port, path, query parameters, and hash fragment.
SSL / X.509 Certificate Info Decoder
Decode and inspect PEM-encoded X.509 certificates (subject, issuer, validity, SANs).
User Agent String Parser & Device Detector
Parse browser User-Agent strings to extract browser name, version, OS, and device type.
Multi-Language Code Beautifier
Format and beautify HTML, CSS, JavaScript, JSON, and SQL in one interface.
This MIME type lookup tool lets you search by file extension to find its correct Content-Type header, or search by MIME type to see which extensions map to it. It's an essential content type lookup reference for backend developers configuring file upload validation, frontend developers setting response headers, and anyone building a system that needs to correctly identify file types by their MIME string rather than guessing from the extension alone. Getting the Content-Type header wrong can break file downloads, cause browsers to render content incorrectly, or fail strict API validation, so having an accurate mime type directory on hand saves a lot of trial and error. It covers common types like application/json, image/png, and text/csv, along with more obscure ones you might only encounter occasionally. Lookups run entirely in your browser with no external requests. Search by extension or MIME type below to get an instant match.
Features
- Search MIME types by file extension
- Reverse lookup: find extensions by Content-Type string
- Covers common and specialized MIME types across categories
- Instant search-as-you-type filtering
- Distinguishes between similar types (e.g. text/plain vs text/csv)
- Includes both standard and vendor-specific MIME types
- Copy-to-clipboard for quick use in code or config
Why use this mime type & content-type directory?
- Instant lookup with no external documentation search needed
- Fully private - runs entirely in your browser
- Accurate mappings based on standard IANA MIME type registrations
- Two-way search saves time versus one-directional references
- Free with unlimited lookups
Frequently asked questions
What is the MIME type for a PDF file?
The standard MIME type for PDF files is application/pdf.
What Content-Type should I use for a JSON API response?
JSON API responses should use application/json as the Content-Type header value.
What's the difference between text/plain and text/csv?
text/plain indicates generic unstructured text content, while text/csv specifically signals comma-separated tabular data that clients may parse differently.
What MIME type should I use for a .docx file?
Modern Word documents (.docx) use application/vnd.openxmlformats-officedocument.wordprocessingml.document as their MIME type.
Why does an incorrect Content-Type header cause problems?
Browsers and clients often rely on the Content-Type header to decide how to render or handle a file; an incorrect value can cause a file to download instead of display, or fail validation entirely.
What is the MIME type for SVG images?
SVG images use the MIME type image/svg+xml.
Does every file extension map to exactly one MIME type?
Not always - some extensions can map to multiple valid MIME types depending on context, so it's worth confirming against the specific standard your system expects.