Online Prolog Compiler
Write Prolog in the browser and run it on our machines. The editor is opening.
Free online Prolog 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 Prolog and many other languages, without installing a toolchain.
What you see on this page is JDoodle’s free Prolog compiler. Write Prolog in the editor, press Execute, and JDoodle runs it on its servers. You do not install Prolog, and you do not need a JDoodle account to run code.
Online Prolog editor
JDoodle’s Prolog editor on this page highlights syntax, completes as you type, matches brackets, and folds blocks. It is an online Prolog editor and a compiler together: you write here, then Execute runs your program on JDoodle’s servers.
Prolog versions on JDoodle
JDoodle currently ships these Prolog builds. Choose one from the version menu before you execute. The installed releases are GNU Prolog 1.4.4, GNU Prolog 1.4.5, and GNU Prolog 1.5.0.
| Version |
|---|
| GNU Prolog 1.4.4 |
| GNU Prolog 1.4.5 |
| GNU Prolog 1.5.0 |
Frequently asked questions
Is JDoodle’s online Prolog compiler free?
Yes. JDoodle lets you write and run Prolog without paying. A JDoodle account is only needed to save projects, use more AI credits, or unlock faster workspaces.
Do I need to install Prolog to use JDoodle?
No. JDoodle runs Prolog on its servers. Open this page in a browser and execute.
Which Prolog 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 GNU Prolog 1.4.4, GNU Prolog 1.4.5, and GNU Prolog 1.5.0.
Is this an online Prolog editor or a compiler?
Both. The page is an online Prolog 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.
