MIME Type Lookup
Look up MIME types for file extensions.
Extensions: .txt
Plain text file
Extensions: .html, .htm
HTML document
Extensions: .css
CSS stylesheet
Extensions: .js, .mjs
JavaScript code
Extensions: .xml
XML document
Extensions: .csv
Comma-separated values
Extensions: .md, .markdown
Markdown document
Extensions: .json
JSON data
Extensions: .jsonld
JSON-LD linked data
Extensions: .xml
XML data
Extensions: .yaml, .yml
YAML configuration
Extensions: .jpg, .jpeg
JPEG image
MIME Type Quick Reference:
- application/json: JSON data (use in APIs)
- text/html: HTML documents
- text/css: CSS stylesheets
- image/png: PNG images
- application/pdf: PDF documents
- video/mp4: MP4 videos
Search by MIME type, file extension, or content type to find the right MIME type
About MIME Type Lookup
MIME Type Lookup maps file extensions to their official IANA media types (e.g., .pdf → application/pdf, .png → image/png) and vice versa. This is useful when setting Content-Type headers in APIs, configuring web server mime mappings, or determining how a browser will handle a downloaded file. You can search by extension or by MIME type.
Related Tools
Frequently Asked Questions
Is MIME Type Lookup free?
Yes, completely free. No signup, no account, no usage limits. Use it as much as you need.
Is my data secure?
All processing happens directly in your browser using JavaScript. Your data is never sent to any server, stored, or shared. It stays entirely on your device.
What MIME type should I use for a JSON API response?
Use application/json. Some older APIs use text/plain or text/javascript, but application/json is the correct and widely supported type for JSON responses.
What is the difference between application/octet-stream and a specific MIME type?
application/octet-stream is a generic binary type that tells the browser to treat the file as a download without trying to display it. Using a specific type (like image/png) allows the browser to render or handle the file appropriately.