COBOL-CASE Converter — Free Online Tool
Last updated: January 2025
What is COBOL-CASE Converter?
COBOL-CASE converts text to ALL-UPPERCASE-WITH-HYPHENS — the naming convention used in COBOL programming.
When to use COBOL-CASE Converter?
Use COBOL-CASE for COBOL data names and paragraphs, or any system requiring uppercase-hyphenated identifiers.
How to use this tool
- 1Paste your text
- 2Click 'Convert' to get COBOL-CASE output
- 3Copy for COBOL programs and legacy systems
Examples
| Input | Output |
|---|---|
| hello world | HELLO-WORLD |
| customer account number | CUSTOMER-ACCOUNT-NUMBER |
| total_amount | TOTAL-AMOUNT |
| dateOfBirth | DATE-OF-BIRTH |
| employee id | EMPLOYEE-ID |
Rules & Behavior
- All words are UPPERCASE
- Words are separated by hyphens (-)
- This is essentially UPPER-KEBAB-CASE
Related Tools
Frequently Asked Questions
What is COBOL-CASE?
COBOL-CASE is the naming convention used in COBOL programming where all identifiers are uppercase with hyphens as word separators, like CUSTOMER-ACCOUNT-NUMBER.
Is COBOL-CASE the same as UPPER-KEBAB-CASE?
Yes, UPPER-KEBAB-CASE and COBOL-CASE are the same pattern — uppercase letters separated by hyphens.
Do I only use COBOL-CASE for COBOL?
It's primarily known from COBOL but appears in other legacy systems, some configuration formats, and SCREAMING-KEBAB contexts.
How is it different from CONSTANT_CASE?
CONSTANT_CASE uses underscores (HELLO_WORLD) while COBOL-CASE uses hyphens (HELLO-WORLD).
Can I use special characters in COBOL identifiers?
COBOL identifiers can only contain letters, digits, and hyphens. Our tool removes all other special characters.