MIME Type Lookup
Search MIME types by file extension, type string, or keyword. Find the correct Content-Type header value for any file format — images, video, audio, documents, fonts, and more. Includes a quick reference for common HTTP API content types.
Frequently Asked Questions
What is a MIME type?▼
MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document or file. Browsers and servers use MIME types to handle files correctly — for example, 'text/html' tells the browser to render HTML, while 'application/octet-stream' triggers a file download.
How do I look up the MIME type for a file extension?▼
Type the file extension (e.g., 'jpg', 'pdf', 'mp4') in the search box. The tool filters all MIME types that include that extension. You can also search by MIME type string (e.g., 'image/') or by keyword (e.g., 'video').
What MIME type should I use for JSON APIs?▼
Use 'application/json' for JSON response bodies. For JSON-LD (linked data), use 'application/ld+json'. For form submissions, use 'application/x-www-form-urlencoded' for simple forms or 'multipart/form-data' when uploading files.
Why does my file upload fail even with the correct extension?▼
Servers validate MIME types sent in the 'Content-Type' header, not the file extension. If your client sends the wrong MIME type, the server rejects the upload. Use this tool to find the correct MIME type string and set it explicitly in your HTTP request headers.
What is the MIME type for Excel and Word files?▼
Modern Excel files (.xlsx) use 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'. Legacy .xls uses 'application/vnd.ms-excel'. For Word: .docx is 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', .doc is 'application/msword'.
What should I use for binary file downloads?▼
'application/octet-stream' is the generic binary MIME type. When a server sends this type, the browser will prompt the user to download the file rather than trying to render it. Use it as a safe fallback when the specific MIME type is unknown.
Related Products
on GumroadDevPlaybook Interview Vault
210+ real technical interview questions with model answers, asked at Google, Meta, Amazon, Microsoft, Stripe, and Shopify. Covers Frontend (55), Backend (55), System Design (50), and DSA (50). Available in English and Traditional Chinese.
Buy on Gumroad →TypeScript Quick Reference Toolkit
5 practical reference files for TypeScript developers: cheatsheet, TS vs JS comparison, 20 utility types with real examples, tsconfig best practices template, and 15 common mistakes guide. Print it. Keep it on your desk.
Buy on Gumroad →Developer Interview Vault
210 technical interview questions with model answers, key points, and follow-up questions. Covers Frontend, Backend, System Design, and DSA — bilingual English + Traditional Chinese (ZH-TW). PWYW from $29.
Buy on Gumroad →You Might Also Need
Webhook Tester
Generate realistic webhook test payloads for GitHub, Stripe, Slack, and custom services. Get a curl command to send the payload to your local endpoint. Inspect headers, payload size, and content-type.
Open free tool →
OpenAPI Validator
Paste your OpenAPI 3.x spec (YAML or JSON) to validate structure, find missing required fields, detect duplicate paths, check for missing operationIds, and get errors and warnings with path references.
Open free tool →
HTTP Status Code Reference
Complete HTTP status code reference. Search all 1xx, 2xx, 3xx, 4xx, and 5xx codes with plain-English descriptions, real-world use cases, and when to use each in REST APIs.
Open free tool →
More Free Tools
Related Articles
Complete HTTP Status Codes Reference for REST API Devs
The complete HTTP status codes reference for REST API developers. Every 1xx, 2xx, 3xx, 4xx, and 5xx code explained with real-world API examples and best practices.
HTTP Status Codes Explained: Complete Guide for Developers
Every HTTP status code group explained with real-world examples. Know exactly when to use 200, 201, 301, 401, 404, 429, 500, and more.
curl 深度使用手冊:API 測試從入門到進階
curl 是每位開發者必備的 CLI 工具。本文涵蓋 GET/POST/PUT/DELETE 請求、認證、header 設定、檔案上傳、除錯技巧,以及 REST API 測試的完整實戰範例。
FastAPI vs Django REST Framework 2025: Which Should You Choose?
FastAPI vs Django REST Framework compared for 2025. Performance benchmarks, feature comparison, real-world use cases, and a clear decision guide for your next Python API project.
Hono.js: Build Blazing-Fast APIs for Edge and Serverless (2026 Guide)
Complete guide to Hono.js covering routing, middleware, RPC client, Cloudflare Workers, Bun, Deno, and Node.js runtimes, OpenAPI integration, and comparison with Express and Fastify for edge workloads.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →