Pemuatan Halaman Lebih Cepat
File font yang lebih kecil diunduh lebih cepat, meningkatkan metrik LCP (Largest Contentful Paint), yang sangat penting untuk kinerja situs.
Kurangi ukuran file font web Anda dengan membuat subset font. Hanya simpan karakter yang Anda butuhkan, dengan dukungan untuk karakter kustom, rentang Unicode, dan pratinjau langsung. Tingkatkan kinerja situs Anda dan Core Web Vitals.
A font subsetter reduces font file sizes by extracting only the characters (glyphs) you actually need. A full font file may contain thousands of glyphs for multiple languages, but a website typically uses only a few hundred. Subsetting a font from 500 KB to 50 KB dramatically improves page load speed. This tool processes fonts locally using opentype.js -- no font files are uploaded.
Simpan hanya karakter yang benar-benar digunakan situs web Anda. Mendukung TTF, OTF, WOFF, dan WOFF2 dengan rentang Unicode. Semua diproses secara lokal.
Unggah file font .TTF, .OTF, .WOFF, atau .WOFF2 Anda menggunakan area seret dan lepas.
Masukkan semua karakter yang benar-benar digunakan di situs Anda ke dalam kotak teks. Anda juga dapat menambahkan rentang Unicode umum, seperti U+4E00-9FFF untuk karakter Cina.
Pilih format output yang Anda inginkan, baik OTF atau TTF, dari pengaturan ekspor.
Klik 'Buat Subset'. Alat akan menghasilkan file font baru yang lebih kecil. Unduh font yang dioptimalkan dan gunakan di proyek Anda.
File font yang lebih kecil diunduh lebih cepat, meningkatkan metrik LCP (Largest Contentful Paint), yang sangat penting untuk kinerja situs.
Pengguna melihat konten teks Anda lebih cepat, mengurangi waktu tunggu, yang dapat menurunkan rasio pentalan dan meningkatkan kepuasan.
Kecepatan halaman adalah faktor peringkat utama untuk mesin pencari seperti Google. Mengoptimalkan font adalah cara yang ampuh untuk meningkatkan skor Core Web Vitals Anda.
Modern font files (OTF, TTF, WOFF, WOFF2) contain much more than letter shapes. A typical Latin font includes uppercase and lowercase letters, digits, punctuation, accented characters, ligatures, alternate glyphs, kerning pairs, and OpenType features (small caps, old-style figures, contextual alternates). A comprehensive font family can include 1,000+ glyphs. When you use a font on a website that only displays English text, you're shipping 90% of the font's data unused -- wasting bandwidth and slowing page load.
Font subsetting solves this by extracting only the glyphs you need. For an English-only website, you might need just the 95 printable ASCII characters -- reducing the font from 500 KB to 20-50 KB. For a site that uses basic Latin + common accented characters, you might need 200 glyphs. The subsetting tool uses opentype.js to parse the font's binary structure, extract the specified glyphs and their associated metrics (kerning, advance widths), and rebuild a valid font file with only those glyphs.
Format WOFF2 menyediakan kompresi tambahan di atas subsetting. WOFF2 menggunakan kompresi Brotli, yang mencapai rasio kompresi 15-30% lebih baik daripada kompresi deflate yang digunakan dalam WOFF. Untuk penggunaan web, WOFF2 direkomendasikan karena memberikan ukuran file terkecil sambil mempertahankan kualitas penuh.
For most websites, the simplest strategy is to subset to the Unicode Basic Latin range (U+0020 to U+007E), which covers all ASCII characters. This is sufficient for English content. For multilingual sites, subset to the specific Unicode ranges needed for each language and use the unicode-range CSS property to load only the relevant subset for each page. Google Fonts uses this technique -- it serves different subsets based on the page's content.
When subsetting, be careful not to remove glyphs that are referenced by OpenType features. For example, small caps feature (smcp) replaces lowercase letters with small capital versions -- if you remove the small caps glyphs, the feature will break. Our tool preserves the font's feature definitions but only includes the glyphs you specify. If you need OpenType features, include all glyphs that those features reference. For body text on the web, it's often best to disable complex OpenType features and subset to just the basic letterforms.
Perbandingan langsung alat subset font populer.
| Fitur | NovaTools | Font Squirrel | Everything Fonts |
|---|---|---|---|
| Privasi (tanpa unggah) | 100% browser | Unggah ke server | Unggah ke server |
| Input TTF, OTF, WOFF | Semua format | Terbatas | |
| Output WOFF2 | |||
| Set karakter kustom | Terbatas | ||
| Preserves OpenType features | |||
| Tanpa pendaftaran | Email diperlukan |
Font Squirrel dan subsetter berbasis server lainnya mengharuskan Anda mengunggah file font. Alat kami menggunakan opentype.js untuk memproses semuanya secara lokal di browser Anda.
Alat ini berjalan sepenuhnya di browser Anda. File Anda tidak diunggah, disimpan, atau dianalisis.
Bahkan jika koneksi internet Anda terputus, file Anda tetap aman.
Pelajari apa itu font subsetting, mengapa sangat penting untuk Core Web Vitals dan SEO, dan cara menggunakan alat online gratis kami untuk mengurangi ukuran file font secara drastis demi performa website yang lebih baik.
Pelajari apa itu Base64, kapan memakai Base64 standar atau URL-safe, dan cara encode/decode teks secara lokal di browser.
Temukan alat pengembang gratis terbaik yang meningkatkan produktivitas tanpa menghabiskan banyak uang. Dari pemformat kode hingga penguji API, alat-alat ini akan menyederhanakan alur kerja Anda.