MIME type lookup · Guide

How to Find a File’s MIME Type

Finding a MIME type is a single lookup. Here is how to use it both ways.

By extension or type

Enter an extension like .pdf to get application/pdf, or enter a MIME type to find the matching extension. Both directions are useful depending on what you have.

Use it for headers

Once you have the type, set it as the Content-Type so clients interpret the response correctly.

Frequently asked questions

Can I use this for production work?

Yes, for inspection, formatting and quick generation. Still review the output before committing it to production code or configuration.

Ready to try it?

Open the free browser-based MIME type lookup and apply what you just read — no sign-up, runs locally.

Open the MIME type lookup tool