camelCase, snake_case, and Title Case aren't interchangeable style preferences — each one is the expected convention in a specific context, and using the wrong one stands out immediately to anyone familiar with that context.

The Common Case Styles

StyleExampleWhere It's Used
camelCasefirstNameJavaScript/Java variable names
snake_casefirst_namePython variables, database columns
PascalCaseFirstNameClass names in many languages
kebab-casefirst-nameURLs, HTML/CSS attributes
Title CaseFirst NameHeadings, titles
Sentence caseFirst nameRegular prose

Why Programming Languages Care So Much

Convention, not preference: most programming style guides specify a case convention for variables, functions, and classes — following it isn't optional style, it's what makes code readable to other developers who expect that convention in that language.

Title Case Has Real Rules

Proper title case capitalizes major words but typically lowercases short articles, conjunctions, and prepositions ("a," "the," "and," "of") unless they're the first or last word — "The Lord of the Rings," not "The Lord Of The Rings." Getting this wrong is a common, noticeable mistake in headlines and titles.

Where Kebab-Case Matters

URLs and HTML attributes conventionally use kebab-case rather than camelCase or spaces — "my-page-title" rather than "myPageTitle" or "my page title," partly because spaces and certain characters aren't safe in URLs without encoding.

Step-by-Step: Convert Text Case

  1. Paste in your text
  2. Choose the target case style
  3. Copy the converted result

Try It Yourself

Use our free Case Converter — camelCase, snake_case, Title Case and more

Open Case Converter →