ApplicationBinary

application/msgpack

MessagePack

Reference for application/msgpack, the MIME type for MessagePack binary serialization, a compact alternative to JSON.

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: .msgpack, .mp

HTTP Content-Type Header

HTTP Header
Content-Type: application/msgpack

Associated File Extensions

.msgpack.mp

Quick Facts

MIME Typeapplication/msgpack
CategoryApplication
TypeBinary
Extensions.msgpack, .mp

Common Usage

MessagePack is an efficient binary serialization format that is more compact and faster to parse than JSON while maintaining similar data structures. It is used in Redis, Fluentd, SignalR binary protocol, and applications requiring high-throughput data exchange with minimal overhead.

Code Examples

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

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

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

# Or set for a specific location
location /api/ {
    default_type application/msgpack;
}

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.