MultipartText-based

multipart/mixed

Mixed Content

Reference for multipart/mixed, the MIME type for messages containing multiple independent parts with different types.

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

HTTP Content-Type Header

HTTP Header
Content-Type: multipart/mixed; charset=utf-8

Quick Facts

MIME Typemultipart/mixed
CategoryMultipart
TypeText-based (human-readable)

Common Usage

multipart/mixed is the default multipart type for email messages with attachments. Each part has its own Content-Type and is independent.

Used in email (text body + file attachments), HTTP batch requests, and any scenario combining different content types in one message.

Code Examples

HTML
<!-- Set MIME type in meta or fetch headers -->
<meta http-equiv="Content-Type" content="multipart/mixed">
Node.js
// Express.js
app.get('/file', (req, res) => {
  res.type('multipart/mixed');
  res.send(data);
});

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

# Or set for a specific location
location /api/ {
    default_type multipart/mixed;
}

Related MIME Types

More Multipart MIME Types

Other multipart types in the Multipart family

Related Tools

Explore More MIME Types

Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.