MIME Type Lookup

Find the MIME type for any file extension — or search by MIME type to find matching extensions. 300+ entries, 100% client-side.

139 results
ExtensionMIME TypeCopy
★
★
★
★
★
★
★
★
★
★
★
★
★
★
★
★
★
★
★
★
★
★

📖 Common MIME Types Reference

🔒 100% private: All lookups happen in your browser. Reference data is bundled locally. Nothing is sent to any server.

About MIME Type Lookup

A MIME type (also called media type or Content-Type) tells browsers and servers how to handle a file. For example, a .html file has MIME type text/html, a .json file has application/json, and a .png image has image/png. When servers serve files without the correct Content-Type header, browsers often refuse to render them or treat them as downloads. MIME types are governed by the IANA registry and used everywhere: HTTP, email attachments, WebSockets, and file uploads. This tool provides a searchable reference of 300+ extension ↔ MIME type mappings, grouped by category (text, image, audio, video, font, application, archive). Search by extension or MIME type and copy the value with one click.

How It Works

  1. Search by file extension (e.g., "json", "webp", ".html") to find the MIME type.
  2. Search by MIME type (e.g., "image/png") to find matching extensions.
  3. Filter by category (text, image, audio, video, font, application, archive).
  4. Click any row to copy the MIME type or extension.

✨ Key Features

  • ✓300+ file extension ↔ MIME type mappings
  • ✓Search by extension
  • ✓Search by MIME type
  • ✓Category filter (text, image, audio, video, font, application, archive)
  • ✓Show file category with icons
  • ✓Common types flagged as popular
  • ✓One-click copy for extension or MIME
  • ✓Covers IANA-registered types
  • ✓Includes modern types (WebP, WebM, AVIF, WOFF2, JSON)
  • ✓100% client-side — no data sent to any server

🎯 Common Use Cases

  • →Setting Content-Type headers in a web server
  • →Debugging "wrong file type" download errors
  • →Configuring upload restrictions in a form
  • →Preparing files for email attachments
  • →Checking the correct MIME for a CDN or nginx config
  • →Understanding what a server sent back in a response
  • →Learning the MIME type for unfamiliar extensions
  • →Teaching web fundamentals

💡 Advanced Tips & Pro Insights

  • ▸MIME types are case-insensitive but conventionally lowercase. Use "application/json", not "Application/JSON".
  • ▸For charset: append ; charset=utf-8 for text-based types (text/html; charset=utf-8, application/json; charset=utf-8).
  • ▸text/javascript vs application/javascript: both are valid. text/javascript is the modern IANA standard.
  • ▸For JSON: application/json is correct. Some older APIs used text/json, which is non-standard.
  • ▸For web fonts: WOFF2 uses font/woff2 (modern) or application/font-woff2 (older). Both work.
  • ▸text/plain is the safest fallback when the correct MIME type is unknown — browsers display it as-is without executing.

Frequently Asked Questions

Is this MIME type lookup free?▾
Yes, this MIME type lookup is completely free with no signup, email, or usage limits.
Is my data safe?▾
Yes, 100% safe. All lookups happen in your browser. Your queries are never sent to any server.
What is a MIME type?▾
A MIME type (media type) is a standard way to describe the format of a file. It has the form type/subtype, like text/html, image/png, or application/json. Browsers and servers use it to decide how to handle a file.
What is the difference between text/html and application/xhtml+xml?▾
text/html is the standard MIME type for HTML documents. application/xhtml+xml is for XHTML (HTML as XML). Modern sites use text/html even for "XHTML-like" markup.
What MIME type should I use for JavaScript?▾
text/javascript is the modern IANA standard. application/javascript is also widely accepted. Both work in every modern browser.
What MIME type is used for WebAssembly?▾
application/wasm is the standard MIME type for WebAssembly (.wasm) files. It is required by many browsers for streaming compilation.
Why does my JSON file download instead of display in the browser?▾
This usually means the server sent the wrong Content-Type (like application/octet-stream or missing). Setting it to application/json makes browsers display it inline.
What is the MIME type for a .tar.gz file?▾
application/gzip (for .gz) or application/x-tar (for .tar). For .tar.gz, the combination is often served as application/gzip with Content-Encoding: gzip, or application/x-gzip for downloads.