ApplicationBinary
application/x-rar-compressed
RAR Archive
Reference for application/x-rar-compressed, the MIME type for RAR archives known for solid compression and recovery records.
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: .rar
HTTP Content-Type Header
HTTP Header
Content-Type: application/x-rar-compressedAssociated File Extensions
.rar
Quick Facts
| MIME Type | application/x-rar-compressed |
| Category | Application |
| Type | Binary |
| Extensions | .rar |
Common Usage
RAR is a proprietary archive format popular for distributing large files split across multiple volumes. It supports solid compression, recovery records for repairing damaged archives, and AES-256 encryption.
It remains common for game distributions and file sharing.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.rar" type="application/x-rar-compressed">
<!-- Or for script/media elements -->
<script type="application/x-rar-compressed" src="file.rar"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('application/x-rar-compressed');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'application/x-rar-compressed' });nginx
# nginx.conf — add to types block or use default
types {
application/x-rar-compressed rar;
}
# Or set for a specific location
location /api/ {
default_type application/x-rar-compressed;
}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.