freeworktool logofreeworktool

MIME Type Lookup

Look up Content-Type MIME headers by file extension or search extensions by media type.

Loading MIME Type Lookup in your browser — 100% client-side with zero uploads.

Related developer tools

All Developer tools

Base64 Encoder & Decoder

Encode or decode UTF-8 text and convert local files into Base64 data URLs.

Developer

URL Encoder & Decoder

Percent-encode or decode URLs and inspect or edit query string parameters.

Developer

UUID Generator

Generate cryptographically random UUID v4 or time-ordered UUID v7 identifiers.

Developer

Regex Tester

Test regular expressions with live match highlights, capture groups, and replacements.

Developer

JWT Decoder

Decode JSON Web Token headers, payloads, and expiration timestamps safely in your browser.

Developer

Timestamp Converter

Convert Unix epoch seconds or milliseconds to UTC, local time, ISO 8601, and relative dates.

Developer

About MIME Type Lookup

Look up official IANA and web MIME Content-Type values from file extensions—or find matching file extensions from a media type—with one-click MIME and Content-Type header copy.

How to use MIME Type Lookup

  1. 1

    Enter a file extension (such as .webp, .woff2, or .xlsx) or a MIME prefix (such as application/ or audio/).

  2. 2

    Narrow the list by category like Web & Code, Data & APIs, Documents, Images, Audio, Video, Fonts, or Archives.

  3. 3

    Click MIME to copy just the media type, or Header to copy a full Content-Type header line.

Frequently asked questions

What is the current standard MIME type for JavaScript files?

RFC 9239 standardizes text/javascript as the primary media type for JavaScript modules and scripts, superseding older application/javascript headers.

Which MIME type should I use for generic binary file downloads?

Use application/octet-stream when the exact file format is unknown or when you want browsers to treat the response as a raw binary download.

Why does serving the correct Content-Type matter for security?

Pairing an accurate Content-Type with X-Content-Type-Options: nosniff prevents browsers from guessing and executing uploaded files as HTML or scripts.