Font Converter

    Convert fonts between TTF, OTF, WOFF and WOFF2, shrink them for the web by keeping only the characters you need, and get ready-to-paste @font-face CSS.

    What is a font converter?

    A font converter changes a font file from one format to another. The four formats you will meet are TTF and OTF, which are installed on computers and used by design apps, and WOFF and WOFF2, which are compressed versions made for websites. The letters are the same in all four. What changes is how the file is packaged and how small it is.

    This converter handles all of them in both directions: TTF to WOFF2, OTF to WOFF, WOFF2 back to TTF, and so on. It can also subset a font, which means removing every character your site will never use, and it writes the @font-face CSS you need to load the result. Drop in a whole family at once and download everything, CSS included, as a single zip.

    Your fonts are processed on your own device. They are never uploaded, which matters for licensed and unreleased typefaces.


    How to convert a font to WOFF2

    1. Add your fonts: Drop one or more TTF, OTF, WOFF or WOFF2 files into the converter. Each file is read on your device and its name, style and glyph count are shown.
    2. Choose the output formats: WOFF2 is all you need for modern websites. Add WOFF for older browsers and email clients, or TTF/OTF when you want a file you can install on a computer.
    3. Subset for the web (optional): Turn on subsetting and pick the character sets your site uses, such as Basic Latin and Western European. Add any extra symbols you need in the box below.
    4. Convert: Click Convert. Each output shows its new size and how much smaller it is than the original.
    5. Download and add the CSS: Download the files one at a time, or grab everything as a zip with a ready-made fonts.css. Copy the @font-face rules into your stylesheet.

    TTF vs OTF vs WOFF vs WOFF2

    • TTF (TrueType) stores letters as quadratic curves. It is the most widely supported desktop format and works in Windows, macOS, Office and most design tools.
    • OTF (OpenType with CFF outlines) stores letters as cubic curves, the same kind used in PostScript and many professional type families.
    • WOFF is a TTF or OTF compressed with zlib for the web. It is supported by every browser still in use.
    • WOFF2 uses Brotli compression and smarter packing, and is usually around 30% smaller than WOFF. It is the format to use on modern websites.

    Converting between them does not redraw your letters. A font built with TrueType outlines comes back as .ttf and one built with CFF outlines comes back as .otf, so the shapes stay exactly as the designer made them.

    Why subsetting makes fonts so much smaller

    Many fonts include hundreds or thousands of characters: accented letters for dozens of languages, Greek, Cyrillic, math symbols and more. An English-language site might only ever use about a hundred of them, but visitors download all of them.

    Subsetting keeps only the characters you choose. On a typical text font, keeping Basic Latin can cut a WOFF2 file by 70 to 90%, which means faster pages and better Core Web Vitals. The CSS this tool writes includes a unicode-range, so browsers know exactly which characters the file covers.

    Check the font license first

    Converting a font does not change its license. Many free fonts, like those on Google Fonts, allow web use and modification. Commercial fonts often need a separate web license, and some forbid modification, which includes subsetting. When a font's built-in flags restrict embedding, the converter shows a warning, but always check the license that came with the font before publishing it.

    Frequently Asked Questions (FAQs)

    Is this font converter free?

    Yes. It is free with no sign-up, no file limits and no watermark.

    Are my fonts uploaded to a server?

    No. Conversion and subsetting run in your browser. The only thing downloaded is the subsetting engine itself, the first time you use it.

    Can I convert WOFF2 back to TTF?

    Yes. Choose TTF / OTF as the output. You get a .ttf if the font uses TrueType outlines, or an .otf if it uses CFF outlines, with the letter shapes unchanged.

    Can I convert TTF to OTF?

    This converter keeps each font's outlines exactly as they were designed, so a TrueType font stays a .ttf. Changing TrueType outlines into CFF outlines means redrawing every curve. Almost every app that accepts OTF also accepts TTF, so you rarely need to.

    Which format should I use on my website?

    Use WOFF2. Every current browser supports it and it is the smallest. Add WOFF as a second source only if you need to support very old browsers.

    Does it work with variable fonts?

    Yes. Variable fonts keep all their axes, such as weight and width, through conversion and subsetting, and the CSS includes the full weight range.

    What about .ttc font collections?

    Collections bundle several fonts in one file and are not supported. Export the single style you need as a TTF or OTF first, then convert that.

    Related Tools

    More free tools for styling text and working with fonts: