Guide: Convert fonts: TTF, OTF, WOFF and WOFF2
When to use it
To use a font on a web page (WOFF2 is the lightest format), install it on your system from a web file or reduce your site’s typeface weight.
Tips
- WOFF2 compresses much more than WOFF and all current browsers support it; WOFF remains for very old browsers.
- The file is converted without changing the glyphs: only the container and compression change.
- An OTF with PostScript outlines (CFF) can be turned into TTF, but the curve conversion may slightly alter some shapes.
- Check the license that comes with the font: it may restrict web use, modification or redistribution.
Frequently asked questions
Does converting a font change its license?
No. The license is the same as the original file’s. Only use fonts you have the right to use that way.
Is my font uploaded?
No: the conversion happens in your browser.
What is @font-face code?
It is the CSS rule that tells the browser where the font file is and what it is called.