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.
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.
Fragment Mono
AaBbCc 0123
Official source: Google Fonts. Facts on this page were read from the font files and the source’s published data.
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.
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.
Latin and Latin Extended characters in the preview subset; the complete family has 707 glyphs. Select a glyph to see its code point.
The family contains the core letters these languages are written with:
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.
SIL Open Font License 1.1Copyright 2022 The Fragment-Mono Project Authors (https://github.com/weiweihuanghuang/fragment-mono)
A short summary, not legal advice. The license text decides: read the full OFL text. A copy is included in the download.
A monospace next to a sans serif: Google Sans Flex (9 weights) is different enough in structure that headings and text never blur together.
A monospace next to a serif: Source Serif 4 (8 weights) is different enough in structure that headings and text never blur together.
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.
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.
@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:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fragment+Mono:ital,wght@0,400;1,400&display=swap" rel="stylesheet">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.
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.
One. Regular 400 is available upright and in italic, which makes two styles in total.
Yes, the Regular weight has a true italic. What the family lacks is any bold.
Languages written in Latin script, such as English, Spanish, French, German, Czech, Polish and Turkish. Cyrillic is not included.
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.
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.
Other monospace families, ordered by shared uses. All monospace fonts