Free tool

Runs in your browser

OTF to WOFF2 converter

Convert OTF fonts to WOFF2 in your browser, with every character kept, and copy the @font-face CSS. Your font never leaves your device.

1 · Add a font

Only subset fonts whose license allows it. Most open-source fonts (SIL OFL, Apache) do. Commercial licenses often require webfont rights.

2 · What you get

A WOFF2 file with every character, kerning pair and OpenType feature of the original, packed with Brotli compression for the web. The @font-face CSS and a preload tag come with it.

Only need Latin characters? The font subsetter can make the file much smaller.

3 · Your WOFF2

Loading the font engine…
Add a font above to see the subset.

Why convert OTF to WOFF2

OTF files usually hold CFF outlines, the PostScript-style curves Adobe fonts have always used. WOFF2 keeps those outlines exactly and adds Brotli compression, so the font is far smaller on the web while looking identical.

Every character is kept here. To shrink the font further, the font subsetter can drop the characters your site never uses. Make sure the font’s license allows web use first; commercial OTF fonts often need a separate webfont license.

Questions

Is there any difference between OTF and TTF for this?

Not for the result. Both convert to WOFF2 the same way, and browsers handle either kind of outline.

Is my font uploaded?

No. Everything runs in your browser, inside this page.

More tools

Free tools that run in your browser

Responsive image converter

Turn one image into WebP, AVIF and JPEG at every width, with picture markup ready to paste.

2.4 MB → 142 KB

Font subsetter

Keep only the characters your site uses and ship the font as WOFF2, with @font-face CSS.

207 KB → 35 KB

SVG optimizer

Strip editor clutter from SVGs and export them as inline SVG, React components or CSS.

12 KB → 3.0 KB

Favicon generator

Turn one logo into favicon.ico, an SVG icon, home screen icons and a web manifest.

1 logo → 6 icons