What is Case Conversion?
Case conversion is the process of transforming text from one capitalisation or formatting style into another. Different fields have their own conventions: developers use camelCase and snake_case for variable naming, designers prefer Title Case for headings, and writers rely on Sentence case for readable copy. Having a fast, accurate converter removes the tedious manual effort of reformatting text by hand.
Common Case Formats Explained
-
UPPERCASE — Every letter is capitalised.
Used for acronyms, emphasis, and constants (e.g.
MAX_RETRIES). - lowercase — Every letter is lowercased. Common for URLs, tags, and normalising data.
- Sentence case — Only the very first letter is capitalised. Standard for body text and paragraph writing.
- Title Case — The first letter of every word is capitalised. Used for headings, book titles, and article names.
-
camelCase — The first word is lowercase; subsequent words start with a capital, no spaces.
The default naming convention in JavaScript, Java, and Swift (
myVariableName). -
PascalCase — Every word starts with a capital, no spaces.
Used for class names and components in C#, TypeScript, and React (
MyClassName). -
snake_case — All lowercase, words separated by underscores.
Standard in Python, Ruby, and SQL column names (
my_variable_name). -
kebab-case — All lowercase, words separated by hyphens.
Common in URLs, CSS class names, and HTML attributes (
my-component-name).