TTF to WOFF2 converter
Convert TTF and OTF fonts to WOFF2 in your browser and get a ready @font-face rule. Free, with no upload and no account.
Drop font files here, or choose them from your device.
TTF, OTF, WOFF or WOFF2, up to 30 MB. The file is read in your browser and is not uploaded.Converting changes the wrapper, not the license. The outlines, names and license text inside the font stay exactly as they were. Serving a font on a website needs a license that allows web use.
Why convert TTF to WOFF2?
WOFF2 is the same font in a much smaller package. It adds Brotli compression and a font-specific preprocessing step, and often brings a TTF down to less than half its size. Every current browser supports it, so for a website it is the only format you need to serve.
The conversion changes only the wrapper. Outlines, hinting, kerning, OpenType features and variable axes are carried over, which is why you can go back with the WOFF2 to TTF converter.
This tool does not subset. If your pages only need Latin characters, removing the rest saves far more than compression does, and that takes a subsetting tool. Once you have the file, add font-display to the rule so text stays visible while the font loads. See font-display explained, and build a longer rule with the @font-face generator.
Is WOFF2 better than WOFF?
For size, yes. WOFF2 files are usually around 30 percent smaller than WOFF. WOFF is only needed for very old browsers such as Internet Explorer 11.
Can I convert OTF to WOFF2?
Yes. Drop the OTF file the same way. WOFF2 wraps both TrueType and PostScript outlines.
Does converting to WOFF2 reduce quality?
No. The compression is lossless. The shapes, spacing and features are the same as in the original file.
Is my font uploaded anywhere?
No. The conversion runs in your browser with WebAssembly. The file never leaves your device.
Am I allowed to convert a font?
That depends on its license. Open source fonts, such as those under the SIL Open Font License, allow it. Many commercial desktop licenses do not allow converting a font or serving it on the web, and sell a separate web license instead.
Check that your web font really loads.
Font Inspector names the font the browser actually rendered and flags it when a fallback is showing. One click on any text. Free, no account.