Loading…

How to use MIME Types

Search by file extension or MIME type to find the matching media type used in Content-Type headers, uploads and downloads across the web.

Frequently asked questions

What is a MIME type?

A media type string like text/html or image/png that tells clients how to interpret a file's contents, sent in the Content-Type header.

Why does the wrong MIME type break things?

Browsers may refuse to run scripts or render images if the declared type is wrong, so serving the correct Content-Type matters.

What type should I use for unknown files?

application/octet-stream is the generic binary fallback, prompting a download rather than inline rendering.

More Developer Tools

Diff Checker
Line-by-line visual differences.
Regex Tester Advanced
Flags, groups, replace, cheat sheet.
cURL Builder
Build cURL command from form.
cURL to Code
Convert cURL to JS/Python/PHP/Go.
JWT Debugger
Decode JWT segments and verify.
Chmod Calculator
Symbolic — octal permission grid.
Crontab Guru
Visual cron builder + readable output.
Semver Tools
Validate, compare and range-check semantic versions.
UUID Inspector
Detect UUID version, variant and embedded timestamp.
Basic Auth Generator
Build an HTTP Basic Authorization header from user/pass.
String Escaper
Escape/unescape for JSON, JS, HTML, SQL, Regex and Shell.
ASCII Table
0-127 searchable ASCII reference.

← View all Developer ToolsBrowse all 1,100+ tools →