Font converter — TTF, OTF, WOFF and WOFF2
An online converter for font files. It reads TTF, OTF, WOFF, WOFF2 and TrueType collections, writes WOFF2, WOFF, TTF and OTF, and along the way can trim a font to the languages you need, freeze a variable font at one weight, remove hinting, and repair the vertical metrics that make line spacing differ between Windows, macOS and Android. Conversion runs in your browser on the same code the reference tools use: the WOFF2 encoder from google/woff2 and HarfBuzz's subsetter, both compiled to WebAssembly.
How to use it
Drop a TTF, OTF, WOFF, WOFF2 or a .ttc collection. Add the whole family at once to get one stylesheet covering every weight.
The card names the font, its glyph and character counts, its variable axes and its embedding flag. Open "What this font can do" for languages, OpenType features and the vertical metrics.
WOFF2 alone covers the web. Add WOFF only if you must support browsers older than 2016; TTF/OTF is for desktop and print.
Keeping everything is the safe default. Cut to selected languages for a normal site, or to an exact string for a logo.
The comparison strip shows the original and the result side by side. Then download a single file, or the ZIP with the CSS and demo page.
Convert, trim and repair a font — and see it render before you ship it
Webfont kit
The @font-face rules are derived from the font itself: weight and style come from OS/2 and fvar, so a bold file will not get synthetically emboldened on top of its own bold.