Identify Your Files: MIME Type Lookup
Ensure your web servers and applications handle files correctly by serving them with the proper MIME type.
What is this tool?
The MIME Type Lookup tool is a search utility that maps file extensions (like .pdf or .json) to their official Multipurpose Internet Mail Extensions (MIME) type (like application/pdf or application/json).
Step-by-Step Guide
- Enter Extension: Type the file extension (e.g.,
csv) in the search bar. - Search: The tool instantly queries its database.
- Copy MIME Type: Copy the correct MIME type to use in your headers or code.
Practical Use Cases
- Web Server Configuration: Setup Nginx or Apache to serve custom file types correctly.
- API Development: Ensure REST APIs set the correct
Content-Typeheaders for downloads. - HTML Forms: Properly configure the
acceptattribute on file upload inputs.
FAQ
How up-to-date is the MIME type database? Our database is regularly synced with the official IANA registry to ensure accuracy.
Can I search by MIME type to find the extension? Yes! The tool supports reverse lookup, so you can paste ‘image/webp’ to find the ‘.webp’ extension.