DEV Community

Cover image for I Built a Site for the Best Coding Fonts
Mostafa Gaafar
Mostafa Gaafar

Posted on • Updated on

I Built a Site for the Best Coding Fonts

I'm always looking for a coding font that looks great with my favorite editor theme and language. Searching for coding fonts has been a pain since there is no way to see how a font will look until you download and install the font, then change your editor to use it.

Enter Dev Fonts is a list of the best coding fonts I could find around, along with an interactive preview where you can change the preview theme, code language, or the code sample for the preview.

Dev Fonts screenshot

My current favorite font is Cascadia Code. What is yours?

The source code for the site is on github

PRs for missing fonts are welcome, check the notes here

Discussion (67)

codemouse92 profile image
Jason C. McDonald • Edited

Nice! Thanks for building this.

My favorite coding font is Hack, but I don't see it!

gafi profile image
Mostafa Gaafar Author

Added it. Thanks!

bushblade profile image
Will Adams • Edited

Hack for me too. Nerd patched.

achimoraites profile image
Achilles Moraites

Thanks for sharing!
My favorite font is JetBrains Mono :)

picwellwisher12pk profile image
Amir Hameed • Edited

How about a Vote feature, or a Like feature to bring up figures of most liked or used font(s)?

gafi profile image
Mostafa Gaafar Author

It'd be great but it comes with the complexity of managing a backend or a service for authentication & storage. Do you know a simple way to implement it?

benbao profile image
Benjamin Bromberg

Great tool! Like many others I found my way to JetBrains Mono but alternatives are always good to have.

For simple backend features hooking up firebase or amplify might be simple enough and probably free.

picwellwisher12pk profile image
Amir Hameed

I understand. I shall look for a way to do that in a simple way. If you need my help, let me know.

denislapi profile image
Denis Lapi • Edited

Nice work, I really like it!! :)
I played a bit around with the app. What do you think about having two fonts/column per row maybe?
It will increases the possibility to compare more fonts with less scrolls.
Something like this:

heikokanzler profile image
Heiko Kanzler πŸ‡ͺπŸ‡Ί • Edited

Great one. Glad to see that I am not the only one who loves to have a great looking font in my Editor.
One feature suggestion: support the preview of italics as-well.

My current favorite is JetBrains Mono.
May I recommend to add Input Mono aswell? It's also a very thought coding font.

daveyjake profile image
Davey Jacobson

Input Mono was my go-to until JetBrains Mono came along.

gertvdv profile image
Gert Van de Ven

Great job Mostafa! I was actually trying to figure out which font to use on my new laptop. This helps a lot to get a great overview.

Some feedback:

  • It took me a few seconds to figure out the compare mode
  • When a name is filtered, and compare is on especially, I was wondering why it only showed me one. This might be the preferred behavior, but got me confused.
  • When switching between themes, it always flashes to white in between.

Other than that! Awesome work, keep it up!

mburszley profile image
Maximilian Burszley

It took me a while, but when it added ligatures, it became my go-to: Iosevka

teoulas profile image
Theodoros Orfanidis

Nice! There's a few fonts missing:
Input Mono:
Fantasque Sans Mono:

A useful addition would be the languages/scripts supported. Most of them cover Latin, but there are fonts that support Cyrillic, Greek, etc.

gafi profile image
Mostafa Gaafar Author

I can't keep up with all the font requests, feel free to open a PR if you want

nicholascloud profile image
Nicholas Cloud

This is awesome, and makes me happy.

Just a reminder, if you use Homebrew on OSX there is a font cask from which many of these can be installed:

And likewise, if you use scoop for Windows:

sbu_05 profile image
Sibusiso Dlamini

I don't know the name of the font but its sublime text-default. There is just something about the sublime setup that appeals to my taste which is why its my favourite text editor. I can't explain but it makes my code look juicy or saturated unlike most themes which are often dry like VS codes default themes. But that's just my opinion :)

saramiteva profile image
Sara Miteva

Great job! This is very useful.

ulysess10 profile image
Jose Cerrejon

Cascadia Code is like the paid font OperatorMono. Thanks for share!.

moslemhady profile image

Thanks. my favorite one is 'JetBrains Mono'

muhimen123 profile image

I just use Comic Sans. It's awesome! I can stare at it for a long time(when I don't find the bug)

stokry profile image


dmshvetsov profile image
Dmitry Shvetsov

Great idea! Super helpful!

mindset profile image
Jayesh Tembhekar ⚑ • Edited

Never seen an idea like this.
A library of fonts.
Its very helpful and looking cool.
I am using Cascadia code πŸ˜‡
Thanks for this :)

abdurrkhalid333 profile image
Abdur Rehman Khalid

Nice Job, Respected Sir, I am also looking forward to trying some of your favourite fonts as well.

Feeling Excited as well.

hugoliconv profile image

Thanks, it's pretty cool

malitov profile image
Pavlo Malitov

Awesome work!
My favorite font is JetBrains Mono. Before was Fira Code.

admarko profile image
Alex Markowitz

DankMono - will never use anything else

gafi profile image
Mostafa Gaafar Author

added it to the list!

jefflindholm profile image
Jeff Lindholm

My favorite is Dank Mono ( it is not free but at 40.00 or so it is less than Operator Mono and has ligatures and a good italic.

gafi profile image
Mostafa Gaafar Author

added it!

artoodeeto profile image

Damn! This is really helpful! Thank you!

tunnckocore profile image
Charlike Mike Reagent

Definitely. Still. Fira Code.

lreiner profile image
Lukas Reiner

Nice one. Really needed this

abdallahyashir profile image
Abdallah Yashir

Thank you for the site :)
I am currently using JetBrains Mono.
How can I download the Lilex?
IBM Flex Mono with ligatures would be amazing.

gafi profile image
Mostafa Gaafar Author

You can download Lilex from its github releases page

bolironman profile image
Bo Li

pretty good! It makes me back to Iosevka :D
thank you

donnisnoni profile image
Don Alfons Nisnoni

Great tools man!!! Very helpful!!!

ben profile image
Ben Halpern


oliverandrich profile image
Oliver Andrich

Indeed a nice site and a nice way to compare various fonts. ❀️