Skip to main content

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.

✓ Search by extension or MIME string ✓ 80+ MIME types indexed ✓ One-click copy

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.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

Webhook Tester OpenAPI Validator HTTP Status Code Reference API Request Builder API Response Mock Generator HTTP Status Code Reference WebSocket Tester WebP Converter HTTP Status Code Lookup WebSocket Test Client HTTP Status Code Lookup API Response Time Tester HTTP Methods Reference OpenAPI Schema Validator OpenAPI Mock Generator API Test Case Generator Core Web Vitals Guide API Response Formatter & Analyzer HTTP API Tester HTTP Status Code Reference Web Vitals Scorer Web Vitals Analyzer API Mock Server Config Generator REST API Request Builder API Response Mocker Core Web Vitals Budget Calculator HTTP Headers Analyzer API Rate Limit Calculator HTTP Headers Inspector HTTP Code Snippet Generator PWA Manifest Generator HTTP Mock Response Builder LLM Cost Calculator Haproxy Config Validator Caddy Caddyfile Generator HAR Diff Analyzer HTTP Cache-Control Builder WASM Module Explorer HTTP Header Analyzer AI Prompt Cost Calculator HTTP/2 Server Push Headers Builder Lighthouse Score Simulator Mock Service Worker (MSW) API Mocking Guide Core Web Vitals Calculator HTTP Security Headers Checker LLM Prompt Cost Calculator AI Rate Limit Calculator WebAssembly Binary Inspector Web Vitals Budget Planner HTTP Cache Header Builder Web Performance Checklist Image Optimizer Checklist API Key Generator AI Doc Generator — Pro Tool Color Blindness Simulator curl Command Builder HTTP Security Headers Generator Interview Question Generator JSON Diff Viewer JSON Diff JWT Builder JWT Decoder Developer Utilities Rate Limiter Tester API Changelog Generator Service Worker Generator HMAC Generator CSP Header Builder Rate Limit Calculator CORS Policy Builder WCAG Contrast Checker YAML Diff Viewer JWT Debugger Pro Vue Component Generator LLM Context Window Calculator LLM Token Counter Bundle Size Estimator SSL Certificate Checker Prompt Token Estimator nginx Config Builder Pulumi Modern IaC Guide Bundle Size Impact Calculator HTML5 Canvas API Playground Token Context Calculator OpenAI Function Calling Generator TTFB Analyzer Token Counter & Cost Estimator AI API Rate Limit Calculator JWT Decoder & Validator

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$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.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →