How to Convert Text Case: UPPERCASE, lowercase, Title Case & Code Formats
Linguistic capitalization rules, title case formatting, and developer casing styles (camelCase, snake_case, kebab-case).
The Importance of Consistent Text Casing
Capitalization communicates structural meaning. In prose, uppercase letters announce sentence beginnings and proper nouns. In headlines, title case conveys authority and professionalism. In computer programming, casing formats allow developers to represent multi-word identifiers without spaces.
Accidentally typing in all-caps or struggling with title capitalization rules can undermine the polish of your writing. Here is a breakdown of the universal casing standards.
Linguistic Casing Formats (Writing & Publishing)
Editorial publications adhere to four primary casing styles:
- UPPERCASE (ALL CAPS): Every single letter is capitalized. Used sparingly for acronyms (NASA), legal disclaimers, or emphatic warnings.
- lowercase: Every character is rendered in small letters without capitalizations. Common in modern aesthetic branding and informal messaging.
- Sentence case: Only the initial letter of the first word and proper nouns are capitalized (e.g. “The quick brown fox jumps over the lazy dog”). Standard for British headlines and body text.
- Title Case: Major words are capitalized, while minor words remain lowercase.
The Rules of Title Case (Which Words Stay Lowercase?)
Under standard style guides (such as The Chicago Manual of Style and APA), format title case according to these rules:
- Always capitalize: The first and last word of the title, regardless of part of speech.
- Always capitalize: All nouns, pronouns, verbs, adjectives, and adverbs.
- Keep lowercase (unless first or last word): Short articles (a, an, the), coordinating conjunctions (and, but, for, nor, or, so, yet), and short prepositions (at, by, for, in, of, on, to, up, with).
Example:
“How to Calculate a Loan Payment in Modern Banking” (notice “to”, “a”, and “in” remain lowercase).
Developer & Code Casing Formats
Because programming languages and database query engines cannot use spaces in variable names, software engineering created standardized compounding styles:
| Style Name | Format Example | Common Technical Use Case |
|---|---|---|
| camelCase | totalLoanPayment | JavaScript, Java, and C# variable & method names |
| PascalCase | TotalLoanPayment | Classes and TypeScript interface declarations |
| snake_case | total_loan_payment | Python variables, functions, and SQL column names |
| kebab-case | total-loan-payment | HTML custom attributes, CSS classes, and URL slugs |
| CONSTANT_CASE | TOTAL_LOAN_PAYMENT | Global constants and environment configuration keys |
Convert Letter Case Instantly
Format documents, fix accidental caps-lock typing, and transform code identifiers in one click:
- Convert text between all casing styles with our Case Converter.
- Clean excess spaces and line breaks with our Text Cleaner & Formatter.
- Analyze writing length with our Word Counter.
Put This Into Practice
Skip manual calculation math and compute your numbers in seconds with our free, 100% private Case Converter.
Open Case Converter →