lookup> .ttf

.TTF·File Extension

TrueType FontTrueType outline font format.

Fontfont/ttfCompressible
Extension.ttf
File typeTrueType Font
MIME typefont/ttf
CategoryFont
Charset
CompressibleYes
Format familyfont

What is a .ttf file?

A .ttf file is a TrueType Font — TrueType outline font format.

In the mime-db registry it maps to font/ttf, and it is marked as compressible. When serving .ttf over HTTP, set the Content-Type header as shown in Developer info below.

Related entities: it maps to font/ttf — and is delivered over HTTP via the Content-Type header.

  • Use Font Book or Windows Font Viewer to open and edit .ttf files.
  • Any text editor (Notepad, VS Code) can inspect the raw content as text.

When served over HTTP, responses should set the following header:

Content-Type: font/ttf

Common software that reads/writes .ttf:

Font BookWindows Font Viewer
.ttfextension of
format
fontserved as
mime type
font/ttfsent via header
http header
  • Web typography
  • Desktop fonts
  • Print design
  • Open the file with Font Book, make your changes and save.
  • Most editors preserve the original formatting and encoding — avoid changing the charset.
  • Create a new file and save it with the .ttf extension, or export this format from Font Book.

What programs can open .ttf files?

Common options include Font Book, Windows Font Viewer. You can also open many of these files with built-in viewers or a browser.

How do I create a .ttf file?

Create a new file in any text editor or the app that owns the format and save it with the .ttf extension.

What is the relationship between .ttf and the font/ttf MIME type?

font/ttf is the media type identifier used for .ttf files during network transfer (for example in the HTTP Content-Type header).

Related extensions

Related MIME types

Related headers

Related methods

Related status codes