FontBinary

application/x-font-opentype

OpenType (Legacy MIME)

Reference for application/x-font-opentype, the legacy MIME type for OpenType fonts before the font/* types were standardized.

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: application/x-font-opentype

Associated File Extensions

.otf

Quick Facts

MIME Typeapplication/x-font-opentype
CategoryFont
TypeBinary
Extensions.otf

Common Usage

This is the older, unofficial MIME type for OpenType fonts that was used before font/otf was standardized. Like its TrueType counterpart, some legacy systems still use this type.

Modern configurations should use font/otf instead.

Code Examples

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

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

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

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

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.