Custom Text Character SubsetterBuild micro-subset WOFF2 for specimen "Ā" (Fixture A)

Specimen Text-to-Font Micro-Subsetter

Paste exact logo, hero headline, or banner copy to compile an ultra-tiny WOFF2 micro-font containing only the characters your text uses.

WOFF2 Brotli · HarfBuzz Subsetter

Drop a .ttf or .otf font to compress to WOFF2 & subset

Accepts .ttf, .otf, .woff · Up to 15 MB · Your font stays on this device

Character Subset Presets
Fallback Metric Base
Verified Sample · OFL-1.1Sample file: proof-sans.ttf (2.0 KB)

Verified Sample Result & Instant Demo

Try Sample File in 1 Click

Subsetting proof-sans.ttf to single-character specimen "Ā" produces a 548-byte WOFF2 where U+0100 is mapped, U+0041 is unmapped, and all 4 required glyph slots stay intact.

Mapped Specimen Chars
1chars
Retained Glyphs (.notdef+parts)
4glyphs
Micro-Subset WOFF2
548bytes
Cryptographic SHA-256 & Engine Provenance
Sample Input File
proof-sans.ttf · 2016 bytes · OFL-1.1
Browser Codec Engine
harfbuzz-subset.wasm 1.6.4
Input SHA-256 Digest
f56ba3abc29aa1aec38792693fc882c67d02bac69103358fa0bf12d3b27bc4a3
Engine Artifact SHA-256
62415fe6bad92ef16f3e5d2dbed6c66a4adec7f5a59c6d27084811c92cce1ba5
Reference Verification
fontTools 4.64.0
Schema & Preset ID
fonts.ttftowoff2.text-to-font-subset.v1 · subset-specimen-text · subset-nfc-specimen-amacron

Subsetting Display Typefaces to Sub-3KB Hero Headline Micro-Fonts

NFC Normalization and Deduplicated Scalar Extraction

Decorative display serifs, variable mastheads, and calligraphic script fonts often weigh 150 KB+ even when used exclusively for a three-word hero heading or brand wordmark. Compiling a specimen-specific micro-subset strips thousands of unused characters down to the exact 10 to 25 unique code points in your string—typically producing a 1 KB to 3 KB WOFF2 file that loads instantaneously.

Before passing your pasted text into harfbuzz-subset.wasm, our pipeline normalizes input strings to Unicode Canonical Composition (NFC) so decomposed macOS clipboard sequences (such as A + U+0304 combining macron) resolve cleanly to precomposed U+0100 mappings while flagging any characters absent from the source font’s cmap.

  • Normalizes pasted text to NFC and deduplicates surrogate pairs across supplementary planes.
  • Reports any missing characters up front before you deploy broken hero headlines.
  • Preserves GSUB kerning and ligature substitutions applicable to your pasted letters.
  • Outputs exact CSS unicode-range rules scoped strictly to your headline characters.
  • Retains unmapped composite base contours so accented headline characters render without gaps.
  • Ideal for above-the-fold mastheads, campaign banners, and interactive canvas typography.

Common Questions & Answers

What happens if I change the hero headline text next month?

Because a text-subsetted font contains only the characters from your specimen string, always re-run the micro-subsetter when editing headline copy—or pair it with a full lazy fallback slice.

Why does my 1-character subset of "Ā" report 4 glyphs instead of 1?

Every valid OpenType font requires glyph 0 (.notdef), plus Ā (glyph 3) is a composite referencing unmapped contour glyphs for A (glyph 1) and macron (glyph 2).

100% Private In-Browser Processing

Verified local execution

  • Zero Cloud Uploads

    Your files stay on this device and are never sent to any remote server.

  • Instant Local Speed

    Runs directly on your device up to 15 MB with no upload queue.

  • No Account Needed

    Open a file, inspect your preview, and download immediately without signing up.

View Security Architecture
Execution Sandbox
Dedicated Web Worker
Post-Init Network
Locked (0 Egress)
Max File Budget
15 MB
Cross-Origin Isolation
Single-Thread WASM

After local WebAssembly initialization, Worker network APIs (fetch, XMLHttpRequest, WebSocket) are locked to prevent outbound data egress.