Case converter

Instantly convert text to any case: UPPER, lower, Title, Sentence, camelCase, snake_case, or kebab-case.

Try an example:

✨ Pro Tips for Best Results

  • Title Case vs AP Style: Note that this tool capitalizes every word. AP and Chicago styles keep small words (like "the", "of") lowercase unless they are the first or last word.
  • Clean Before Converting: Use the "Clear" button to ensure no invisible trailing spaces are included in your transformation.
  • URL Friendly: Use kebab-case if you are creating file names or URL slugs to ensure maximum compatibility.

Developer Case Styles: When to use what?

In programming, case styles are used to distinguish between variables, classes, and constants:

  • camelCase: Standard for JavaScript variables and functions (e.g. userFirstName).
  • snake_case: Common in Python and database field names (e.g. user_first_name).
  • kebab-case: Used for CSS classes and URL slugs (e.g. user-first-name).
  • PascalCase: (Capitalized camelCase) Used for Classes in most languages (e.g. UserAccount).

How case conversion works

This tool converts text between four common case styles: UPPER CASE, lower case, Title Case, and Sentence case. Each conversion is handled differently in JavaScript to account for the nuances of each style.

UPPER CASE: All characters converted to uppercase via toUpperCase().
lower case: All characters converted to lowercase via toLowerCase().
Title Case: The first letter of each word is capitalised, the rest lowercased. Words are split on whitespace.
Sentence case: Only the first letter of the first word in each sentence is capitalised. Sentence boundaries are detected at . ! ? followed by a space or line break.

Note that Title Case here capitalises every word including short prepositions and articles (a, an, the, of, in). Formal title case style (AP, Chicago, APA) has more complex rules that keep small words lowercase β€” use this for general-purpose conversion, and apply style-guide rules manually for formal publications.

Related tools

Word counter β†’ Slug generator β†’ Lorem ipsum β†’

⚠️ Common Mistakes to Avoid