Online COBOL Compiler

Write COBOL in the browser and run it on our machines. The editor is opening.

Free online COBOL 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 COBOL and many other languages, without installing a toolchain.

What you see on this page is JDoodle’s free COBOL compiler. Write COBOL in the editor, press Execute, and JDoodle runs it on its servers. You do not install COBOL, and you do not need a JDoodle account to run code.

Online COBOL editor

JDoodle’s COBOL editor on this page highlights syntax, completes as you type, matches brackets, and folds blocks. It is an online COBOL editor and a compiler together: you write here, then Execute runs your program on JDoodle’s servers.

COBOL versions on JDoodle

JDoodle currently ships these COBOL builds. Choose one from the version menu before you execute. The installed releases are GNU COBOL 2.0.0, GNU COBOL 2.2.0, GNU COBOL 3.0, GNU COBOL 3.1.2, and GNU COBOL 3.2.0.

Version
GNU COBOL 2.0.0
GNU COBOL 2.2.0
GNU COBOL 3.0
GNU COBOL 3.1.2
GNU COBOL 3.2.0

Frequently asked questions

Is JDoodle’s online COBOL compiler free?

Yes. JDoodle lets you write and run COBOL without paying. A JDoodle account is only needed to save projects, use more AI credits, or unlock faster workspaces.

Do I need to install COBOL to use JDoodle?

No. JDoodle runs COBOL on its servers. Open this page in a browser and execute.

Which COBOL 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 COBOL 2.0.0, GNU COBOL 2.2.0, GNU COBOL 3.0, GNU COBOL 3.1.2, and GNU COBOL 3.2.0.

Can I run a multi-file COBOL project online?

Not on this page, which runs a single COBOL file. For several files in one project, open the JDoodle COBOL IDE. Everything else works the same on both.

Is this an online COBOL editor or a compiler?

Both. The page is an online COBOL 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.

More online compilers like COBOL

C, C99, Pascal, Go, Fortran, Lua

This website uses cookies to ensure you get the best experience on our website.