Hack includes monospaced regular, bold, italic, and bold italic sets to cover all of your syntax highlighting needs.
Over 1500 glyphs that include lovingly tuned extended Latin, modern Greek, and Cyrillic character sets.
Powerline glyphs are included in the regular set. Patching is not necessary. Install and go.
No frills. No gimmicks.
Hack is hand groomed and optically balanced to be your go-to code face.
Type design features to improve legibility in the harsh conditions of the screen.
Functional
with a bit of personality
A libre typeface with generous licensing that permits modification & commercial use
Hack has deep roots in the libre, open source typeface community and includes the contributions of the Bitstream Vera & DejaVu projects.
The face has been re-designed with an expanded glyph set, modifications of the original glyph shapes, and meticulous attention to metrics.
Strategically placed serifs improve the rhythm of the monospaced text by eliminating large gaps on each side of narrow characters and help to distinguish glyphs like the lowercase l and number 1 at small text sizes.
The punctuation characters were designed with a heavier semi-bold weight in the regular font and are set with wide sidebearings on the side adjacent to alphabetic characters. These design strategies emphasize these important analphabetic characters and make them more apparent (or less transparent) in your code.
Grab the carousel images and drag to the left or right to view other characters that commonly have legibility issues.
For a quick installation, choose the option for your operating system below. This will download either an archive with TrueType (.ttf) fonts, or take you to the download site for a convenient setup application that will help install Hack on Windows systems.
Our interactive Font Playground allows you to try Hack (without installing it) directly from your browser via a simple code editor. It also allows you to compare Hack with various other typefaces that are commonly used for source code.
Open the font playgroundEmbed Hack in your website or web application by including one of the following code snippets into the <head> section of your document.
ASCII, Latin-1, Latin Extended A Subset
<link rel='stylesheet' href='//cdn.jsdelivr.net/npm/[email protected]/build/web/hack-subset.css'>
Full Character Set
<link rel='stylesheet' href='//cdn.jsdelivr.net/npm/[email protected]/build/web/hack.css'>
Content on this site is licensed under a Creative Commons Attribution 4.0 International license.
Web and font hosting by Github | Site CDN by Cloudflare | Font CDN by jsDelivr