OpenType Font MIME Type
font/otf identifies, how OpenType fonts are structured, how to inspect and use them, and what Poly supports. MIME type details for font/otf
In active use| MIME type | font/otf |
|---|---|
| Extensions | .otf |
| Magic number | 00 01 00 00 (TrueType outlines) or 4F 54 54 4F / OTTO (CFF outlines) |
| First standardized | 1997 |
| Created by | Microsoft and Adobe |
| Browser support | Chrome, Edge, Firefox, Opera, Safari |
| Example applications | Apple Font Book, Adobe Illustrator |
| Poly support | Partial. Poly recognizes font/otf and .otf files, and stores, syncs, shares, and versions them without parsing font tables. |
| Indexed by Poly | Partial. OpenType fonts are searchable by filename and ordinary file properties, but glyphs, names, features, and other font-table data are not indexed. |
| Preview in Poly | No. Poly shows a generic file thumbnail and does not render a specimen or glyph map; download the file to inspect it in a font application. |
| Poly agent | No. The Poly agent can identify the file and its basic properties, but cannot read or reason about the font's glyphs or OpenType tables. |
What does font/otf mean?
The font/otf media type identifies an OpenType font with OpenType Layout capabilities. OpenType is a table-based, scalable font format. A file can contain character-to-glyph mappings, names, metrics, vector outlines, layout rules, variation axes, color glyph data, and other information used to shape and render text.12
The usual extension is .otf. The IANA registration also allows .ttf because both extensions can carry OpenType data. In normal file naming, .ttf usually indicates TrueType outlines, while .otf can contain TrueType, Compact Font Format (CFF or CFF2), or SVG-supported outlines.1
.otf extension does not prove that the outlines are PostScript-based. Inspect the font's table directory or use a font validator when the outline technology matters.How to identify an OpenType font
OpenType uses the sfnt container inherited from TrueType. The first four bytes are the sfntVersion field, followed by a directory of tagged tables.2
| First four bytes | Meaning |
|---|---|
00 01 00 00 | OpenType font with TrueType outlines |
4F 54 54 4F (OTTO) | OpenType font with CFF or CFF2 outlines |
Neither signature is unique to the .otf suffix. A correctly named .otf may begin with either value, while a .ttf OpenType font normally begins with 00 01 00 00. Collections use .otc or .ttc and a different MIME type, font/collection.12
The table directory is more informative than the filename. Common required tables include cmap for mapping characters to glyphs, name for human-readable names, head for the font header, and hmtx for horizontal metrics. TrueType outlines normally use glyf and loca; CFF-based fonts use CFF or CFF2.2
Where OpenType came from
Microsoft and Adobe developed OpenType as an extension of TrueType that could also contain PostScript font data. The first OpenType specification was published in April 1997.34 The format later became the basis of ISO/IEC 14496-22, the Open Font Format standard referenced by the font/otf registration.1
OpenType's significance is not just that it combines outline technologies. Its layout tables can describe glyph substitution and positioning needed for ligatures, marks, alternate forms, kerning, and complex writing systems. Modern OpenType can also represent variable fonts, color glyphs, mathematical typography, and large Unicode repertoires.4
The MIME type came later. RFC 8081 created the top-level font media type and registered font/otf in February 2017. Before that registration, servers and software used a mixture of generic or unofficial labels. New deployments should send font/otf, not labels such as application/x-font-opentype.15
How to open, install, or inspect an .otf file
On macOS, Font Book can install, validate, preview, and show the character repertoire of OpenType and OpenType-SVG .otf files.6 On Windows 10 and 11, the Fonts settings and the file's Install command support OpenType .otf fonts.7 Design applications such as Adobe Illustrator can expose OpenType features including ligatures and alternates, although the available controls depend on what the individual font contains.8
For a quick inspection, use a font manager or validator rather than changing the extension. Check at least:
- The family, style, version, designer, and license entries in the
nametable. - The character repertoire and missing glyphs.
- The outline flavor and whether variable-font axes are present.
- OpenType Layout features for every script and language you need.
- Validation warnings before installing or distributing the font.
Current Chrome, Edge, Firefox, Opera, and Safari can use OpenType resources through CSS @font-face. Serve the file with Content-Type: font/otf, and configure cross-origin access when the font is hosted on another origin. For production web delivery, WOFF2 is usually the better choice because it compresses font data more efficiently.9
@font-face {
font-family: "Example Family";
src: url("/fonts/example.otf") format("opentype");
font-display: swap;
}
Support in Poly
Poly recognizes .otf filenames as font/otf. The shared MIME schema classifies the format as an unknown media category rather than image, document, text, audio, or video. As a result, an OpenType font follows Poly's generic-file path:
- The file can be stored, synced, shared, versioned, downloaded, and found by filename.
- Poly does not parse
name,cmap, variation, color, or OpenType Layout tables. - It does not generate a specimen, glyph map, thumbnail, or in-app font preview.
- Font contents are not added to full-text, semantic, or similarity indexes.
- The agent can see basic file identity and properties, but it cannot inspect glyphs or answer questions about the font's internal tables.
Download the file and open it in Font Book, Windows Fonts, or a trusted font editor when you need to inspect or use the typeface.
OTF, TTF, WOFF, and WOFF2 compared
These labels overlap, so the extension alone is an imperfect technical description.
| Format | Typical extension | MIME type | Main role |
|---|---|---|---|
| OpenType | .otf | font/otf | Installable desktop font; may use CFF, CFF2, or TrueType outlines |
| TrueType-flavored OpenType | .ttf | font/ttf | Installable font using TrueType outlines |
| WOFF | .woff | font/woff | Compressed web-font packaging |
| WOFF2 | .woff2 | font/woff2 | More efficient compressed web-font packaging |
OpenType is the underlying font model in all four cases more often than the names suggest. WOFF and WOFF2 package sfnt font data for web delivery rather than defining an unrelated set of glyphs. Converting a valid .otf to WOFF2 can reduce transfer size without redesigning the typeface, but the conversion tool must preserve the tables and features your site needs.9
.otf as the editable or distributable master and create WOFF2 as a delivery copy. Test the converted font with the languages, weights, styles, features, and variable axes your site actually uses.Security, privacy, and licensing
A font is not merely a passive picture. RFC 8081 notes that TrueType hinting instructions can act as executable code inside a font interpreter, and malformed table structures can consume excessive CPU or memory. Treat fonts from unknown sources as untrusted input, keep the operating system and font software updated, and validate a file before installing it.5
Font files can also contain arbitrary or identifying metadata. The format itself provides no confidentiality, so do not assume that subsetting or renaming a font removed private information.5
Conversion does not grant permission to publish. A desktop license may allow local installation while prohibiting web embedding, redistribution, modification, or format conversion. Read the font's license and embedding permissions before uploading it to a public server or sharing a converted copy.
Footnotes
- Internet Assigned Numbers Authority. font/otf Media Type Registration. ↩ ↩2 ↩3 ↩4 ↩5
- Microsoft. The OpenType Font File, OpenType 1.9.1. ↩ ↩2 ↩3 ↩4
- Microsoft. Archive of OpenType Versions. ↩
- Microsoft. OpenType Overview. ↩ ↩2
- Lilley, C. RFC 8081: The
fontTop-Level Media Type. Internet Engineering Task Force, February 2017. ↩ ↩2 ↩3 - Apple. Install and Validate Fonts in Font Book on Mac. ↩
- Microsoft. Manage Fonts in Windows. ↩
- Adobe. OpenType Panel Overview in Illustrator. ↩
- MDN Web Docs.
@font-face. ↩ ↩2