.cob COBOL source code
Text & source code
| MIME type | text/x-cobol |
|---|---|
| Description | COBOL source code |
| Acronym | COBOL – COmmon Business Oriented Language |
| Category | Text & source code |
| Based on | text/plain |
| Other extensions | .cbl |
Frequently asked questions
What is a .cob file?
A .cob file is a “COBOL source code” (MIME type text/x-cobol). COBOL stands for COmmon Business Oriented Language.
How do I open a .cob 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 .cob 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.cob shows the guessed type.
Which format is .cob based on?
Technically a .cob 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 .cob?
The MIME type is text/x-cobol. In the Apache web server: AddType text/x-cobol .cob; in nginx: types { text/x-cobol cob; }.