Skip to content
Fontsource Logo

Webfont Optimizer

Subset and compress fonts into WOFF2 + CSS. Processed in your browser.

Drop Font Files or Browse

TTF, OTF, WOFF, WOFF2 · 250 MB max

Loading character options…

Output: WOFF2 · CSS

Output settings

For legacy browser support. Increases package size.

Creates one index.css per family with @font-face rules.

Prepended to font URLs in index.css.

Generated URL: url('./files/font-file.woff2')

Smaller webfonts with font subsetting

Font subsetting removes characters you do not need. Choose character sets for a website or exact text for a logo or heading, then download WOFF2 files and matching @font-face CSS. Savings depend on your fonts and selection.

Only need a different file format? Use the font converter.