Feedback

OTF to WOFF2

Convert OTF to WOFF2 right in your browser: drop OpenType fonts with PostScript (CFF) outlines, the tool packs them as WOFF2 with Google's woff2 encoder and writes the @font-face code with format('woff2') and font-display: swap. Nothing is uploaded.

Drop font files here

TTF, OTF, WOFF or WOFF2, several at once if you like.

Fonts are converted only in your browser and never uploaded.

Output

A subset makes the file much smaller. The browser then shows characters outside the range in a fallback font.

Results

    From the Solo plan

    A new typeface or one more style is added quickly. A performance budget per URL in a plan sets a limit for font weight and emails you as soon as a page exceeds it.

    OTF to WOFF2: CFF outlines are kept, Brotli compresses them

    OTF files from type foundries usually contain PostScript outlines in a CFF table instead of the TrueType glyf table. WOFF2 stores CFF data unchanged; the special outline transform of WOFF2 only applies to TrueType fonts. The saving therefore comes from Brotli compression. PostScript hinting stays in the file.

    OTF to WOFF2 measured: Open Sans drops by 62 percent

    Measured with this tool on 27.11.2026: Open Sans Regular (version 3.003, OTF with CFF outlines, OFL) is 254,960 bytes as OTF and 95,896 bytes as WOFF2, 62 percent less. With the Latin subset the WOFF2 file is 32,876 bytes, 87 percent less than the OTF; with Latin and Latin Extended it is 42,708 bytes.

    OTF or TTF for the web: after WOFF2 conversion both work the same

    Browsers render WOFF2 files with CFF and with TrueType outlines alike. There is no need to convert an OTF to TTF first. Which outline format looks sharper at small sizes on Windows depends on the hinting of the individual font; compare both if a foundry offers them.

    OTF to WOFF2 in the @font-face rule: format and font-display

    The generated rule points to the WOFF2 file with format('woff2'), takes family, weight and style from the font and sets font-display: swap, explained in the guide on font-display swap. An old rule with format('opentype') can be replaced completely.

    Other conversions

    OTF to WOFF2 FAQ: upload, licenses and features

    Are my OTF files uploaded?

    No. The conversion runs in a web worker in your browser. The files are never sent to a server.

    May I convert a commercial OTF to WOFF2?

    That depends on the license. Many desktop licenses do not cover web use. If the font marks itself as "Restricted License" in its OS/2 table, the tool shows a note.

    Do stylistic sets and tabular figures survive?

    Yes. WOFF2 keeps all OpenType features, and so does the Latin subset in this tool.

    Can I convert OTF to TTF here?

    No. The tool keeps the outline format; WOFF2 with CFF outlines works in every current browser.

    More free tools

    All free tools →

    Third-party licenses

    Conversion uses wawoff2 with Google's woff2 and Brotli (MIT) and HarfBuzz hb-subset from harfbuzzjs (MIT, Old MIT). Full license texts: THIRD_PARTY_LICENSES.txt

    A free account saves your tests and shows how your values change from one test to the next. Website performance monitoring with field data and alerts starts with the Solo plan.