TextText-based
text/richtext
Richtext
Reference for text/richtext, an early MIME type for enriched text with basic formatting in email messages.
MIME Type Detector
Drop a file to detect its MIME type — no upload, runs in your browser
📄
Drop any file here or click to choose
Expected extensions: .rtx
HTTP Content-Type Header
HTTP Header
Content-Type: text/richtext; charset=utf-8Associated File Extensions
.rtx
Quick Facts
| MIME Type | text/richtext |
| Category | Text |
| Type | Text-based (human-readable) |
| Extensions | .rtx |
Common Usage
text/richtext is a simple markup format defined in RFC 1341 for email messages with basic formatting. It predates HTML email and is rarely used today.
Most email clients have replaced it with text/html for rich formatting. It remains in the IANA registry for historical compatibility.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.rtx" type="text/richtext">
<!-- Or for script/media elements -->
<script type="text/richtext" src="file.rtx"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('text/richtext');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'text/richtext' });nginx
# nginx.conf — add to types block or use default
types {
text/richtext rtx;
}
# Or set for a specific location
location /api/ {
default_type text/richtext;
}Related MIME Types
More Text MIME Types
Other text types in the Text family
Related Tools
Explore More MIME Types
Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.