Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 4 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Hack

by Source Foundry

Open-source monospaced typeface for source code with regular, bold, italic and bold italic styles, plus web font files.

Fonts Code libraryOpen source

GitHub repoWebsite
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.
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.

2. Commercial use: github.com/source-foundry/Hack/blob/HEAD/LICENSE.md

“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software”

Unlimited print, desktop, web and software embedding use, commercial or not.

github.com/source-foundry/Hack/blob/HEAD/LICENSE.md

License checked Nov 9, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error

Hack: a free font made for reading code

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.

Where you can use it

Your editor and terminal font

Install it on your computer and pick it in your code editor or terminal, so code is easy to read at small sizes.

Code blocks on a website

Code blocks on a website

Show code samples in docs, a blog or a course in Hack, with bold and italic for highlighting, loaded like any web font.

Terminal prompts with arrow segments

Show a command-line prompt with the arrow and branch symbols that tools like Powerline draw, without patching the font.

A quick web font from a public host

Add Hack to a page with one stylesheet link from a free font host, without uploading any files.

Your own variant of the font

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.

A terminal inside a web app Idea

Use Hack in a browser terminal or code playground, so prompts and output look like a real terminal.

As reported by Source Foundry: Over 1500 glyphs, including extended Latin, modern Greek and Cyrillic.

Hack popularity

38 / 100
Gid Score, same scale as developer tools
17,399
GitHub stars
16.4K
npm downloads, last 7 days
+6.5% in 4 weeks
Hack: downloads per weeknpm, hack-font 15,220
Hack: GitHub starssource-foundry/Hack 17,399

Downloads from api.npmjs.org, stars from GitHub, checked Nov 26, 2026. How the Gid Score is calculated

How to start

Tell your AI assistant

“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.”

Show codeStep 2 or Step 3

For a website, link the stylesheet from jsDelivr or cdnjs, or host the CSS and font files yourself.

<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/hack-font@3/build/web/hack.css">

Mistakes to avoid

Loading hack-subset.css and expecting Greek, Cyrillic or Powerline symbols
Load hack.css (the full set) when the page shows those characters

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.

Copying hack.css into a css folder and the fonts somewhere else
Keep hack.css next to its fonts/ folder, or edit the url() paths in the CSS

The CSS loads the files by relative paths such as fonts/hack-regular.woff2.

Linking cdn.jsdelivr.net/npm/hack-font@3/... and calling it pinned
Pin the exact version, hack-font@3.3.0, or self-host the files

@3 follows any future 3.x release; an exact version keeps the page stable.

Shipping the font files in an app without the license text, or selling them as a font pack
Keep LICENSE.md with the files and only sell them as part of a larger software package

The Bitstream Vera License requires the notices in all copies and forbids selling the font alone.

Installing the whole hack-font npm package into a site just for the web fonts
Copy only build/web/ (or download the web release zip)

The package also carries the design sources and build tools, about 15 MB and 6,505 files in 3.3.0.

License

MIT License (Hack); Bitstream Vera License for the Vera-derived parts. 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".

Commercial use
Yes

“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software” github.com/source-foundry/Hack/blob/HEAD/LICENSE.md

Credit
Not needed

“The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.” github.com/source-foundry/Hack/blob/HEAD/LICENSE.md

Inside your app or game
Can ship inside your app

“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software” github.com/source-foundry/Hack/blob/HEAD/LICENSE.md

Pass the files on to your users
With conditions

“Bitstream Vera Sans Mono Copyright 2003 Bitstream Inc. and licensed under the Bitstream Vera License with Reserved Font Names "Bitstream" and "Vera"” github.com/source-foundry/Hack/blob/HEAD/LICENSE.md

AI training
Not stated
Bots and bulk downloads
Not stated

AllowedWith conditionsNot allowedNot stated or not checked yet

Is Hack free for commercial use? The full answer Not legal advice. Check the license page before you ship.

For your agent

License rules tell your agent what it may do with Hack. Paste them into your prompt or AGENTS.md.

License rules
- 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.
  Connect: npm hack-font.
  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).
  Not allowed: No copy of the Vera-derived Font Software typefaces may be sold by itself
  Not allowed: A modified font must be renamed to a name not containing the words "Bitstream" or "Vera"
  Not allowed: Keep the license text with copies you distribute
  Rule: Keep the LICENSE file (MIT and Bitstream Vera notices) with any copies of the font you distribute or ship.
  Rule: If you modify the font, rename it so the name does not contain "Bitstream" or "Vera".
  Rule: Do not sell the Vera-derived font software by itself; selling it as part of a larger software package is allowed.
  Rule: For web use, load from the jsDelivr or cdnjs CDN or self-host the woff/woff2 files.
  License: https://github.com/source-foundry/Hack/blob/HEAD/LICENSE.md (checked 2026-11-09; details: https://agentgid.com/assets/hack/)
Can an agent use it by itself?
Yes.

Agent installs a package or loads it from a CDN.

Install
npm install hack-font
How an agent gets 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

API, key or account
Not needed. Everything runs on your side.
MCP server
None found
Credit line, if you want one
Hack font © 2018 Source Foundry Authors (MIT); Bitstream Vera © 2003 Bitstream, Inc.
This card for machines

Alternatives

Hack This page

Free Commercial OK npm

Fira Code

Pick Fira Code when you want ligatures that join common code sequences such as -> and != into one symbol.

Free Commercial OK npm

Cascadia Code

Pick Cascadia Code for a coding font with ligatures and a variable font file, plus ready Mono, Powerline and Nerd Font variants.

Free Commercial OK Download

IBM Plex

Pick IBM Plex when the code font should match a sans and serif family used in the rest of the product.

Free Commercial OK npm

Nerd Fonts

Developer fonts patched with over 10,000 icon glyphs, plus a FontForge script for patching your own fonts.

Free Commercial OK Download

Maple Mono

Open-source monospace coding font with ligatures, Nerd-Font icons and a CN variant, released under the SIL OFL 1.1.

Free Commercial OK Download

All fonts

Questions

Can I use Hack in a commercial app or website?

Yes. The fonts may be used for print, desktop, web and software embedding, commercial or not.

Do I need a patched font for Powerline prompts?

No. The Powerline symbols are already in the regular style.

Which languages does it cover?

ASCII, Latin-1, Latin Extended A, Greek and Cyrillic.

Can I modify it?

Yes, and the project offers alternate characters and a renaming tool; a changed version must not use "Bitstream" or "Vera" in its name.