GnuCOBOL (formerly OpenCOBOL) Icon

GnuCOBOL (formerly OpenCOBOL)

A free COBOL compiler

4.8 Stars (38)
668 Downloads (This Week)
Last Update:
Download gnu-cobol-2.0_rc-2.tar.gz
Browse All Files
BSD Windows Mac Linux



GnuCOBOL (formerly OpenCOBOL) is a free COBOL compiler. cobc translates COBOL source to executable using intermediate C, designated C compiler and linker.

OpenCOBOL 1.1 became GNU Cobol 1.1 in 2013. Official releases at

GnuCOBOL 2.0 is on rc-2 close to release. All versions, old and new, hosted here.

A programmer's guide, by Gary Cutler, and other documentation, is indexed at

OpenCOBOL was written by Keisuke Nishida and Roger While, from 2001 to 2012.
GnuCOBOL is also authored by Simon Sobisch, Sergey Kashyrin, and Ron Norman.
Others listed in AUTHORS.

Copyright 2001-2017 Free Software Foundation, Inc.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the FSF; either version 3, or (at your option) any later version.

The libcob run time support source tree is licensed LGPL.


GnuCOBOL (formerly OpenCOBOL) Web Site


  • A nicely complete implementation of COBOL with nearly seamless C integration
  • Over 9700 NIST COBOL 85 test suite tests passed, over 500 internal checks
  • Direct access to almost all C libraries, and even more with the C++ base
  • Compiler built with GNU Autotools, also successfully builds with LLVM clang
  • CGI capable and desktop ready, GTK+ screens have been demonstrated
  • Code integrating Ada, Guile, Lua, Rexx, Javascript, Python, and others, published
  • EXEC SQL preprocessors available for PostgreSQL, Firebird, ODBC, DB2
  • ASCII, EBCDIC, little endian, big endian. A build published for z/OS OMVS/USS
  • Compiler messages translated; english, spanish, japanese, more to come
  • Almost full support of the COBOL 2014 Compiler Directing Facility feature set


Other Useful Business Software

Streamline your IT Buying experience Icon

With simplified procurement from

Streamline your IT Buying experience Icon
Easily access more than 100,000 products and tools with our robust search engine. Manage your entire IT lifecycle from purchase to renewal all in one place — so you can get more done faster.

User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
Write a Review

User Reviews

  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Install went smoothly on OSX, everything works great!

    Posted 04/16/2017
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    One of the best compilers I found

    Posted 04/03/2017
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    We are doing amazing things with GnuCOBOL, it is an awesome product if you don't use it sorry! your loss. We migrated our application and we are developing with GnuCOBOL and i can assure you we have never had any problem.

    Posted 10/28/2016
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Installed 2.0 RC1 on Windows using Visual Studio Community, took all of 10 minutes to set up the project and build the compiler. Using it to migrate a system, 1.2 million lies of code, written in REALIA COBOL from 1986. So far 25 modules have been compiled with only minor changes to the source. Using OpenCOBOLIDE to edit, compile and test each system component. If anyone is interested I can provide a Windows self install exe to install the compiler under WINDOWS 7,8 and 10. Minor changes to OpenCOBOLIDE configuration will provide a integrated development environment. The original system used a screen management system written by the folks at NORCOM back in 1985. Great product which simplified full screen development under MS-DOS. For the conversion to GnuCOBOL I will be using they new package GUIScreenIO. Simplifies the development of COBOL programs using GnuCobol for WINDOWS. While is is not opensource, the product, it is not priced out of reach and, for the time saved, it is well worth the cost.

    Posted 09/19/2016
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    finished porting half million of lines from MF it works now PS: gnu cobol does support INITIALISE statement mf cobol does NOT support INITIALISE statement +1 to gnu cobol

    Posted 09/15/2016
Read more reviews

Additional Project Details


English, Japanese, Spanish

Intended Audience


User Interface

Web-based, Console/Terminal, Command-line, GTK+, Tk

Programming Language




Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks