.cbl COBOL source code

Text & source code

MIME typetext/x-cobol
DescriptionCOBOL source code
AcronymCOBOL – COmmon Business Oriented Language
CategoryText & source code
Based ontext/plain
Other extensions.cob

Frequently asked questions

What is a .cbl file?

A .cbl file is a “COBOL source code” (MIME type text/x-cobol). COBOL stands for COmmon Business Oriented Language.

How do I open a .cbl file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .cbl file?

No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.cbl shows the guessed type.

Which format is .cbl based on?

Technically a .cbl file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.

Which MIME type belongs to .cbl?

The MIME type is text/x-cobol. In the Apache web server: AddType text/x-cobol .cbl; in nginx: types { text/x-cobol cbl; }.

Nearby entries