Fragment Mono font

Programming typeface with fixed-width neo-grotesque letters, adapted from Nimbus Sans, upright and italic.

Fragment Mono is a free monospace font by Wei Huang and URW Design Studio. It has 2 styles and 707 glyphs and covers 24 languages. Fragment Mono is licensed under the SIL Open Font License 1.1, so it is free for personal and commercial use. The download is a zip with 2 original font files and the license text.

Monospace 2 styles by Wei Huang, URW Design Studio OFL

Monospace2 stylesOFL

Fragment Mono

AaBbCc 0123

Set live in Fragment Mono, straight from the font files.
Designers
Wei Huang, URW Design Studio
Classification
Monospace
License
SIL Open Font License 1.1
Styles
2 1 weight, with italics
Variable font
No
Glyphs
707
Languages checked
24 see the list
Last updated
version 1.011; ttfautohint (v1.8.4.7-5d5b)

Official source: Google Fonts. Facts on this page were read from the font files and the source’s published data.

Try Fragment Mono

Sample text

Type over the sample to test your own words. The preview loads a Latin subset of Fragment Mono; the download contains the complete files.

Monospace, 2 styles, OFLvafont.com

Fragment Mono

ABCDEFGHIJKLMNOPQRSTUVWXYZ

abcdefghijklmnopqrstuvwxyz

0123456789 & @ ? ! % ( ) { } “ ”

The quick brown fox jumps over the lazy dog, then packs five dozen liquor jugs into a box.

Weights and styles

  • Regular 400Fragment Mono RegularItalic

About Fragment Mono

Code is the job of Fragment Mono, a fixed-width face in the neo-grotesque manner. Wei Huang started from Nimbus Sans by URW Design Studio, put every character on the same width and added more characters. The strokes stay even, endings are cut horizontally, and curves close in tightly. Details that help with code: a slashed zero, an l with a curved foot, bars on i and j, and an r standing on a base stroke so that thin letters fill their space. Brackets and punctuation are big.

Two styles are included, Regular 400 and a matching italic; there is no bold and no variable font. Its 707 glyphs handle Latin and Latin Extended. Copyright belongs to The Fragment-Mono Project Authors, and the license is the SIL Open Font License 1.1.

Where Fragment Mono works

Writing code
The zero carries a slash and the lowercase l curls at its foot, so characters that are easy to mix up stay distinct in an editor.
Italic syntax highlighting
Editor themes that slant comments or keywords get a properly drawn italic rather than a regular that has simply been tilted.
Snippets in technical docs
Plain, even grotesque shapes sit calmly beside a sans serif body face in tutorials and API pages.
Diagrams and spec sheets
Every character has the same width, so version numbers, coordinates and short labels line up in columns.

Glyphs

!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢

Latin and Latin Extended characters in the preview subset; the complete family has 707 glyphs. Select a glyph to see its code point.

Language support

The family contains the core letters these languages are written with:

  • English
  • French
  • German
  • Spanish
  • Portuguese
  • Italian
  • Dutch
  • Swedish
  • Norwegian
  • Danish
  • Finnish
  • Icelandic
  • Catalan
  • Turkish
  • Polish
  • Czech
  • Slovak
  • Hungarian
  • Romanian
  • Croatian
  • Slovenian
  • Lithuanian
  • Latvian
  • Estonian

Character sets found in the files: latin, latin-ext. The language list is a check of required letters against the font, not a promise of typographic quality in each language.

License

SIL Open Font License 1.1Copyright 2022 The Fragment-Mono Project Authors (https://github.com/weiweihuanghuang/fragment-mono)

What the license allows

  • Use the fonts in personal and commercial work, in print, on the web and in apps.
  • Modify the fonts and build new versions from them.
  • Redistribute the fonts, on their own or bundled with software, as long as the license text and copyright notice go with them.

Conditions

  • The fonts cannot be sold by themselves.
  • A modified version must stay under the same license and cannot use a Reserved Font Name without the copyright holder's permission.
  • The authors' names cannot be used to promote a modified version without permission.

A short summary, not legal advice. The license text decides: read the full OFL text. A copy is included in the download.

Fonts that pair with Fragment Mono

Google Sans Flex Sans Serif

A monospace next to a sans serif: Google Sans Flex (9 weights) is different enough in structure that headings and text never blur together.

Source Serif 4 Serif

A monospace next to a serif: Source Serif 4 (8 weights) is different enough in structure that headings and text never blur together.

Raleway Sans Serif

A monospace next to a sans serif: Raleway (9 weights) is different enough in structure that headings and text never blur together.

Suggestions follow simple rules: a contrasting classification and enough weights to carry body text. Treat them as a starting point.

Use Fragment Mono on the web

Download the family, put the files on your own server and declare them in CSS. Please do not link to files on vafont.com: the previews here are subsets and their addresses change.

CSS, self-hosted
@font-face {
  font-family: "Fragment Mono";
  src: url("/fonts/FragmentMono-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fragment Mono";
  src: url("/fonts/FragmentMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Fragment Mono", monospace;
}

Or load it from the official source. Google Fonts serves Fragment Mono with this markup:

HTML, Google Fonts

Things to know

Bold is missing
Only Regular and its italic exist. A theme that asks for bold text will show a faked bold, or plain Regular.
Static, not variable
The upright and the italic come as two separate font files. No variable version is offered.
No Cyrillic
Coverage stops at Latin and Latin Extended. Code comments in Russian or other Cyrillic languages will fall back to another font.

FAQs

Can Fragment Mono be used in commercial software?

Yes. It is under the SIL Open Font License 1.1, so personal and commercial use, editing and sharing are all allowed. The font may not be sold by itself, and derived fonts keep the same license.

Who is credited for Fragment Mono?

Wei Huang made it by reworking Nimbus Sans, a design by URW Design Studio, and URW is credited with him. The copyright notice names The Fragment-Mono Project Authors.

How many weights does it come in?

One. Regular 400 is available upright and in italic, which makes two styles in total.

Is there an italic for comments?

Yes, the Regular weight has a true italic. What the family lacks is any bold.

Which languages can Fragment Mono display?

Languages written in Latin script, such as English, Spanish, French, German, Czech, Polish and Turkish. Cyrillic is not included.

What fonts are similar to Fragment Mono?

Free monospace fonts close to Fragment Mono in use include Fira Code, Geist Mono, IBM Plex Mono, Roboto Mono and Space Mono. Each is listed on this page with the uses it shares.

Fonts similar to Fragment Mono

These free monospace families are the closest to Fragment Mono in the library by classification and shared uses. Use them as alternatives when you need a different weight range or a slightly different tone.

  • Fira Code 5 styles, variable; also used for code and tech.
  • Geist Mono 18 styles, variable; also used for code and tech.
  • IBM Plex Mono 14 styles; also used for code and tech.
  • Roboto Mono 14 styles, variable; also used for code and tech.
  • Space Mono 4 styles; also used for code and tech.
  • Google Sans Code 12 styles, variable; also used for code and tech.

Other monospace families, ordered by shared uses. All monospace fonts