ApplicationBinary
application/epub+zip
EPUB
Reference for application/epub+zip, the MIME type for EPUB ebooks, the open standard for digital publications.
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: .epub
HTTP Content-Type Header
HTTP Header
Content-Type: application/epub+zipAssociated File Extensions
.epub
Quick Facts
| MIME Type | application/epub+zip |
| Category | Application |
| Type | Binary |
| Extensions | .epub |
Common Usage
EPUB is the dominant open standard for ebooks and digital publications. It is supported by most e-readers (except Kindle), reading apps, and digital libraries.
EPUB files are ZIP archives containing XHTML content, CSS styling, images, and metadata.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.epub" type="application/epub+zip">
<!-- Or for script/media elements -->
<script type="application/epub+zip" src="file.epub"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('application/epub+zip');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'application/epub+zip' });nginx
# nginx.conf — add to types block or use default
types {
application/epub+zip epub;
}
# Or set for a specific location
location /api/ {
default_type application/epub+zip;
}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.