# MIME Types Guide

Look up the MIME type for a file extension.

- Tool: https://ilham.dev/tools/mime-types/
- Guide URL: https://ilham.dev/guides/mime-types/
- Tool guides index: https://ilham.dev/guides/tools/
- Broader guide: HTTP and API Debugging (https://ilham.dev/guides/http-api-debugging/)

## What it does

Look up the MIME type for a file extension, or work backwards from a type to the extensions it covers.

## Use the tool

Open https://ilham.dev/tools/mime-types/, add the input the tool asks for, run it, and check the output before using it elsewhere.

## Input and output

- Input: text.
- Output: text.
- Category: Web.

## Privacy and processing
Processing happens locally in your browser. This tool does not upload the input to ilham.dev.

## Questions

### Why does one extension have two types?

Because of history. .js is text/javascript today, but application/javascript still appears in older configurations, and servers generally accept both.