ApplicationBinary

application/x-tar

TAR Archive

Reference for application/x-tar, the MIME type for tape archive files used to bundle files on Unix and Linux systems.

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

HTTP Content-Type Header

HTTP Header
Content-Type: application/x-tar

Associated File Extensions

.tar

Quick Facts

MIME Typeapplication/x-tar
CategoryApplication
TypeBinary
Extensions.tar

Common Usage

TAR bundles multiple files into a single archive without compression. It is almost always combined with gzip (.tar.gz), bzip2 (.tar.bz2), or xz (.tar.xz) for compressed distribution.

TAR is the standard packaging format for Linux source code and software distribution.

Code Examples

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

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

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

# Or set for a specific location
location /api/ {
    default_type application/x-tar;
}

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.