Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

MIME Type Lookup

extension, file name or MIME

  • Free
  • Nothing stored
  • No account needed

FreeToolr looks up MIME types in your browser and shows MIME, extensions, a short description, and the HTTP Content-Type header. For example, .js maps to text/javascript. The database contains about 130 common types.

MIME type
image/webp
File extensions
.webp
What it is
WebP image
HTTP header
Content-Type: image/webp
Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

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

  1. 1Type a file extension, filename or a MIME string into the single input.
  2. 2Read the instant result: MIME type, related extensions, a short description, and the HTTP header.
  3. 3Copy the MIME or the ready Content-Type header for pasting into server config.
  4. 4Open the full list link to browse all about 130 common types.
  5. 5Use the share link to reopen the page with your input saved in the URL.
Advertisement

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 numbers

Source: 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.
Advertisement

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.

Advertisement
Advertisement