Font Converter

Desktops and the web prefer different font formats: Windows and macOS install TrueType (TTF) and OpenType (OTF), while websites are best served with WOFF2. This page lists every font converter on wandlio, sorted by what you want to do.

TTF and OTF to WOFF2, TTF to WOFF and TTF to OTF convert right in your browser, with no upload. Conversions to TTF run on our servers in Germany, where CFF outlines are converted to TrueType outlines when needed: your font file is sent over HTTPS and deleted right after conversion. Both are free, and there's no sign-up.

All font converters

“Browser” means the conversion runs in your browser with no upload – your file stays on your device. “Server” means the file is sent over an encrypted connection (HTTPS) to our servers in Germany and deleted right after conversion.

For websites

WOFF2 uses Brotli compression and, according to the W3C, compresses significantly better than WOFF, its 2012 predecessor. MDN calls WOFF2 a safe default for most websites.

For your desktop

Microsoft and Apple list TrueType and OpenType for installing fonts on Windows and macOS – WOFF and WOFF2 aren't among them. A TTF copy lets you install a web font on your computer.

Between TTF and OTF

Both are OpenType fonts; they store glyph outlines either as TrueType contours or as CFF data. TTF to OTF only changes the extension, for example for programs that only accept .otf; the file stays byte-identical. OTF to TTF converts CFF outlines to TrueType outlines, and hinting is dropped.

Which font format for which use?

Rule of thumb: WOFF2 for the web, TTF or OTF for anything you install.

UseFormatNote
embed a font on a websiteWOFF2via @font-face with format("woff2") – see the example below
install a font on Windows or macOSTTF or OTFWindows: right-click the file and choose Install; macOS: use Font Book
also support very old browsersWOFF as wellthe older W3C format from 2012, compressed with zlib
share a third-party font or use it onlinecheck the licence firstChanging the file format doesn't change the licence; only the font's licence terms decide what you may do.

Embedding WOFF2 on your website

Upload the WOFF2 file to your web server and adjust the path. With font-display: swap, the browser shows text in a fallback font right away and swaps it once your font has loaded.

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

body {
  font-family: "My Font", sans-serif;
}

Font formats explained

TTF (TrueType)
The classic desktop format that Windows and macOS install directly. Glyph outlines are stored as TrueType contours.
OTF (OpenType)
A format specified by Microsoft, currently version 1.9.1. Besides outlines it carries typography tables, for instance for substituting and positioning glyphs (GSUB, GPOS); outlines are stored as TrueType or CFF data.
WOFF
Web Open Font Format 1.0, a W3C Recommendation of 13 December 2012: wraps TrueType or OpenType data with zlib compression for the web.
WOFF2
WOFF's successor, currently a W3C Recommendation dated 8 August 2024: Brotli compression plus preprocessing of the font data make files significantly smaller.

Guides

What converts in your browser, what needs our servers, and what applies when you upload files:

Related categories

Sources

  1. W3C: WOFF File Format 2.0
  2. W3C: WOFF File Format 1.0
  3. Microsoft Learn: OpenType font file (OpenType 1.9.1)
  4. MDN: @font-face
  5. MDN: font-display
  6. Apple Support: Install and validate fonts in Font Book on Mac
  7. Microsoft Support: Add a font