Text Case Types Explained

Text case refers to the capitalization pattern of letters. Different contexts — from programming to publishing — require different conventions.

Case TypeExampleUsed In
UPPERCASEHELLO WORLDHeadings, acronyms, SQL keywords
lowercasehello worldURLs, CSS class names
Title CaseHello WorldArticle titles, book names
Sentence caseHello worldRegular sentences, UI text
camelCasehelloWorldJavaScript variables, JSON keys
PascalCaseHelloWorldClasses, React components, TypeScript types
snake_casehello_worldPython variables, database columns
kebab-casehello-worldCSS classes, URL slugs, HTML attributes
SCREAMING_SNAKE_CASEHELLO_WORLDConstants in most languages

When Developers Need Case Conversion

  • Converting API response field names from snake_case to camelCase for JavaScript.
  • Generating component names from kebab-case HTML attributes to PascalCase Vue/React components.
  • Creating database column names from camelCase model properties.
  • Converting copy from a designer (Title Case) to code variable names.

How to Convert Text Case Online

  1. Go to FavorTool Case Converter.
  2. Paste your text in the input area.
  3. Click the target case button (e.g., camelCase, snake_case).
  4. Copy the converted output instantly.

Title Case Rules

True title case follows style guide rules about which words to capitalize. Generally, capitalize nouns, verbs, adjectives, and adverbs; lowercase articles (a, an, the), short prepositions (in, on, at), and coordinating conjunctions (and, but, or) — unless they start the title.