Text & Writing Utilities • ⏱️ 5 min read

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:

  1. Always capitalize: The first and last word of the title, regardless of part of speech.
  2. Always capitalize: All nouns, pronouns, verbs, adjectives, and adverbs.
  3. 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 NameFormat ExampleCommon Technical Use Case
camelCasetotalLoanPaymentJavaScript, Java, and C# variable & method names
PascalCaseTotalLoanPaymentClasses and TypeScript interface declarations
snake_casetotal_loan_paymentPython variables, functions, and SQL column names
kebab-casetotal-loan-paymentHTML custom attributes, CSS classes, and URL slugs
CONSTANT_CASETOTAL_LOAN_PAYMENTGlobal constants and environment configuration keys

Convert Letter Case Instantly

Format documents, fix accidental caps-lock typing, and transform code identifiers in one click:

Put This Into Practice

Skip manual calculation math and compute your numbers in seconds with our free, 100% private Case Converter.

Open Case Converter →