FreeSmaller web fonts

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.

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.

Step-by-Step Guide

How to convert TTF to WOFF2

1

Add your TTF fonts

Drop in one TTF or up to 50, or tap to pick them. OTF, WOFF and WOFF2 files work too.

2

Check the preview

Make sure it's the right font, weight and style, in your own sample text.

3

Convert to WOFF2

Each font is compressed with Brotli and the WOFF2 glyph encoding, right on your device.

4

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.

Frequently Asked Questions

TTF to WOFF2 FAQ

How much smaller is WOFF2 than TTF?▼
It depends on the font, but WOFF2 is often around half the size of the TTF. The result shows the size before and after for each font.
Do I still need TTF or WOFF files for my website?▼
No. Every current version of Chrome, Edge, Firefox and Safari supports WOFF2. You only need WOFF as well for browsers from before 2016, and TTF isn't needed on the web at all.
Will the font look different after converting?▼
No. WOFF2 only compresses the font, so it draws exactly the same, with the same kerning, ligatures and hinting.
Does converting a font change its licence?▼
No. A converted font is still the same font under the same licence. Many free fonts (for example those under the SIL Open Font License) can be used on websites, but commercial fonts often need a separate web licence. Check the licence before you publish a font you didn't make.
Are my fonts uploaded?▼
No. The fonts are read and converted in your browser and never leave your device. Only the WOFF2 converter itself (Google's open-source woff2 library) is downloaded the first time you use it.

More Free Tools from Ripify