text/*
text/markdown
File extensions: .md, .markdown
Markdown source — plain text with lightweight formatting.
What is text/markdown?
text/markdown is the media type for Markdown documents. Browsers do not render it by default — clients that understand it (like some documentation tools) will parse it into HTML on the fly.
Typical usage
Serving raw README files, docs source, static site generator inputs.
HTTP header example
Response header
Content-Type: text/markdown; charset=utf-8Reference
RFC 7763
Frequently asked questions
What is the text/markdown MIME type?
text/markdown is the media type for Markdown documents. Browsers do not render it by default — clients that understand it (like some documentation tools) will parse it into HTML on the fly.
What file extension does text/markdown use?
Files served as text/markdown typically use the extensions .md, .markdown. The most common is .md.
How do I set the Content-Type for text/markdown?
Send the HTTP response header Content-Type: text/markdown; charset=utf-8. Serving raw README files, docs source, static site generator inputs.
Is text/markdown an official MIME type?
Yes. text/markdown is officially registered with IANA (RFC 7763), so standards-conformant clients recognize it.