Skip to main content

OTF vs TTF vs WOFF2: which font format should you use?

Updated November 2026

For installing on your computer, OTF and TTF work almost identically; if both are offered, either is fine. The real difference is the curves inside: TTF uses quadratic curves and detailed hinting, OTF usually uses cubic (PostScript) curves. For websites, use WOFF2, which is the same font compressed for the web.

The formats compared

FormatWhat it isUse it for
TTFOpenType with TrueType (quadratic) outlinesInstalling on desktops; apps and game engines
OTFOpenType, usually with CFF (cubic) outlinesInstalling on desktops; print and design
WOFF2A compressed wrapper around an OTF or TTFWebsites: smallest download
WOFFOlder, less compressed web wrapperOnly for very old browsers
EOT, SVG fontsLegacy formatsNothing new

Why OTF and TTF are nearly the same

Both are OpenType fonts. The OpenType specification allows two kinds of outline: TrueType outlines, stored in the glyf table, and PostScript outlines, stored in the CFF or CFF2 table. A file ending in .ttf almost always has TrueType outlines; .otf usually means PostScript outlines. Both support the same OpenType features, such as ligatures, small caps and tabular figures.

Is OTF better than TTF?

Not in general. Cubic curves in OTF need fewer points for the same shape, which designers like, and OTF files can be slightly smaller. TrueType hinting gives more control over how letters snap to pixels on low-resolution screens, which mattered more on older Windows displays. On modern high-resolution screens you will not see a difference between the two versions of the same font.

What to use on a website

Serve WOFF2 only. Every current browser supports it, and its compression makes files much smaller than raw OTF or TTF. Subset the font to the characters you need and preload the one used above the fold.

@font-face {
  font-family: "My Font";
  src: url("/fonts/my-font.woff2") format("woff2");
  font-display: swap;
}

What ExodeUI Font Studio exports

Font Studio exports an OTF that installs on Mac, Windows and Linux and works in design apps. To use it on a website, convert it to WOFF2 with a tool such as fonttools, or keep it as an Exode font inside ExodeUI projects, where its axes can animate.

Make a font and export OTF

Shape a whole alphabet in Font Studio and download an OTF. Free in ExodeUI.

We make ExodeUI. Free Community plan; Professional is $5 a month, billed yearly.

Frequently asked questions

Should I install OTF or TTF?
Either. If a font comes in both, OTF is the common choice for design work, but you will not see a difference on a modern screen. Do not install both versions of the same font, because apps may get confused.
Which font format is best for the web?
WOFF2. It is supported by every current browser and is much smaller than OTF or TTF.
Can I convert TTF to OTF?
Yes, with a font editor or fonttools, but converting curves between quadratic and cubic can add points or small changes. Use the format the designer supplied when possible.
Do OTF and TTF work on Mac and Windows?
Yes, both install on macOS, Windows and Linux.
Which format works in Unity, Godot or Unreal?
All three import TTF and OTF. Check your engine version’s docs; TTF is the most widely supported.
Is a variable font a different format?
No. Variable fonts are OpenType too and can be TTF, OTF or WOFF2 files. Most variable fonts today are TTF-based.

Sources