Start a project

Tool 284 of 425 · HTTP

MIME Type Lookup

Maps file extensions to MIME types and back, and gives the nginx, Apache and headers lines.

MIME Type Lookup

Your input

Result

ExtensionMIME typeCompressNote
Server config

    01

    What it does

    Maps file extensions to MIME types and back, and gives the nginx, Apache and headers lines.

    • 120+ common types
    • Search by extension or MIME
    • Whether to gzip or Brotli
    • nginx, Apache and _headers snippets

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    Matches and server config, with a Copy and a Download button on every result.

    • MIME types
    • Content-Type
    • Web servers

    Why it matters

    The wrong Content-Type stops scripts running, fonts loading and downloads opening, especially for newer formats like AVIF and WASM.

    Search and copy the server line.

    How to use it

    1. Type or paste your input; the example shows the format.
    2. Press Look up. Results also update as you type.
    3. Read the summary line, then the table, notes or output below it.
    4. Copy or download what you need. Nothing leaves this page.

    FAQ

    text/javascript or application/javascript?

    text/javascript is the current standard (RFC 9239).

    Should I compress images?

    No. JPEG, PNG, WebP and AVIF are already compressed.

    Is my input uploaded?

    No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

    Can I rely on the result?

    It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk