OTF to WOFF2 converter

Compresses an OpenType font for your website, keeping its CFF outlines exactly as they are. No detour through TTF is needed, and nothing is uploaded.

  • No upload
  • Lossless
  • CFF kept

Drop OTF files

otf · ttf · woff · zip

    No need to convert to TTF first

    A common piece of advice is to turn an OTF into a TTF before making a web font. It isn't necessary. WOFF2 can wrap a CFF-based OpenType font directly, and every current browser renders those fonts. Skipping the TTF step also avoids redrawing the curves and losing the font's CFF hinting, so the WOFF2 you get is the font you started with, only smaller.

    How much smaller

    Our 811-glyph commercial OpenType test font:

    FormatSizevs OTF
    OTF (original)133 KB100%
    WOFF73 KB55%
    WOFF258 KB43%
    TTF, for comparison168 KB126%

    CFF is already a compact format, so OTF files often start smaller than the same design as TTF. WOFF2's extra glyph transform only applies to TrueType outlines, which is why a CFF font gains a little less from WOFF2 than a TTF does. It still more than halves the file here.

    What is kept

    • The CFF outlines and their hinting, unchanged.
    • Kerning, ligatures and every other OpenType feature.
    • Variable axes, for variable OpenType fonts (CFF2).
    • Names, metrics and the embedding setting the license check reads.

    Use it on your site with a normal @font-face rule and format("woff2"). The TTF to WOFF2 page has a copy-ready example.

    When TTF-based WOFF2 is the better choice

    Rarely. If a font will be read at very small sizes on older Windows machines and only the TTF version of it carries hand-made TrueType hinting, a WOFF2 made from that TTF can look crisper there. If you only have the OTF, converting it to TTF won't add that hinting, so keep the OTF.

    Check that your license covers web use. Desktop licenses often don't. How font licensing works

    Related

    Questions

    Do browsers support CFF fonts in WOFF2?

    Yes. All current browsers render WOFF2 files that contain CFF outlines, including variable CFF2 fonts.

    Will the WOFF2 look different from the OTF?

    No. WOFF2 is lossless, so the browser unpacks the same outlines and hinting the OTF had.

    Can I get the OTF back later?

    Yes. Drop the WOFF2 on the WOFF2 converter and it unpacks to the original OTF.

    Is my font uploaded?

    No. Compression runs in your browser as WebAssembly, and the file stays on your device.