lookup> text/plain

text/plain

text/plain is a text media type commonly associated with .txt, .text, .conf, .def, .list, .log, .in, .ini extensions.

textCompressibleContent-Type
MIME typetext/plain
Extensions.txt .text .conf .def .list .log
Charset—
CompressibleYes
Sourceiana

text/plain

text/plain is one of the text media types used on the internet, and it is safe to compress for transport. When serving this content over HTTP, set the Content-Type header in the response, for example:

Content-Type: text/plain

Related entities: associated extensions include .txt、.text、.conf、.def, and is delivered over HTTP via the Content-Type header, commonly with GET, POST, PUT and PATCH requests.

Related formats:

Plain Text FileTEXT Data & TextConfiguration File
.txt .text .confserved as
mime type
text/plainsent via header
http header

text/plain is identified in HTTP by the Content-Type header and is commonly used with these methods:

What is text/plain?

text/plain is a text media type used to identify a content format; servers announce it to clients with the Content-Type header.

Which file extensions use text/plain?

Extensions such as .txt, .text, .conf, .def are associated with this MIME type.

How do I set the Content-Type for text/plain?

Send Content-Type: text/plain in the HTTP response.

Related extensions

Related MIME types

Related headers

Related methods

About This Tool

This page provides original, human-reviewed information about MIME types such as text/plain, the MIME Type Reference and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.

If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.