Case Converter: Title Case versus Sentence case

Start with the task you actually need to finish

  • Converting a headline into Title Case for a blog post or article.
  • Turning a database column name into camelCase for use in JavaScript code.
  • Fixing an email or message accidentally typed with caps lock on.

Follow the workflow and review the result

  1. Paste or type your text into the input box.
  2. Choose the target case: UPPERCASE, lowercase, Sentence case, Title Case, camelCase, snake_case or kebab-case.
  3. Review the converted text shown in the output area.
  4. Click Copy to copy the result to your clipboard.
  5. Repeat with a different case option if you need multiple versions of the same text.

Title Case versus Sentence case

Title Case capitalises each major word, as in "How to Write Better Copy," and is typically used for headings and titles. Sentence case capitalises only the first word and proper nouns, as in "How to write better copy," and matches normal prose formatting.

Choosing a case for code

camelCase (myVariableName) is the convention for JavaScript and Java variables and functions, snake_case (my_variable_name) is common in Python and SQL, and kebab-case (my-variable-name) is standard for URL slugs and CSS class names. Picking the right one keeps code consistent with the surrounding codebase's style.

Handling punctuation and special characters

Sentence and Title Case preserve existing punctuation and only adjust letter casing, while camelCase, snake_case and kebab-case strip spaces and punctuation to build a single continuous identifier. Numbers and existing hyphens or underscores are generally kept as separators during conversion.