Font Converter and Web Font Subsetter
Open one or many fonts, choose WOFF2, WOFF or TTF/OTF output, keep every character or subset by language, by pasted text or by Unicode ranges, keep kerning between kept letters, then copy ready @font-face rules with unicode-range and download everything as a ZIP.
Berjalan di browser Anda. File Anda tidak pernah keluar dari perangkat. Lihat cara memeriksa
…
Cara melakukannya
- 1Open fonts
TTF, OTF, WOFF or WOFF2.
- 2Pick outputs
WOFF2, WOFF, TTF or OTF.
- 3Choose a subset
Language, text or ranges.
- 4Convert
See sizes and savings.
- 5Copy the CSS
And download the ZIP.
Tentang alat ini
Web fonts are often the heaviest files on a page after images. A desktop font can hold thousands of glyphs for scripts your site never shows, and serving it as raw TTF wastes more again. Two steps fix that: compress it into WOFF2, which uses Brotli and font-specific transforms, and subset it to the characters you need. This tool does both in your browser. Conversion between TTF, OTF, WOFF and WOFF2 is lossless when you keep every character. Subsetting keeps only the code points you choose, by language group, by the exact characters in a piece of text, or by Unicode ranges, and keeps kerning between the letters that remain. The CSS panel writes @font-face rules that match.
Who this is for
Web developers improving page speed, designers handing fonts to developers, WordPress and Shopify site owners self-hosting fonts, and app builders who need a small icon or display font.
Opening fonts
Open TTF, OTF, WOFF or WOFF2 files, one or several at a time. The table shows the family, style, weight, number of glyphs, number of mapped characters and file size. Font collections (.ttc) must be split first.
Lossless conversion
With Keep every character, the font's tables are repacked without changes: WOFF uses zlib compression and WOFF2 uses the official encoder compiled to WebAssembly. Hinting, OpenType features and metadata stay intact.
Subsetting
By language offers Basic Latin, Latin-1, Latin Extended-A, Vietnamese, Greek, Cyrillic and a digits-and-currency set. Only characters used in my text keeps exactly the characters in pasted text or HTML, ideal for a logo or headline font. Custom ranges accept values such as U+0020-007E, U+00E9. Kerning between kept characters is preserved in a kern table, and you can rename the family to avoid clashes with installed copies.
CSS output
Set the URL folder and font-display, and the tool writes one @font-face per font with formats in the best order, weight, style and, for subsets, a unicode-range so browsers only download what a page needs. Copy it or take fonts.css from the ZIP.
Size report
Results list every output file and its size, with the saving against the originals.
Tips
- Prefer WOFF2 alone for modern browsers; add WOFF only for very old ones. - Split large fonts by language and let unicode-range load them on demand. - Use font-display: swap for body text.
Common mistakes
- Subsetting a body font so tightly that user comments show fallback letters. - Ignoring the font licence's rules on web use and modification.
Limits
Subsetting rebuilds outlines in CFF form; hinting and complex layout features such as ligatures are dropped. Variable fonts lose their variations when subset. This tool does not check licences and is not legal advice.
Contoh perhitungan
A 755 KB TrueType font with 3,381 glyphs becomes a 313 KB WOFF2 losslessly; subset to Basic Latin plus Latin-1 it keeps 206 characters and 117 kerning pairs and shrinks to 16.8 KB as WOFF2.
Fakta singkat
- Kategori: Pengembang & data
- Berfungsi di browser Anda, tanpa daftar, tanpa unggah.
- Masukan Anda tetap di perangkat Anda.
- Tersedia dalam bahasa Inggris.
- Konten terakhir ditinjau:
- Sumber resmi: W3C WOFF 1.0 and WOFF 2.0 recommendations; CSS Fonts Level 4 unicode-range
Pertanyaan yang sering diajukan
Is conversion to WOFF2 lossless?
Yes, when you keep every character.
What does subsetting remove?
Glyphs you did not select, plus hinting and complex layout features.
Can I subset to the letters of one headline?
Yes. Paste the text and only those characters are kept.
Are my fonts uploaded?
No. Everything runs in your browser.
Does it write the CSS for me?
Yes, with formats, weight, style, font-display and unicode-range.
Can I convert several fonts at once?
Yes. Open them together and download one ZIP.
