Skip to main content
WWowFreeFonts

Google Fonts Subset (by Text)

Ship only the letters you use. Type your headline or brand name, get a Google Fonts CSS URL that only downloads those glyphs — often 90% smaller.

Runs entirely in your browser — no upload, no registration.

22 unique code points requested
HTML
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400,700&text=The%20quickbrownfx%E2%80%94lgtyp&display=swap">
Raw URL
https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400,700&text=The%20quickbrownfx%E2%80%94lgtyp&display=swap

What this tool does

Google's CSS2 API accepts a &text= parameter. When present, Google generates a font file containing only the requested code points.

Why you might need it

Perfect for hero headlines and logo wordmarks — a huge display font shrinks from 60KB+ to a couple of KB.

How to use it

  1. Type or paste the exact text you need.
  2. Set weights (comma-separated).
  3. Copy the <link> tag.

Limitations

  • Only works for text that never changes (like a fixed brand name). For dynamic content, don't subset by text — use unicode-range instead.

Always review the included licence before commercial use. Do not remove copyright records, designer names, licensing metadata or embedding restrictions from any font you process.

Related tools