Skip to content
WebTricks

Font converter (WOFF2)

Convert TTF/OTF fonts to WOFF2 for the web, or unpack WOFF2 back to TTF. Compresses locally in your browser.

About this font converter

Convert desktop fonts (TTF/OTF) to WOFF2 — the compressed format the web expects — or unpack a WOFF2 back to TTF. Compression runs locally via WebAssembly, so your font never leaves the browser. You see the size saving and download the result.

Self-hosting fonts

Converting to WOFF2 is the first step to self-hosting a font instead of loading it from a third party — which is faster, more private, and avoids an extra connection. Pair the WOFF2 file with an @font-face rule and font-display: swap for the best loading behavior.

FAQ

Why use WOFF2 on the web?

WOFF2 is roughly 30 to 50 percent smaller than raw TTF/OTF thanks to Brotli compression, so fonts download faster, and it is supported by every modern browser.

Can I convert any font?

You can convert fonts you are licensed to use on the web. The tool does not check licensing, so make sure your font's license permits web embedding.