Processed online by Toolvito
Font Subsetter
A whole font can be hundreds of kilobytes. Keep only the letters, numbers and signs your website needs, and the font loads many times faster.
How to subset a font
- Choose the font file (TTF, OTF, WOFF or WOFF2). Only use fonts whose licence allows changing them for the web.
- Type the text your page uses, and/or tick groups of characters such as Basic Latin or Cyrillic.
- Choose WOFF2 (best for websites) and press Subset font. Download the font and the CSS file.
What is kept
- The characters you typed and ticked, plus the extra glyphs that layout features need: kerning, ligatures (fi, fl), accents and alternates. All features keeps every feature; none keeps only the plain letters.
- Hinting improves small text on Windows; turning it off makes the file smaller.
- The font’s name, copyright and licence texts stay in the file. Keep all names also keeps the rest of the name table.
- The CSS file has an @font-face rule with the font name, weight and style and a unicode-range, so browsers only download it for pages that use those characters.
Licence flags
- Fonts carry licence flags (OS/2 fsType). The tool shows them with the copyright, licence text and licence link stored in the font.
- A font whose flags say no subsetting is refused. Restricted licence embedding gets a warning. The font’s licence decides what you may do; many free fonts (for example the SIL Open Font License) allow subsetting.
- The server uses your submitted font and the chosen characters to make the subset. Download the result within one hour after the job finishes. The hourly cleanup normally removes files within one to two hours after completion.
Good to know
- Characters you typed that the font does not have are listed; they cannot be added.
- To convert a whole font between TTF, OTF, WOFF and WOFF2 use the Font Converter.