MIME Type Lookup

Search ~140 MIME types by file extension, content type or description, and copy the Content-Type header.

135 matches

.pdf application/pdf

Adobe Portable Document Format · Content-Type: application/pdf

MIME types matching your search
Extension MIME type Description Category Copy
No uploads. Your files stay on your device.

Free forever, no sign-up, no cookies. Buy me a coffee

How it works

Type a file extension (pdf, .webp), a MIME type (application/json) or a plain description (spreadsheet) and the table filters as you type. The top match is selected automatically, so you can copy the MIME type — or a ready-to-paste Content-Type header, with charset=utf-8 added for text formats — in one click. The full table of roughly 140 common media types is bundled with the page, so the lookup works instantly and even offline: nothing is fetched from a server and nothing you type leaves your browser. Use Download CSV to save the currently filtered rows for your own docs or server config.

Frequently asked questions

What is the MIME type for a .pdf file?

A PDF is served as application/pdf. That is the only registered media type for it — application/x-pdf is a legacy variant you should not use. Search "pdf" above and press Copy MIME type to get it, or copy the full header: Content-Type: application/pdf.

How do I find the MIME type of a file extension?

Type the extension in the search box — with or without a leading dot — and the matching media type appears at the top of the table. You can also search backwards: enter a MIME type like image/webp to see which extensions use it, or a plain word like "spreadsheet" or "archive" to browse a whole family.

What is the difference between a MIME type and a Content-Type header?

The MIME type (officially, the media type) is the value, such as text/csv. The Content-Type header is the HTTP header that carries it, and for text formats it should also state the encoding: Content-Type: text/csv; charset=utf-8. The Copy Content-Type header button adds that charset automatically where it applies.

Report a bug