MIME Type Lookup

Find the MIME (Content-Type) for a file extension, or the extensions for a MIME type, with server config lines.

Runs instantly in your browser — results update as you type.

What is the MIME type of a WebP image?

The MIME type of WebP is image/webp. A MIME type (media type) tells browsers what kind of file a server is sending via the Content-Type header — for example text/html, image/png or application/json.

How to use the MIME Type Lookup

    Frequently asked questions

    What MIME type should JavaScript use?

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

    What is the MIME type for JSON?

    application/json.

    How do I check what my server sends?

    Use the HTTP Headers Checker and look at the Content-Type header.