15 Best Free Fonts Alternatives to Berkeley Mono

Berkeley Mono has become something of a status symbol among developers and terminal enthusiasts, prized for its crisp geometry, generous spacing, and the kind of engineered precision that makes long stretches of code genuinely pleasant to read. It is also a paid font, which sends a lot of people looking for a free monospace alternative that captures a similar spirit without the license fee. Google Fonts turns out to have a deep bench of monospaced families built for exactly this kind of work, from coding editors and terminal emulators to technical documentation and portfolio sites that want a developer-friendly aesthetic.

  1. JetBrains Mono

    function main() { return 0; }

    JetBrains Mono

    Built by the JetBrains type team specifically for reading code all day, this is probably the closest free cousin to Berkeley Mono in terms of intent. Letterforms are tall and open with deliberately increased height to make dense code more legible, and the italics are genuinely slanted rather than just tilted romans. It ships with a huge weight range, so it works equally well as a lightweight UI mono or a bold callout in documentation.

    • Language support: Latin, Latin Extended, Cyrillic, Cyrillic Extended, Greek, Vietnamese
    • Styles: 16 styles (8 weights plus italics)

    Get it

  2. IBM Plex Mono

    git commit -m 'fix: resolve merge conflict'

    IBM Plex Mono

    Part of IBM’s sprawling Plex superfamily, this one has a slightly warmer, more humanist feel than most coding fonts, with subtle quirks in the letterforms that keep long files from feeling sterile. It pairs naturally with Plex Sans or Plex Serif if you want a consistent system typeface across code samples and body copy. At small sizes in tight editor themes it stays admirably crisp.

    • Language support: Latin, Latin Extended, Cyrillic, Cyrillic Extended, Vietnamese
    • Styles: 14 styles (7 weights plus italics)

    Get it

  3. Space Mono

    ERROR: connection refused on port 8080

    Space Mono

    Space Mono trades neutrality for personality, with quirky, slightly retro letterforms that feel more like a display font than a workhorse. It is a poor choice for dense production codebases but a great one for marketing pages, terminal-themed branding, or a developer portfolio that wants a bit of character. The bold weight in particular has real presence as a headline face.

    • Language support: Latin, Latin Extended, Vietnamese
    • Styles: 4 styles (2 weights plus italics)

    Get it

  4. Fira Code

    ⚠ Font Specimen: invalid or missing font name

    Originally developed for Mozilla and now a staple in editor communities, Fira Code is best known outside Google Fonts for its programming ligatures, though the Google Fonts version renders as clean standard glyphs. Even without the ligature rendering, the underlying letterforms are exceptionally even and calm on screen, making it a dependable pick for anyone typesetting code blocks on the web.

    • Language support: Latin, Latin Extended, Cyrillic, Cyrillic Extended, Greek, Greek Extended
    • Styles: 5 weights (Light to Bold)

    Get it

  5. Source Code Pro

    npm install --save-dev typescript

    Source Code Pro

    Adobe’s answer to a general-purpose coding font, Source Code Pro is unfussy and reliable rather than distinctive. That restraint is precisely its strength: it disappears into the background of documentation sites, README renders, and IDE screenshots without drawing attention to itself. If Berkeley Mono’s appeal was its no-nonsense clarity, this is the free option that best matches that quiet competence.

    • Language support: Latin, Latin Extended, Cyrillic, Cyrillic Extended, Greek, Greek Extended, Vietnamese
    • Styles: 16 styles (8 weights plus italics)

    Get it

  6. Roboto Mono

    print('Hello, terminal')

    Roboto Mono

    As the monospaced sibling to one of the most widely used interface fonts on the web, Roboto Mono has an obvious pairing advantage for anyone already using Roboto elsewhere in a product. Its proportions are slightly narrower than average, which lets more characters fit per line in cramped code panels. It reads as neutral and modern without much personality of its own.

    • Language support: Latin, Latin Extended, Cyrillic, Cyrillic Extended, Greek, Vietnamese
    • Styles: 14 styles (7 weights plus italics)

    Get it

  7. Inconsolata

    SELECT * FROM users WHERE active = true

    Inconsolata

    One of the earliest coding fonts designed expressly for Google Fonts, Inconsolata has aged remarkably well thanks to its narrow width and gentle curves. It was built to be easy on the eyes during long editing sessions, and that goal still shows in how comfortably it reads at small point sizes on screen. Many developers who tried it a decade ago still default to it today.

    • Language support: Latin, Latin Extended, Vietnamese
    • Styles: 8 weights (Extra-Light to Black)

    Get it

  8. Overpass Mono

    curl -X GET https://api.example.com/status

    Overpass Mono

    Overpass Mono descends from a highway signage typeface, so it carries a squared, engineered feel that suits infrastructure and DevOps-flavored branding especially well. It reads a touch heavier than most monospace fonts at regular weight, which can be an asset in short code snippets but occasionally muddies longer blocks of text at small sizes.

    • Language support: Latin, Latin Extended, Cyrillic, Cyrillic Extended, Vietnamese
    • Styles: 5 weights (Light to Bold)

    Get it

  9. PT Mono

    class Vector { x: number; y: number; }

    PT Mono

    A lesser-known choice with tidy, slightly condensed letterforms, PT Mono comes from the same Russian type foundry responsible for the well-regarded PT Sans and PT Serif families. It has a calm, formal bearing that suits technical writing and academic code listings more than flashy branding. Availability in just regular and bold keeps it simple to implement.

    • Language support: Latin, Latin Extended, Cyrillic, Cyrillic Extended
    • Styles: 1 weight (Regular)

    Get it

  10. Cousine

    def calculate_total(items): return sum(items)

    Cousine

    Cousine was designed as a metric-compatible alternative to a well-known commercial coding font, which makes it a natural fit for anyone migrating layouts without wanting to reflow text. The letterforms are plain and businesslike, favoring legibility over character. It is a safe, low-risk pick when the priority is consistent line lengths across platforms.

    • Language support: Latin, Latin Extended, Cyrillic, Cyrillic Extended, Greek, Greek Extended, Hebrew, Vietnamese
    • Styles: 4 styles (2 weights plus italics)

    Get it

  11. Red Hat Mono

    kubectl apply -f deployment.yaml

    Red Hat Mono

    Commissioned as part of Red Hat’s open-source corporate identity, this font carries a distinctly technical, enterprise-software feel that suits developer tools and infrastructure dashboards. Strokes are even and slightly wide, giving it good presence in UI labels and code badges alike. It pairs cleanly with Red Hat Display or Red Hat Text if you want a matched system.

    • Language support: Latin, Latin Extended
    • Styles: 10 styles (5 weights plus italics)

    Get it

  12. Spline Sans Mono

    interface User { id: string; name: string; }

    Spline Sans Mono

    A newer addition to Google Fonts, Spline Sans Mono has a friendlier, more rounded rhythm than most coding fonts, which softens the usual austerity of monospaced type. It works nicely in product documentation or developer marketing sites that want technical credibility without feeling cold. The regular weight is the most versatile; heavier weights start to feel a bit blocky at display sizes.

    • Language support: Latin, Latin Extended
    • Styles: 10 styles (5 weights plus italics)

    Get it

  13. DM Mono

    export default function App() {}

    DM Mono

    DM Mono leans elegant rather than purely technical, with slightly condensed proportions and refined details that make it feel more editorial than most fonts on this list. It suits designers writing about code as much as it suits the code itself, and it holds up nicely in captions or footer credits. Small sizes stay legible, though it is not the widest or airiest option here.

    • Language support: Latin, Latin Extended
    • Styles: 6 styles (3 weights plus italics)

    Get it

  14. Martian Mono

    STATUS: 200 OK

    Martian Mono

    Inspired by early digital and grid-based display type, Martian Mono has an unapologetically retro-futuristic look with a variable width axis that ranges from wide and blocky to notably narrower cuts. It is not a font for dense paragraphs of code but excels as an eye-catching display face for terminal-themed headers, badges, or hero sections. Use it sparingly and let a plainer mono handle the actual code samples.

    • Language support: Latin, Latin Extended, Cyrillic, Cyrillic Extended
    • Styles: 8 weights (Thin to Extra-Bold)

    Get it

  15. Azeret Mono

    while (true) { console.log('running'); }

    Azeret Mono

    Azeret Mono has a slightly rounded, contemporary character that feels more at home in a design tool or startup landing page than in a strict IDE. Its italics are genuinely well drawn, with a natural slant that many geometric coding fonts skip entirely. It is a good option when a project wants a monospace typeface that still feels approachable to non-technical visitors.

    • Language support: Latin, Latin Extended
    • Styles: 18 styles (9 weights plus italics)

    Get it

Choosing and pairing a free monospace font

Start by testing candidates directly in your editor or terminal at the actual size you will use daily. A font that looks elegant in a specimen graphic can feel cramped or loose once it is surrounded by real syntax highlighting.

For code blocks embedded in articles or documentation, favor fonts with open counters and wide character spacing so keywords stay distinguishable at smaller web sizes. JetBrains Mono, IBM Plex Mono, and Source Code Pro all hold up well in this context.

If you want a display monospace for headlines or branding, save it for short bursts of text and let a plainer, more legible mono carry the actual code or body copy. Space Mono and Martian Mono both shine as accents rather than workhorses.

Since every option here is free on Google Fonts, it costs nothing to download a handful and compare them side by side in a real project before settling on a system-wide default.

None of these fonts is a pixel-for-pixel clone of Berkeley Mono, but each offers its own version of the clarity, technical honesty, and screen-friendly proportions that made the original popular in the first place. Try a few in context, keep the one that disappears into your workflow, and let it do its job quietly in the background of every commit and console.

Related articles