# MIME type reference — no upload

> Look up MIME types by file extension (and vice versa) with a searchable reference. Runs in your browser, nothing fetched.

Find the MIME type for a file extension — or the extensions for a MIME type — with a searchable, built-in reference. Nothing is fetched.

The Content-Type header — a MIME type — tells clients how to interpret bytes, and getting it wrong causes files to download instead of display or scripts to be blocked. This reference maps extensions to types both ways.

Use it alongside the HTTP header and status references when building an API or configuring a server.

## How to

1. **Search.** Type an extension like .json or a MIME type.
2. **Read the match.** See the corresponding MIME type or extensions.
3. **Use it.** Set the right Content-Type in your responses.

## FAQ

### What MIME type should I serve for JSON?

application/json. Serving the correct MIME type matters because browsers and clients decide how to handle a response based on it.

### Why is my file downloading instead of displaying?

Often the wrong or missing Content-Type. Serving the correct MIME type usually fixes a file that downloads when it should render inline.

### Is anything fetched?

No. The mapping is built in, so it works offline.


## Related tools

- [HTTP headers](https://www.safepaper.app/dev/http-headers)
- [HTTP status codes](https://www.safepaper.app/dev/http-status-codes)
- [Base64](https://www.safepaper.app/dev/base64)
- [Hex / ASCII / binary](https://www.safepaper.app/dev/hex-ascii)

---

Canonical HTML: https://www.safepaper.app/dev/mime-types
Markdown: https://www.safepaper.app/dev/mime-types.md

There is no upload endpoint — your files are processed in this browser tab. Open your network tab and check.
