popular-web-fonts-woff2
v1.0.3
Published
CLI pipeline for downloading popular web fonts and converting them from TTF/OTF to WOFF2 assets.
Downloads
213
Maintainers
Readme
popular-web-fonts-woff2
Ready-to-use popular web fonts in WOFF2 format — use them in any website or app via CDN link.
No build step needed. No tools to install. Just copy a URL.
Fonts are committed directly to this repository and served from a stable CDN (jsDelivr, GitHub raw, unpkg). The npm package ships the CLI tool only — see CLI usage if you want to run the pipeline yourself.
Quick start — add a font to your website
Pick any font from the available families below and add a @font-face rule to your CSS.
jsDelivr CDN (recommended — global CDN, fast, always available)
@font-face {
font-family: "Inter";
src: url("https://cdn.jsdelivr.net/gh/Nick2bad4u/[email protected]/fonts/woff2/Inter/Inter-regular.woff2")
format("woff2");
font-display: swap;
}Then use it in your CSS:
body {
font-family: "Inter", sans-serif;
}Raw GitHub URL
@font-face {
font-family: "Inter";
src: url("https://raw.githubusercontent.com/Nick2bad4u/popular-web-fonts-woff2/v1.0.0/fonts/woff2/Inter/Inter-regular.woff2")
format("woff2");
font-display: swap;
}Tip: Always pin a version tag (
v1.0.0) rather than usingmainso your fonts never change unexpectedly.
URL pattern
All font files follow this pattern:
https://cdn.jsdelivr.net/gh/Nick2bad4u/popular-web-fonts-woff2@<version>/fonts/woff2/<Family>/<FileName>.woff2| Part | Example |
| ------------ | --------------- |
| <version> | v1.0.0 |
| <Family> | Inter |
| <FileName> | Inter-regular |
Find available files by browsing the fonts/woff2/ folder in this repository, or see the full asset index.
You can also browse a searchable index page on GitHub Pages: /index.html
Install via npm (CLI tool)
The npm package ships the CLI pipeline only — the font files themselves are not bundled. Fonts are served from CDN; use the URLs above in your CSS directly.
npm install --save-dev popular-web-fonts-woff2or run it without installing:
npx popular-web-fonts-woff2 --helpThe CLI lets you download source fonts and convert them to WOFF2 in your own project. See CLI usage for all available flags.
Why not bundle the fonts? The full font set is several GB — far too large for an npm package. CDN delivery via jsDelivr / GitHub raw is faster, cheaper, and versioned. Pin a release tag in your URL and you get the same file forever.
CLI usage
Usage
npx popular-web-fonts-woff2 --source-dir ./fonts/original [options]Execution flags
--convertenable conversion mode (default is plan mode)--confirm/--yesrequired safety gate for non-dry-run conversion--dry-runplan only, no conversion writes--concurrency <n>max parallel conversions (default:1)--timeout <ms>per-file converter timeout (default:60000/60s)--index-file <path>output index file path (default:<out-dir>/index.json)--verbosemore detailed progress output--debugdebug output (implies--verbose)--jsonmachine-readable summary output
Examples
# Plan only (safe default)
npx popular-web-fonts-woff2 --source-dir ./fonts/original
# Convert with explicit safety confirmation
npx popular-web-fonts-woff2 --source-dir ./fonts/original --convert --confirm
# Faster conversion with custom concurrency and timeout
npx popular-web-fonts-woff2 --source-dir ./fonts/original --convert --confirm --concurrency 4 --timeout 120000
# JSON summary and explicit index file
npx popular-web-fonts-woff2 --source-dir ./fonts/original --convert --confirm --json --index-file ./fonts/woff2/index.jsonAvailable font families
All popular web font families are included.
Browse the full list in the fonts/woff2/ directory, or search the interactive browser.
Selected families:
| Family | Folder name |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------ |
| ABeeZee | ABeeZee |
| Abel | Abel |
| AbrilFatface | AbrilFatface |
| AlfaSlabOne | AlfaSlabOne |
| Almarai | Almarai |
| AnekTelugu | AnekTelugu |
| Anton | Anton |
| Archivo | Archivo |
| ArchivoBlack | ArchivoBlack |
| Arimo | Arimo |
| Arvo | Arvo |
| Asap | Asap |
| Assistant | Assistant |
| Barlow | Barlow |
| BarlowCondensed | BarlowCondensed |
| BarlowSemiCondensed | BarlowSemiCondensed |
| BebasNeue | BebasNeue |
| Bitter | Bitter |
| BodoniModa | BodoniModa |
| BricolageGrotesque | BricolageGrotesque |
| Bungee | Bungee |
| Cabin | Cabin |
| Cairo | Cairo |
| Caveat | Caveat |
| ChakraPetch | ChakraPetch |
| ChangaOne | ChangaOne |
| Cinzel | Cinzel |
| Comfortaa | Comfortaa |
| CormorantGaramond | CormorantGaramond |
| CrimsonText | CrimsonText |
| DMMono | DMMono |
| DMSans | DMSans |
| DMSerifDisplay | DMSerifDisplay |
| DancingScript | DancingScript |
| Domine | Domine |
| Dosis | Dosis |
| EBGaramond | EBGaramond |
| Exo2 | Exo2 |
| Figtree | Figtree |
| FiraSans | FiraSans |
| FiraSansCondensed | FiraSansCondensed |
| FjallaOne | FjallaOne |
| Fraunces | Fraunces |
| Fredoka | Fredoka |
| Geist | Geist |
| GoogleSans | GoogleSans |
| GoogleSansCode | GoogleSansCode |
| GoogleSansFlex | GoogleSansFlex |
| GravitasOne | GravitasOne |
| Heebo | Heebo |
| Hind | Hind |
| HindSiliguri | HindSiliguri |
| IBMPlexMono | IBMPlexMono |
| IBMPlexSans | IBMPlexSans |
| Inconsolata | Inconsolata |
| InstrumentSans | InstrumentSans |
| InstrumentSerif | InstrumentSerif |
| Inter | Inter |
| InterTight | InterTight |
| JetBrainsMono | JetBrainsMono |
| JosefinSans | JosefinSans |
| Jost | Jost |
| Kanit | Kanit |
| Karla | Karla |
| Lato | Lato |
| Lexend | Lexend |
| LexendDeca | LexendDeca |
| LibreBaskerville | LibreBaskerville |
| LibreFranklin | LibreFranklin |
| LilitaOne | LilitaOne |
| Lobster | Lobster |
| LobsterTwo | LobsterTwo |
| Lora | Lora |
| MPLUS1p | MPLUS1p |
| MPLUSRounded1c | MPLUSRounded1c |
| Manrope | Manrope |
| MaterialIcons | MaterialIcons |
| MaterialIconsOutlined | MaterialIconsOutlined |
| MaterialIconsRound | MaterialIconsRound |
| MaterialIconsSharp | MaterialIconsSharp |
| MaterialIconsTwoTone | MaterialIconsTwoTone |
| MaterialSymbolsOutlined | MaterialSymbolsOutlined |
| MaterialSymbolsRounded | MaterialSymbolsRounded |
| MavenPro | MavenPro |
| Merriweather | Merriweather |
| MerriweatherSans | MerriweatherSans |
| Montserrat | Montserrat |
| Mukta | Mukta |
| Mulish | Mulish |
| NanumGothic | NanumGothic |
| NotoColorEmoji | NotoColorEmoji |
| NotoSans | NotoSans |
| NotoSansArabic | NotoSansArabic |
| NotoSansJP | NotoSansJP |
| NotoSansKR | NotoSansKR |
| NotoSansSC | NotoSansSC |
| NotoSansTC | NotoSansTC |
| NotoSansTelugu | NotoSansTelugu |
| NotoSansThai | NotoSansThai |
| NotoSerif | NotoSerif |
| NotoSerifJP | NotoSerifJP |
| Nunito | Nunito |
| NunitoSans | NunitoSans |
| OpenSans | OpenSans |
| Orbitron | Orbitron |
| Oswald | Oswald |
| Outfit | Outfit |
| Overpass | Overpass |
| Oxygen | Oxygen |
| PTSans | PTSans |
| PTSansNarrow | PTSansNarrow |
| PTSerif | PTSerif |
| Pacifico | Pacifico |
| PlayfairDisplay | PlayfairDisplay |
| PlusJakartaSans | PlusJakartaSans |
| Poppins | Poppins |
| Prompt | Prompt |
| PublicSans | PublicSans |
| Questrial | Questrial |
| Quicksand | Quicksand |
| Rajdhani | Rajdhani |
| Raleway | Raleway |
| Ramabhadra | Ramabhadra |
| RedHatDisplay | RedHatDisplay |
| Roboto | Roboto |
| RobotoCondensed | RobotoCondensed |
| RobotoFlex | RobotoFlex |
| RobotoMono | RobotoMono |
| RobotoSlab | RobotoSlab |
| Rubik | Rubik |
| Saira | Saira |
| Satisfy | Satisfy |
| SchibstedGrotesk | SchibstedGrotesk |
| ShadowsIntoLight | ShadowsIntoLight |
| ShareTech | ShareTech |
| Slabo27px | Slabo27px |
| SmoochSans | SmoochSans |
| Sora | Sora |
| SourceCodePro | SourceCodePro |
| SourceSans3 | SourceSans3 |
| SourceSerif4 | SourceSerif4 |
| SpaceGrotesk | SpaceGrotesk |
| SupermercadoOne | SupermercadoOne |
| Tajawal | Tajawal |
| Teko | Teko |
| TitilliumWeb | TitilliumWeb |
| Ubuntu | Ubuntu |
| Urbanist | Urbanist |
| VarelaRound | VarelaRound |
| WorkSans | WorkSans |
About popular web fonts
Popular web fonts are widely-used open-source typefaces distributed through Google Fonts and other open font registries. They are used across millions of websites for body text, headings, UI elements, and code blocks.
Releases and versioning
Font assets are updated on each tagged release. Check the Releases page for the latest version and changelog.
Pin the version in your CDN URLs to avoid unexpected changes.
License
Fonts are distributed under their respective upstream licenses (see each family's source on Google Fonts or the upstream project page). This project's tooling and scripts are licensed under the MIT License.
Links
Contributors ✨
Thanks goes to these wonderful people (emoji key):
