FontBinary

application/x-font-truetype

TrueType (Legacy MIME)

Reference for application/x-font-truetype, the legacy MIME type for TrueType 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: .ttf

HTTP Content-Type Header

HTTP Header
Content-Type: application/x-font-truetype

Associated File Extensions

.ttf

Quick Facts

MIME Typeapplication/x-font-truetype
CategoryFont
TypeBinary
Extensions.ttf

Common Usage

This is the older, unofficial MIME type for TrueType fonts that was widely used before font/ttf was standardized by IANA. Some older web servers and applications still send this type.

Modern configurations should use font/ttf instead.

Code Examples

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

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

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

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

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.