Development and data

How to look up a MIME type for a file extension

A media type helps describe content in contexts such as HTTP responses. A filename extension is only a clue.

Before you start

Text is processed in the browser. Consider the content before using it and read the privacy policy.

Privacy

How to use it

  1. Enter foto.PNG in the MIME type lookup.

  2. Look it up and check image/png.

  3. Try file.zzz: the tool reports that the extension is not in its list.

MIME Type Lookup

Worked example

The lookup ignores case in the name and uses the final suffix. The PNG result is an association in the local catalog.

Result: foto.PNG → image/png.

IANA Media Types

Limits and checks

The list is partial and includes unregistered types; absence from it does not prove a type does not exist. The tool does not open the file, verify its bytes or determine the Content-Type sent by a server.

Next step

To interpret other parts of a response, see the HTTP status guide.

How to understand common HTTP responses in an integration test
Back to the blog