TTF to WOFF2 Converter
Make small, fast-loading WOFF2 web fonts from TTF files, with the @font-face CSS ready to paste.
Runs in your browser. Files never leave your device.
TTF, OTF, WOFF or WOFF2 · up to 50 at once · or drop them here
Processed on your device — fonts are never uploaded.
More file converters
Quick answer
To convert TTF to WOFF2, add your TTF files (up to 50), check the preview and press Convert to WOFF2. Download the fonts or a ZIP with a fonts.css file, and copy the @font-face rule into your stylesheet. The conversion runs in your browser, keeps every glyph and doesn't upload your fonts.
How to convert TTF to WOFF2
Add your TTF fonts
Drop in one TTF or up to 50, or tap to pick them. OTF, WOFF and WOFF2 files work too.
Check the preview
Make sure it's the right font, weight and style, in your own sample text.
Convert to WOFF2
Each font is compressed with Brotli and the WOFF2 glyph encoding, right on your device.
Download and add the CSS
Save the WOFF2 files and paste the @font-face rule into your site's stylesheet.
Why websites use WOFF2 instead of TTF
A TTF is a desktop font with no compression. WOFF2 holds the same font compressed with Brotli and a compact encoding of the TrueType outlines, so it's often around half the size of the TTF, and every current browser supports it. A smaller font file means text appears sooner, especially on phones.
The conversion is lossless: every glyph, kerning pair, OpenType feature and hinting instruction is kept, and you can turn the WOFF2 back into a TTF any time. Ripify uses Google's own woff2 library, the same code that browsers use to read WOFF2, running in your browser so your fonts aren't uploaded.
With the WOFF2 files you get an @font-face rule for each font, using its real family name, weight and style and font-display: swap. Converting doesn't change a font's licence, so check that it allows web embedding before you publish it.
Last updated
Why Use Ripify TTF to WOFF2
Google's WOFF2 encoder
The reference woff2 library, compiled to WebAssembly, makes standard WOFF2 files.
Lossless
Glyphs, kerning, features and hinting are kept; convert back to TTF whenever you like.
@font-face CSS
A ready rule per font with family, weight, style and font-display: swap.
Whole families at once
Convert up to 50 weights and styles in one go and get them as a ZIP with fonts.css.