Online Haskell Compiler
Write Haskell in the browser and run it on our machines. The editor is opening.
Free online Haskell compiler and editor
JDoodle is an online IDE that has served the programming community since 2013. You write, compile, and run code in the browser for Haskell and many other languages, without installing a toolchain.
What you see on this page is JDoodle’s free Haskell compiler. Write Haskell in the editor, press Execute, and JDoodle runs it on its servers. You do not install Haskell, and you do not need a JDoodle account to run code.
Online Haskell editor
JDoodle’s Haskell editor on this page highlights syntax, completes as you type, matches brackets, and folds blocks. It is an online Haskell editor and a compiler together: you write here, then Execute runs your program on JDoodle’s servers.
Haskell versions on JDoodle
JDoodle currently ships these Haskell builds. Choose one from the version menu before you execute. The installed releases are ghc 7.10.3, ghc 8.2.1, ghc 8.2.2, ghc 8.6.5, ghc 9.0.1, ghc 9.0.2, and GHC 9.6.6.
| Version |
|---|
| ghc 7.10.3 |
| ghc 8.2.1 |
| ghc 8.2.2 |
| ghc 8.6.5 |
| ghc 9.0.1 |
| ghc 9.0.2 |
| GHC 9.6.6 |
Frequently asked questions
Is JDoodle’s online Haskell compiler free?
Yes. JDoodle lets you write and run Haskell without paying. A JDoodle account is only needed to save projects, use more AI credits, or unlock faster workspaces.
Do I need to install Haskell to use JDoodle?
No. JDoodle runs Haskell on its servers. Open this page in a browser and execute.
Which Haskell version should I pick on JDoodle?
Choose the version that matches the course or codebase you are working against from the version menu. The builds JDoodle has installed are ghc 7.10.3, ghc 8.2.1, ghc 8.2.2, ghc 8.6.5, ghc 9.0.1, ghc 9.0.2, and GHC 9.6.6.
Can I run a multi-file Haskell project online?
Not on this page, which runs a single Haskell file. For several files in one project, open the JDoodle Haskell IDE. Everything else works the same on both.
Is this an online Haskell editor or a compiler?
Both. The page is an online Haskell editor and it compiles and runs what you write.
Input, interactive runs, files, and the rest of the editor work the same on every language. See the JDoodle IDE documentation.
