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

devfonts.gafi.dev 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

Latest comments (63)

Collapse
 
bradwist profile image
Bradley W

any plans on bringing the site back up?

Collapse
 
re4388 profile image
re4388

Thanks for building this!! Help me a lot!

Collapse
 
necmettin profile image
Necmettin Begiter

A little late to the discussion but do you accept non-woff fonts? Specifically, "Envy Code R" font? :)

Collapse
 
hood profile image
Andrea Cappuccio

Great, just what the font feticist in me needed!

Collapse
 
ranelpadon profile image
ranelpadon

Monaco is still the sexiest programming font for me. :)

Collapse
 
jamiedee profile image
JamieD

Awesome job on this!

Collapse
 
ahmedam55 profile image
Ahmed Mahmoud

Wow! That's very helpful!

Collapse
 
thebeardedllama profile image
Steven Moschidis

Source code pro fan for years and years

Cascadia has me wobbling a bit

Collapse
 
d7460n profile image
D7460N

This is great! Thank you for sharing!

Collapse
 
teoulas profile image
Theodoros Orfanidis

Nice! There's a few fonts missing:
Input Mono: input.fontbureau.com/
Fantasque Sans Mono: github.com/belluzj/fantasque-sans

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

Collapse
 
gafi profile image
Mostafa Gaafar

I can't keep up with all the font requests, feel free to open a PR if you want github.com/Gaafar/dev-fonts/blob/m...

Collapse
 
bolironman profile image
Bo Li

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

Collapse
 
jefflindholm profile image
Jeff Lindholm

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

Collapse
 
gafi profile image
Mostafa Gaafar

added it!

Collapse
 
carlitorendon profile image
Carlos Rendon • Edited

How about Delugia Nerd Font?

alt text

Collapse
 
gafi profile image
Mostafa Gaafar

I can't keep up with all the font requests, feel free to open a PR if you want github.com/Gaafar/dev-fonts/blob/m...

Collapse
 
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: github.com/Homebrew/homebrew-cask-...

And likewise, if you use scoop for Windows: github.com/matthewjberger/scoop-ne...

Collapse
 
malitov profile image
Pavlo Malitov

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