About MIME Type Lookup
This tool helps you find the correct MIME type for a file extension, filename, or full MIME string. Developers, sysadmins and content authors use it to build headers, configure servers, or debug wrong Content-Type responses. The lookup runs entirely in your browser and sends no files to a server. The tool matches inputs against a list of about 130 common file types, using IANA registered media types plus the values browsers and servers actually use, for example text/javascript for .js. If a file type has no specific mapping it is usually sent as application/octet-stream. Results update instantly as you type and you can copy the MIME or share a link that reopens the page with your input. The tool also shows a full list so you can scan mappings at a glance.
How to use it
- 1Type a file extension, filename or a MIME string into the single input.
- 2Read the instant result: MIME type, related extensions, a short description, and the HTTP header.
- 3Copy the MIME or the ready Content-Type header for pasting into server config.
- 4Open the full list link to browse all about 130 common types.
- 5Use the share link to reopen the page with your input saved in the URL.
Worked example
Input: .js. Result shown: MIME type: text/javascript. File extensions: .js. What it is: JavaScript source code. HTTP header: Content-Type: text/javascript
How it works
Looks the value up in a list of about 130 common file types, using the registered IANA media types and the values browsers and servers use (for example text/javascript for .js, as the HTML standard recommends)Files with no specific type are usually sent as application/octet-streamResults update instantly as the visitor types; there is no calculate buttonVisitors can copy the result and share a link that reopens with their numbersSource: IANA Media TypesHTTP Content-Type (RFC 7231)WHATWG MIME Sniffing Standard. Last checked 7 November 2026.
What it is good for
- Instant browser lookup with no file upload or server call.
- Shows a ready Content-Type header string you can copy.
- Includes a full list of about 130 common mappings for quick scanning.
- This tool does not inspect file bytes or perform content sniffing.
- The list covers about 130 common types and is not an exhaustive registry.
Questions people ask
What inputs can I use?
You can enter a file extension, a full filename, or a MIME string. The tool matches your input against the internal list and returns the mapping instantly.
Does the tool upload my files?
No. The lookup runs in your browser only and does not upload files. You can copy results or share a link, but no file data is sent to FreeToolr.
Which MIME does .js return?
The tool returns text/javascript for .js, which matches common browser and HTML guidance. Some servers may still use application/javascript in certain configs.
What should I use when I do not know the type?
When unsure, servers commonly send application/octet-stream as a generic fallback. That header signals arbitrary binary data and often prompts downloads in browsers.
Is the list the official IANA registry?
The tool uses IANA registered types plus values browsers and servers commonly use. For the authoritative registry consult IANA at iana.org.
Can one extension map to multiple MIME types?
Yes. Some extensions map to different MIME types by context. The tool shows the common mapping used by browsers and servers for clarity.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.