MIME Types — File Extension to MIME Type Lookup & Converter
Free MIME type lookup. Convert file extensions to MIME types and MIME types to file extensions instantly. Filterable reference table of 965 MIME types for we...
To find a MIME type, pick a file extension in File extension to mime type, or pick a MIME type in Mime type to extension to see its extensions; a full reference table is below.
Last updated:
MIME Types — File Extension to MIME Type Lookup & Converter. Free MIME type lookup. Convert file extensions to MIME types and MIME types to file extensions instantly. Filterable reference table of 965 MIME types for web developers.
MIME Types is a free developer reference tool for looking up Content-Type values in both directions. Select a MIME type to see which file extensions it covers, or select a file extension to find its official MIME type string.
The reference table below lists every MIME type in the mime-db database that has a file extension, and a filter box narrows it down instantly. What is a MIME type?
A MIME type (Multipurpose Internet Mail Extensions type) is a label that tells a browser or server what kind of data is in a file or HTTP response.
It has two parts separated by a slash: the type (text, image, audio, video, application, multipart) and the subtype (html, json, mp4, pdf, etc.).
HTTP servers send a Content-Type header containing the MIME type with every response, and browsers use it to decide how to display or handle the file.
Common MIME types The most frequently used MIME types include text/html (web pages), text/css (stylesheets), application/javascript (scripts), application/json (API responses), image/jpeg and image/png (images), image/webp (modern image format), application/pdf (documents), video/mp4 (video), and audio/mpeg (audio).
Setting the wrong type for any of these causes browsers to mishandle the response.
How to use this tool Use the Mime type to extension lookup to find which extensions share a given MIME type — useful when you need to decide which file formats to accept in an upload form.
Use the File extension to mime type lookup to find the Content-Type header value your server should send for a specific file type.
The reference table at the bottom of the page lists 965 MIME types; type part of a MIME type, such as font/, or an extension starting with a dot, such as .md, in the filter box above it to show only the matching rows.
Related tools After finding your MIME type, use the HTTP Headers Parser to verify what Content-Type a live server is actually returning.
The Base64 File Converter encodes files into inline data URIs that embed the MIME type in the URL, and HTTP Status Codes explains the response codes that accompany Content-Type headers.
Frequently asked questions
How do I find the MIME type of a file extension?
In the File extension to mime type card, open the select and type the extension, for example pdf or webp. The matching MIME type, such as application/pdf, appears below it, ready to use as a Content-Type header value.
How do I see which extensions belong to a MIME type?
Use the Mime type to extension card: search for a type such as image/jpeg and the tool lists every associated extension, in this case .jpeg, .jpg and .jpe. The table at the bottom lists all 965 MIME types with their extensions; type in its filter box, for example image/ or .jpg, to show only matching rows.
Where does this MIME type list come from?
The data comes from the mime-types package, which is based on mime-db, a compilation of the IANA media type registry plus types used by Apache and nginx. It covers about 1,180 file extensions and 965 MIME types that have at least one extension.
What is the MIME type for JavaScript, JSON or Word files?
In this list .js and .mjs map to application/javascript, .json to application/json, .docx to application/vnd.openxmlformats-officedocument.wordprocessingml.document and .mp3 to audio/mpeg. Note that RFC 9239 now recommends text/javascript for JavaScript; browsers accept both.
What is a MIME type?
A MIME type, or media type, is a label in the form type/subtype, such as text/html or image/png, that tells browsers and servers what kind of data a file or HTTP response contains. Servers send it in the Content-Type header, and a wrong value can make files download instead of display.
Does the lookup work offline?
Yes. The whole MIME database ships with the page, so every lookup runs in your browser without any server call.
How to use this online tool
MIME Types — File Extension to MIME Type Lookup & Converter is designed for fast browser workflows when you need to format, validate, convert, decode, encode, generate, or inspect data without opening a heavy desktop app. Start with the input field or visible options, review the result, then copy or download the output for the next step.
Private processing in your browser
MIME Types — File Extension to MIME Type Lookup & Converter keeps the normal processing step local in your browser. That is useful for code snippets, tokens, documents, configuration values, text samples, and other material that should not be sent to a remote service unless you explicitly choose to share it.
When this tool is useful
Use MIME Types — File Extension to MIME Type Lookup & Converter for repeatable developer tasks, technical documentation, QA checks, quick conversions, debugging, content cleanup, and internal team workflows. The page focuses on clear inputs, immediate feedback, and output that is easy to reuse in code, reports, tickets, emails, or notes.
Practical tips
Before copying the final result, check important details such as spacing, casing, filenames, encoding, token structure, line breaks, or output format. Small checks prevent mistakes when the result is reused in source code, API requests, documentation, spreadsheets, or shared files.