How to convert TTF to WOFF
- Choose or drop one or more font files.
- TTF and OTF files are converted to WOFF. WOFF files are converted back to TTF or OTF.
- A single font downloads automatically. For several, click Download next to each one.
What is WOFF?
WOFF (Web Open Font Format) is a font file made for websites. It contains exactly the same letter shapes as the TTF or OTF it came from, packed with compression so it downloads faster. Every current browser supports it. The font looks identical; only the file gets smaller, usually by 40% to 60%.
How to use a WOFF font on your website
Upload the .woff file to your site, then add this to your CSS, changing the name and path to match:
@font-face {
font-family: "My Font";
src: url("/fonts/my-font.woff") format("woff");
font-display: swap;
}
body { font-family: "My Font", sans-serif; }
The font-display: swap line shows text in a fallback font straight away and switches when your font has loaded, so visitors never stare at blank text.
WOFF or WOFF2?
WOFF2 is a newer format that compresses a little further, and WOFF is the version supported by every browser, including old ones. This tool makes WOFF files. They work everywhere and are a solid choice on their own, or as the fallback next to a WOFF2 file.
Check the font's license
Fonts are licensed software. Before putting a font on a website, check that its license allows web use. Free fonts under the Open Font License, such as most of those on Google Fonts, can be converted and self-hosted freely.
Your fonts are never uploaded
The conversion runs in your web browser on your own device. Font files are not sent to a server, and there is no sign-up or limit.
Frequently asked questions
How do I convert TTF to WOFF?
Drop the .ttf file in and the .woff file downloads straight away.
Can I convert OTF to WOFF?
Yes. OTF fonts are converted the same way as TTF fonts.
Can I convert WOFF back to TTF?
Yes. Drop in a .woff file and you get the original TTF or OTF back.
Does converting change how the font looks?
No. A WOFF file holds the same font data, just compressed, so the letters are identical.