ApplicationBinary

application/x-7z-compressed

7-Zip

Reference for application/x-7z-compressed, the MIME type for 7-Zip archives offering high compression ratios with LZMA/LZMA2.

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: .7z

HTTP Content-Type Header

HTTP Header
Content-Type: application/x-7z-compressed

Associated File Extensions

.7z

Quick Facts

MIME Typeapplication/x-7z-compressed
CategoryApplication
TypeBinary
Extensions.7z

Common Usage

7-Zip provides some of the highest compression ratios available for general-purpose archiving. It is widely used for distributing large software packages, game mods, and backup archives where minimizing file size is more important than extraction speed.

Code Examples

HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.7z" type="application/x-7z-compressed">

<!-- Or for script/media elements -->
<script type="application/x-7z-compressed" src="file.7z"></script>
Node.js
// Express.js
app.get('/file', (req, res) => {
  res.type('application/x-7z-compressed');
  res.send(data);
});

// Node.js http
res.writeHead(200, { 'Content-Type': 'application/x-7z-compressed' });
nginx
# nginx.conf — add to types block or use default
types {
    application/x-7z-compressed  7z;
}

# Or set for a specific location
location /api/ {
    default_type application/x-7z-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.