Font Subset Generator

Keep the glyphs needed for your text and shrink TTF, OTF, WOFF and WOFF2 fonts. Preview and download font subsets entirely in your browser.

Source font
Your font and text stay on this device.
Text to keep

Include every character your site needs, including punctuation and spaces. Repeated characters are counted once.

Unique characters: 0

Keeps layout features, hinting and variable font axes.

What is a font subset?

A font subset contains the characters needed for a particular piece of text, plus the supporting glyphs required to render them. Removing unused glyphs can greatly reduce font downloads, especially for large Chinese, Japanese and Korean fonts or a fixed heading, logo or campaign page.

How to use this tool

Choose a TTF, OTF, WOFF or WOFF2 file and paste all the text that will use it. Choose WOFF2 for web delivery or TTF / OTF for an uncompressed font, then generate the subset. Compare the sizes, check the preview, and download the font and its matching CSS. Font processing runs locally in a Web Worker.

What is preserved?

HarfBuzz keeps the glyph dependencies and OpenType layout features needed for ligatures, kerning, combining marks and complex scripts. Hinting and variable font axes are retained. Canonically equivalent composed and decomposed text forms are included where the source font supports them. The preview uses the generated font, and missing source characters are listed separately.

Practical tips

  • Include spaces, punctuation, numbers and every translated string you need. Add the Latin preset if your text will also contain basic Latin characters.
  • Regenerate the subset whenever your text changes. A fixed subset is best for known content; use broader character coverage for user-generated text.
  • Subsetting cannot add characters missing from the original font. Keep a CSS fallback font for characters outside the subset.
  • Use a font whose license permits modification and web embedding. Font collections (.ttc / .otc) must be exported as individual fonts first.
  • Small or already-subset fonts may not become smaller. WOFF2 usually gives the smallest web download; glyph counts also include supporting glyphs.