{
 "slug": "hack",
 "name": "Hack",
 "author": "Source Foundry",
 "density": "full",
 "status": "active",
 "status_note": null,
 "alternatives_page": null,
 "one_liner": "Open-source monospaced typeface for source code with regular, bold, italic and bold italic styles, plus web font files.",
 "category": {
  "slug": "fonts",
  "name": "Fonts"
 },
 "tags": [
  "Code library",
  "Open source"
 ],
 "styles": [],
 "logo_url": "https://agentgid.com/media/avatars/source-foundry.png",
 "logo_letter": "H",
 "links": {
  "repo": "https://github.com/source-foundry/Hack",
  "website": "http://sourcefoundry.org/hack/",
  "api_docs": null,
  "open_model": null
 },
 "preview": {
  "kind": "image_grid",
  "src": "https://agentgid.com/assets/hack/demo.jpg",
  "alt": "A code editor view using all four Hack styles with Greek and Cyrillic text, a terminal prompt drawn with Hack's built-in Powerline arrows, and a row of easily confused characters.",
  "caption": "Made by AgentGid with hack-font 3.3.0 (npm tarball, sha512 checked against the registry; font release v3.003). MIT License for Hack and the Bitstream Vera License for the Vera-derived parts; the font files are used unmodified and the code and text are our own."
 },
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free",
   "status": "yes",
   "sub": "No paid plan",
   "quote": null,
   "note": "Free of cost; fonts are free for print, desktop, web and commercial use.",
   "source": {
    "label": "sourcefoundry.org/hack",
    "url": "http://sourcefoundry.org/hack/"
   },
   "n": 1
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Yes",
   "status": "yes",
   "sub": "MIT License",
   "quote": "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
   "note": "Unlimited print, desktop, web and software embedding use, commercial or not.",
   "source": {
    "label": "github.com/source-foundry/Hack/blob/HEAD/LICENSE.md",
    "url": "https://github.com/source-foundry/Hack/blob/HEAD/LICENSE.md"
   },
   "n": 2
  },
  {
   "key": "credit",
   "label": "Credit the author",
   "value": "Not needed",
   "status": "yes",
   "sub": "Keep the notice in code copies",
   "quote": "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.",
   "note": "No credit on screen. Keep the license notice inside the code you ship.",
   "source": {
    "label": "github.com/source-foundry/Hack/blob/HEAD/LICENSE.md",
    "url": "https://github.com/source-foundry/Hack/blob/HEAD/LICENSE.md"
   },
   "n": 3
  },
  {
   "key": "agent_access",
   "label": "Agent access",
   "value": "npm package",
   "status": "info",
   "sub": "Installs without a key",
   "quote": null,
   "note": "An agent can install it by itself with npm install hack-font. No key or account is needed.",
   "source": {
    "label": "github.com/source-foundry/Hack",
    "url": "https://github.com/source-foundry/Hack"
   },
   "n": 4
  }
 ],
 "license": {
  "name": "MIT License (Hack); Bitstream Vera License for the Vera-derived parts",
  "url": "https://github.com/source-foundry/Hack/blob/HEAD/LICENSE.md",
  "summary": "Free for print, desktop, web and apps, including commercial use. Keep the license file with font files you share or ship, and never sell the font files on their own. Rename a changed version so its name has no \"Bitstream\" or \"Vera\".",
  "pages_read": 1,
  "rules": [
   "Keep the LICENSE file (MIT and Bitstream Vera notices) with any copies of the font you distribute or ship.",
   "If you modify the font, rename it so the name does not contain \"Bitstream\" or \"Vera\".",
   "Do not sell the Vera-derived font software by itself; selling it as part of a larger software package is allowed.",
   "For web use, load from the jsDelivr or cdnjs CDN or self-host the woff/woff2 files."
  ],
  "rows": [
   {
    "label": "Commercial use",
    "value": "Yes",
    "status": "yes",
    "quote": "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
    "source": {
     "label": "github.com/source-foundry/Hack/blob/HEAD/LICENSE.md",
     "url": "https://github.com/source-foundry/Hack/blob/HEAD/LICENSE.md"
    },
    "note": null
   },
   {
    "label": "Credit",
    "value": "Not needed",
    "status": "yes",
    "quote": "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.",
    "source": {
     "label": "github.com/source-foundry/Hack/blob/HEAD/LICENSE.md",
     "url": "https://github.com/source-foundry/Hack/blob/HEAD/LICENSE.md"
    },
    "note": null
   },
   {
    "label": "Inside your app or game",
    "value": "Can ship inside your app",
    "status": "yes",
    "quote": "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
    "source": {
     "label": "github.com/source-foundry/Hack/blob/HEAD/LICENSE.md",
     "url": "https://github.com/source-foundry/Hack/blob/HEAD/LICENSE.md"
    },
    "note": null
   },
   {
    "label": "Pass the files on to your users",
    "value": "With conditions",
    "status": "cond",
    "quote": "Bitstream Vera Sans Mono Copyright 2003 Bitstream Inc. and licensed under the Bitstream Vera License with Reserved Font Names \"Bitstream\" and \"Vera\"",
    "source": {
     "label": "github.com/source-foundry/Hack/blob/HEAD/LICENSE.md",
     "url": "https://github.com/source-foundry/Hack/blob/HEAD/LICENSE.md"
    },
    "note": null
   },
   {
    "label": "AI training",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Bots and bulk downloads",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   }
  ],
  "checked_at": "2026-11-09",
  "commercial_use_page": "https://agentgid.com/assets/hack/commercial-use/"
 },
 "overview": {
  "heading": "Hack: a free font made for reading code",
  "body": "Hack is a free font for program code, where every character takes the same width. It has regular, bold, italic and bold italic styles, covers Latin, Greek and Cyrillic, and includes the arrow symbols used in fancy terminal prompts. You can install it on your computer or load it on a website, also in paid products."
 },
 "uses": [
  {
   "title": "Your editor and terminal font",
   "text": "Install it on your computer and pick it in your code editor or terminal, so code is easy to read at small sizes.",
   "idea": false,
   "image": null
  },
  {
   "title": "Code blocks on a website",
   "text": "Show code samples in docs, a blog or a course in Hack, with bold and italic for highlighting, loaded like any web font.",
   "idea": false,
   "image": "https://agentgid.com/assets/hack/demo.jpg"
  },
  {
   "title": "Terminal prompts with arrow segments",
   "text": "Show a command-line prompt with the arrow and branch symbols that tools like Powerline draw, without patching the font.",
   "idea": false,
   "image": null
  },
  {
   "title": "A quick web font from a public host",
   "text": "Add Hack to a page with one stylesheet link from a free font host, without uploading any files.",
   "idea": false,
   "image": null
  },
  {
   "title": "Your own variant of the font",
   "text": "Swap single characters, such as the style of zero, or change the line spacing, and install it under a new name next to the original.",
   "idea": false,
   "image": null
  },
  {
   "title": "A terminal inside a web app",
   "text": "Use Hack in a browser terminal or code playground, so prompts and output look like a real terminal.",
   "idea": true,
   "image": null
  }
 ],
 "start": {
  "prompt": "Self-host the Hack web font from hack-font 3.3.0 (copy build/web/hack.css with its fonts folder), use it for pre and code, and keep LICENSE.md next to the font files.",
  "install": null,
  "install_note": null,
  "code": [
   {
    "tab": "Step 2",
    "intro": "For a website, link the stylesheet from jsDelivr or cdnjs, or host the CSS and font files yourself.",
    "source": "<link rel=\"stylesheet\" href=\"//cdn.jsdelivr.net/npm/hack-font@3/build/web/hack.css\">"
   },
   {
    "tab": "Step 3",
    "intro": "Set the font in your CSS.",
    "source": "pre, code { font-family: Hack, monospace; }"
   }
  ]
 },
 "mistakes": [
  {
   "dont": "Loading hack-subset.css and expecting Greek, Cyrillic or Powerline symbols",
   "fix": "Load hack.css (the full set) when the page shows those characters",
   "why": "In 3.3.0 the subset regular file has 386 characters and none of them are Greek, Cyrillic or Powerline (the full file has 1548); we checked the font tables in our demo.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Copying hack.css into a css folder and the fonts somewhere else",
   "fix": "Keep hack.css next to its fonts/ folder, or edit the url() paths in the CSS",
   "why": "The CSS loads the files by relative paths such as fonts/hack-regular.woff2.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Linking cdn.jsdelivr.net/npm/hack-font@3/... and calling it pinned",
   "fix": "Pin the exact version, hack-font@3.3.0, or self-host the files",
   "why": "@3 follows any future 3.x release; an exact version keeps the page stable.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Shipping the font files in an app without the license text, or selling them as a font pack",
   "fix": "Keep LICENSE.md with the files and only sell them as part of a larger software package",
   "why": "The Bitstream Vera License requires the notices in all copies and forbids selling the font alone.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Installing the whole hack-font npm package into a site just for the web fonts",
   "fix": "Copy only build/web/ (or download the web release zip)",
   "why": "The package also carries the design sources and build tools, about 15 MB and 6,505 files in 3.3.0.",
   "dont_code": false,
   "fix_code": false
  }
 ],
 "agent": {
  "self_serve": true,
  "self_serve_text": "Agent installs a package or loads it from a CDN",
  "install": "npm install hack-font",
  "repo": "https://github.com/source-foundry/Hack",
  "api_docs": null,
  "api_account": "Not needed. Everything runs on your side.",
  "get_files": "Download the TTF zip from the Hack GitHub releases, or load from the jsDelivr or cdnjs CDN (npm package hack-font) for web use.",
  "formats": [
   "ttf",
   "woff",
   "woff2"
  ],
  "limits": null,
  "mcp": null,
  "mcp_url": null,
  "credit_line": "Hack font © 2018 Source Foundry Authors (MIT); Bitstream Vera © 2003 Bitstream, Inc.",
  "rules_text": "- Hack (Fonts). Open-source monospaced typeface for source code with regular, bold, italic and bold italic styles, plus web font files. Price: free; commercial use OK; no credit needed; pass the files on to your users only with conditions.\n  Connect: npm hack-font.\n  Get files: Download the TTF zip from the Hack GitHub releases, or load from the jsDelivr or cdnjs CDN (npm package hack-font) for web use (ttf, woff, woff2).\n  Not allowed: No copy of the Vera-derived Font Software typefaces may be sold by itself\n  Not allowed: A modified font must be renamed to a name not containing the words \"Bitstream\" or \"Vera\"\n  Not allowed: Keep the license text with copies you distribute\n  Rule: Keep the LICENSE file (MIT and Bitstream Vera notices) with any copies of the font you distribute or ship.\n  Rule: If you modify the font, rename it so the name does not contain \"Bitstream\" or \"Vera\".\n  Rule: Do not sell the Vera-derived font software by itself; selling it as part of a larger software package is allowed.\n  Rule: For web use, load from the jsDelivr or cdnjs CDN or self-host the woff/woff2 files.\n  License: https://github.com/source-foundry/Hack/blob/HEAD/LICENSE.md (checked 2026-11-09; details: https://agentgid.com/assets/hack/)",
  "agent_md": "https://agentgid.com/assets/hack/agent.md",
  "card_json": "https://agentgid.com/assets/hack/card.json"
 },
 "popularity": {
  "gid_score": 38,
  "stars": 17399,
  "downloads_7d": 16439,
  "downloads_7d_label": "16.4K",
  "downloads_change_4w_pct": 6.5,
  "eco": "npm",
  "package": "hack-font",
  "repo": "source-foundry/Hack",
  "agent_projects": null,
  "agent_projects_total": null,
  "downloads_unconfirmed": false,
  "series": {
   "downloads_weekly": [
    [
     "2025-11-24",
     291
    ],
    [
     "2025-12-01",
     334
    ],
    [
     "2025-12-08",
     305
    ],
    [
     "2025-12-15",
     557
    ],
    [
     "2025-12-22",
     230
    ],
    [
     "2025-12-29",
     197
    ],
    [
     "2026-01-05",
     244
    ],
    [
     "2026-01-12",
     338
    ],
    [
     "2026-01-19",
     375
    ],
    [
     "2026-01-26",
     413
    ],
    [
     "2026-02-02",
     486
    ],
    [
     "2026-02-09",
     545
    ],
    [
     "2026-02-16",
     689
    ],
    [
     "2026-02-23",
     1220
    ],
    [
     "2026-03-02",
     1260
    ],
    [
     "2026-03-09",
     718
    ],
    [
     "2026-03-16",
     1446
    ],
    [
     "2026-03-23",
     2899
    ],
    [
     "2026-03-30",
     1444
    ],
    [
     "2026-04-06",
     1474
    ],
    [
     "2026-04-13",
     1518
    ],
    [
     "2026-04-20",
     1866
    ],
    [
     "2026-04-27",
     2526
    ],
    [
     "2026-05-04",
     1136
    ],
    [
     "2026-05-11",
     1053
    ],
    [
     "2026-05-18",
     4210
    ],
    [
     "2026-05-25",
     4042
    ],
    [
     "2026-06-01",
     2603
    ],
    [
     "2026-06-08",
     2322
    ],
    [
     "2026-06-15",
     3119
    ],
    [
     "2026-06-22",
     12862
    ],
    [
     "2026-06-29",
     5627
    ],
    [
     "2026-07-06",
     2750
    ],
    [
     "2026-07-13",
     8003
    ],
    [
     "2026-07-20",
     17068
    ],
    [
     "2026-07-27",
     19199
    ],
    [
     "2026-08-03",
     23796
    ],
    [
     "2026-08-10",
     9479
    ],
    [
     "2026-08-17",
     3920
    ],
    [
     "2026-08-24",
     4067
    ],
    [
     "2026-08-31",
     44158
    ],
    [
     "2026-09-07",
     9311
    ],
    [
     "2026-09-14",
     9755
    ],
    [
     "2026-09-21",
     8154
    ],
    [
     "2026-09-28",
     23315
    ],
    [
     "2026-10-05",
     16230
    ],
    [
     "2026-10-12",
     14642
    ],
    [
     "2026-10-19",
     37270
    ],
    [
     "2026-10-26",
     41813
    ],
    [
     "2026-11-02",
     18800
    ],
    [
     "2026-11-09",
     21591
    ],
    [
     "2026-11-16",
     15220
    ]
   ],
   "stars": [
    [
     "2026-10-13",
     17368
    ],
    [
     "2026-10-20",
     17374
    ],
    [
     "2026-10-21",
     17374
    ],
    [
     "2026-10-22",
     17374
    ],
    [
     "2026-11-07",
     17384
    ],
    [
     "2026-11-08",
     17385
    ],
    [
     "2026-11-09",
     17385
    ],
    [
     "2026-11-10",
     17385
    ],
    [
     "2026-11-11",
     17387
    ],
    [
     "2026-11-12",
     17390
    ],
    [
     "2026-11-13",
     17394
    ],
    [
     "2026-11-14",
     17393
    ],
    [
     "2026-11-15",
     17393
    ],
    [
     "2026-11-16",
     17395
    ],
    [
     "2026-11-17",
     17396
    ],
    [
     "2026-11-18",
     17397
    ],
    [
     "2026-11-19",
     17399
    ],
    [
     "2026-11-20",
     17398
    ],
    [
     "2026-11-21",
     17398
    ],
    [
     "2026-11-22",
     17400
    ],
    [
     "2026-11-23",
     17400
    ],
    [
     "2026-11-24",
     17400
    ],
    [
     "2026-11-25",
     17398
    ],
    [
     "2026-11-26",
     17399
    ]
   ]
  },
  "stars_flat_since": null,
  "updated_at": "2026-11-26"
 },
 "alternatives": [
  {
   "slug": "hack",
   "name": "Hack",
   "why": null,
   "current": true,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "firacode",
   "name": "Fira Code",
   "why": "Pick Fira Code when you want ligatures that join common code sequences such as -> and != into one symbol.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "cascadia-code",
   "name": "Cascadia Code",
   "why": "Pick Cascadia Code for a coding font with ligatures and a variable font file, plus ready Mono, Powerline and Nerd Font variants.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  },
  {
   "slug": "ibm-plex",
   "name": "IBM Plex",
   "why": "Pick IBM Plex when the code font should match a sans and serif family used in the rest of the product.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "nerd-fonts",
   "name": "Nerd Fonts",
   "why": "Developer fonts patched with over 10,000 icon glyphs, plus a FontForge script for patching your own fonts.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  },
  {
   "slug": "maple-font",
   "name": "Maple Mono",
   "why": "Open-source monospace coding font with ligatures, Nerd-Font icons and a CN variant, released under the SIL OFL 1.1.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  }
 ],
 "faq": [
  {
   "q": "Can I use Hack in a commercial app or website?",
   "a": "Yes. The fonts may be used for print, desktop, web and software embedding, commercial or not."
  },
  {
   "q": "Do I need a patched font for Powerline prompts?",
   "a": "No. The Powerline symbols are already in the regular style."
  },
  {
   "q": "Which languages does it cover?",
   "a": "ASCII, Latin-1, Latin Extended A, Greek and Cyrillic."
  },
  {
   "q": "Can I modify it?",
   "a": "Yes, and the project offers alternate characters and a renaming tool; a changed version must not use \"Bitstream\" or \"Vera\" in its name."
  }
 ],
 "at_a_glance": {
  "latest_version": "3.3.0",
  "last_release": "2018-03-06",
  "last_commit": "2022-11-21",
  "runtime": "Any current browser for the woff2/woff files; the package has no install scripts. It equals font release v3.003.",
  "key_needed": false,
  "formats": "ttf, woff, woff2"
 },
 "good_to_know": [
  "Two licenses apply together, MIT for the Hack work and the Bitstream Vera License for the original design it builds on.",
  "The smaller 'subset' web files leave out Greek, Cyrillic and the terminal arrow symbols. Use the full files for those.",
  "The latest font release, 3.003, came out in March 2018; the web package for it is numbered 3.3.0.",
  "When updating the font on your computer, remove the old version and clear the font cache first."
 ],
 "stack_snippets": [],
 "claims": [
  "Over 1500 glyphs, including extended Latin, modern Greek and Cyrillic"
 ],
 "checked": {
  "license_read": "2026-11-09",
  "overview_checked": "2026-11-09",
  "numbers_updated": "2026-11-26",
  "sources": [
   {
    "label": "sourcefoundry.org/hack",
    "url": "https://sourcefoundry.org/hack/"
   },
   {
    "label": "github.com/source-foundry/Hack",
    "url": "https://github.com/source-foundry/Hack"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/source-foundry/Hack/blob/master/README.md"
   },
   {
    "label": "github.com/source-foundry/Hack/blob/master/LICENSE.md",
    "url": "https://github.com/source-foundry/Hack/blob/master/LICENSE.md"
   },
   {
    "label": "github.com/source-foundry/Hack/blob/master/docs/WEBFONT_USAGE.md",
    "url": "https://github.com/source-foundry/Hack/blob/master/docs/WEBFONT_USAGE.md"
   },
   {
    "label": "api.github.com",
    "url": "https://api.github.com/repos/source-foundry/Hack/releases/latest"
   },
   {
    "label": "npm: hack-font/latest",
    "url": "https://registry.npmjs.org/hack-font/latest"
   },
   {
    "label": "sourcefoundry.org/hack",
    "url": "http://sourcefoundry.org/hack"
   },
   {
    "label": "github.com/source-foundry/Hack/blob/HEAD/LICENSE.md",
    "url": "https://github.com/source-foundry/Hack/blob/HEAD/LICENSE.md"
   }
  ],
  "unverified": null
 },
 "user_reports": null,
 "url": "https://agentgid.com/assets/hack/",
 "note": "Written by AgentGid from the official pages in checked.sources; quotes are copied from those pages. status: yes | cond | no | unknown | info. Prices and vendor claims are as reported on the checked date. Not legal advice."
}
