# MIME Type Lookup

> Find the correct MIME type for any file extension, and vice versa.

To find a MIME type, enter a file extension such as .webp or a type such as image/webp. Sending the correct Content-Type header matters because browsers with nosniff enabled will refuse to execute or render a mislabelled file.

**URL:** https://convertto.tech/t/mime-type-lookup
**Category:** Developer Tools (https://convertto.tech/c/developer-tools)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Enter or paste your extension or mime type.
2. The result appears immediately — copy or download it.

## FAQ

### Why does the MIME type matter if the extension is right?

Because the browser trusts the Content-Type header over the extension. Serving JavaScript as text/plain means it will not execute, and serving an upload as text/html means it will — which is how file uploads become cross-site scripting.

### What is application/octet-stream?

The generic "unknown binary" type. Browsers download rather than display it, which makes it a safe default for arbitrary files but wrong for anything you want rendered inline.

## Related tools

- [HTTP Status Code Reference](https://convertto.tech/t/http-status-codes): Look up what any HTTP status code means and when to use it.
- [Content Security Policy Generator](https://convertto.tech/t/csp-generator): Build a CSP header from common presets, with each directive explained.
- [URL Parser](https://convertto.tech/t/url-parser): Break a URL into protocol, host, path, query parameters and fragment.
- [Quoted-Printable Encoder & Decoder](https://convertto.tech/t/quoted-printable): Encode and decode quoted-printable, the MIME format used in email bodies and headers.
- [URL Encoder & Decoder](https://convertto.tech/t/url-encode-decode): Percent-encode text for safe use in URLs, and decode encoded URLs back to readable text.
- [Naming Convention Converter](https://convertto.tech/t/case-detector): Convert an identifier between every common naming convention at once.
- [Cron Expression Parser](https://convertto.tech/t/cron-expression-generator): Translate a cron expression into plain English and see when it will next run.
- [Text Diff Checker](https://convertto.tech/t/diff-checker): Compare two texts and highlight exactly what was added and removed.
