Font Subsetter and WOFF2 Converter

This font subsetter makes web fonts smaller. Drop a font file or a whole family (TTF, OTF or WOFF), choose the characters you need — English, Western or Central European, Greek, Cyrillic, Vietnamese, Arabic, Devanagari, or text pasted from your site — and it removes the rest and converts to WOFF2, with a WOFF fallback and ready-made @font-face CSS including unicode-range. A built-in mode converts to WOFF and checks character coverage without any download. It runs in your browser.

Common character sets

PresetUnicode rangeCharacters
Basic LatinU+0020-007E95
Latin-1 SupplementU+00A0-00FF96
Latin Extended-AU+0100-017F128
GreekU+0370-03FF144
CyrillicU+0400-04FF256

When to use it

  1. Shrink a web font to Latin characters only.
  2. Make a tiny font for a logo or headline.
  3. Convert a desktop font family to WOFF2 for a website.
  4. Split a font by script with unicode-range.
  5. Check which characters a font supports.

How to Use

  1. Pick built-in or subset + WOFF2.
  2. Drop font files.
  3. Choose characters, presets and ranges.
  4. Download fonts and fonts.css as a ZIP.

Features

  1. Subsetting with harfbuzz
  2. WOFF2 and WOFF output
  3. @font-face CSS with unicode-range
  4. Character coverage check
  5. Whole families at once
  6. Download-free WOFF mode

FAQs

How much smaller does subsetting make a font?

Often 70–95%: a Latin-only WOFF2 of a large multilingual font can drop from hundreds of kilobytes to under 30 KB.

Do I need to download anything?

Only for subsetting and WOFF2. The subsetter and encoder (about 1.6 MB) download once from jsDelivr and stay in your browser until you clear them; WOFF conversion works without them.

Is it legal to subset a font?

Check the licence. Open-source fonts under the SIL Open Font License allow it; many commercial licences restrict web use or modification.

What is unicode-range?

A @font-face descriptor telling the browser which characters a file covers, so it downloads the file only when a page uses them.

Is anything uploaded?

No. Images and fonts are processed in your browser and never leave your device.

Technical Details

Fonts are parsed in the browser to read their names, weight, style and cmap coverage. The built-in engine repackages TTF or OTF as WOFF 1.0 (zlib-compressed tables) with no download. The full engine downloads harfbuzz's subsetter (WebAssembly) and Google's WOFF2 encoder once from jsDelivr, verifies their SHA-384 fingerprints, and removes every glyph not needed for the chosen characters (presets, pasted text and Unicode ranges) before Brotli-based WOFF2 compression. Each font gets an @font-face rule with its weight, style and unicode-range, and all files plus fonts.css download as a ZIP.

Web & CSS Tools

Web & CSS Tools

  • Viewport Meta Tag Generator
  • Web App Manifest Generator
  • CSS Button Generator
  • CSS Text Shadow Generator
  • Glassmorphism Generator
  • Neumorphism Generator
  • CSS Filter Generator
  • CSS Loading Spinner Generator