// mime type · text type

text/plain

Plain text · .txt

What text/plain is

text/plain is unformatted text with no markup — the fallback for anything that's just characters. Browsers display it as-is, and it's the safe default when no richer type applies.

How it's used

You'll see this as a Content-Type value on requests and responses — for example Content-Type: text/plain. It's the type associated with the .txt file extension. Text types are human-readable formats. On the web they're assumed to be UTF-8, and browsers can display them directly.

Other text types