ApplicationText-based
application/rtf
Rich Text Format
Reference for application/rtf, the MIME type for Rich Text Format documents with cross-platform text formatting support.
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: .rtf
HTTP Content-Type Header
HTTP Header
Content-Type: application/rtf; charset=utf-8Associated File Extensions
.rtf
Quick Facts
| MIME Type | application/rtf |
| Category | Application |
| Type | Text-based (human-readable) |
| Extensions | .rtf |
Common Usage
RTF is a document format that supports text formatting (bold, italic, fonts, colors) while remaining readable by virtually all word processors. It is used as an interchange format between word processors, for clipboard data, and in legal and medical document workflows.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.rtf" type="application/rtf">
<!-- Or for script/media elements -->
<script type="application/rtf" src="file.rtf"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('application/rtf');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'application/rtf' });nginx
# nginx.conf — add to types block or use default
types {
application/rtf rtf;
}
# Or set for a specific location
location /api/ {
default_type application/rtf;
}Related MIME Types
More Application MIME Types
Other application types in the Application family
Related Tools
Explore More MIME Types
Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.