font-squeeze
onblog/font-squeeze · Public GitHub repository
A browser-only WebFont subsetter and container converter for ttf/woff/woff2 — fonts never leave the page. 字压:纯前端字体按需裁剪与格式转换工具
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
Subset a WebFont down to the characters your page actually uses, and convert freely between ttf / woff / woff2.
Everything runs in WebAssembly and the browser's native compression streams — your font never leaves the page.
No backend, no queue, no waiting. Drop a font in, get the result back — fully offline.
- Zero backend: host the static files and you are done — no Workers CPU time consumed
- Private by design: fonts stay in local memory and are gone on refresh
- Character extraction: text nodes, placeholder, pseudo-element content, alt / title / value
- Multiple input sources: paste text / paste HTML / try fetching a URL (subject to same-origin policy)
- Multiple outputs: source-outline ttf/otf, woff, woff2 — individually, as a zip, plus generated @font-face code
Requirements and intended audience
Subset a WebFont down to the characters your page actually uses, and convert freely between ttf / woff / woff2.
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-10-21. Source: https://github.com/onblog/font-squeeze/blob/main/README.md
Recorded maintenance information
Last recorded source update: 2026-10-23. A published release has not been recorded. These dates do not guarantee ongoing maintenance.
- Technologies
- JavaScript
- Licence
- AGPL-3.0. Source-sharing conditions can apply when modified software is used over a network. Review the exact licence terms.
- Demo check
- A public page loaded on 2026-11-16. This does not test every feature.
Browse related categories
More projects to explore
hyperframes
heygen-com/hyperframes
Open-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
archify
tt-a1i/archify
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
AdminLTE
ColorlibHQ/AdminLTE
AdminLTE - Free admin dashboard template based on Bootstrap 5
ppt-master
hugohe3/ppt-master
AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He