FontBinary
font/otf
OpenType Font
Reference for font/otf, the MIME type for OpenType font files supporting advanced typographic features.
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: .otf
HTTP Content-Type Header
HTTP Header
Content-Type: font/otfAssociated File Extensions
.otf
Quick Facts
| MIME Type | font/otf |
| Category | Font |
| Type | Binary |
| Extensions | .otf |
Common Usage
OpenType extends TrueType with support for PostScript outlines (CFF), advanced typographic features (ligatures, swashes, small caps), and larger character sets. OTF is the professional standard for fonts, used by designers, typesetters, and web developers.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.otf" type="font/otf">
<!-- Or for script/media elements -->
<script type="font/otf" src="file.otf"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('font/otf');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'font/otf' });nginx
# nginx.conf — add to types block or use default
types {
font/otf otf;
}
# Or set for a specific location
location /api/ {
default_type font/otf;
}Related MIME Types
More Font MIME Types
Other font types in the Font family
Related Tools
Explore More MIME Types
Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.