Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, and more.
How to Use This Case Converter
Type or paste your text in the input box, then click any of the conversion buttons to transform it. The result appears instantly in the output box below. Click "Copy to Clipboard" to copy the converted text. You can convert the same input text multiple times with different cases without retyping.
What Are Text Case Styles?
Text case refers to the capitalization pattern used in writing. Different contexts call for different case styles. In everyday writing, sentence case and title case are most common. In programming, camelCase, snake_case, and kebab-case are conventions used for naming variables, functions, files, and URLs.
UPPERCASE converts every letter to its capital form. It's used for acronyms, headings, and emphasis. lowercase converts everything to small letters, commonly used in URLs, email addresses, and normalized data. Title Case capitalizes the first letter of each word, standard for headings and titles in English.
Sentence case capitalizes only the first letter after sentence-ending punctuation, matching normal prose. camelCase joins words with no separator, capitalizing each word except the first — the standard in JavaScript and Java. snake_case joins words with underscores in lowercase, popular in Python and Ruby. kebab-case uses hyphens between lowercase words, common in URLs and CSS class names.
Toggle case (also called inverse case) swaps every letter — uppercase becomes lowercase and vice versa. It's often used humorously in internet culture to convey sarcasm.
When to Use Each Case
Examples
Input: "hello world example" → Title Case: "Hello World Example" → camelCase: "helloWorldExample" → snake_case: "hello_world_example"
Input: "myVariableName" → kebab-case: "my-variable-name" → UPPERCASE: "MY VARIABLE NAME"
Frequently Asked Questions
What is the difference between Title Case and Sentence Case?
Title Case capitalizes the first letter of every word ("The Quick Brown Fox"), while Sentence case only capitalizes the first letter of each sentence ("The quick brown fox"). Style guides like AP and Chicago have specific rules about which small words to leave lowercase in title case.
Which case should I use for programming variable names?
It depends on the language and convention: JavaScript and Java use camelCase, Python uses snake_case, CSS uses kebab-case, and constants across most languages use UPPER_SNAKE_CASE. Follow your project's existing conventions for consistency.
Can this tool handle special characters and numbers?
Yes. Special characters and numbers are preserved as-is. Only alphabetic letters are affected by case conversion. Unicode characters like accented letters (é, ñ, ü) are also converted correctly by the browser's built-in toUpperCase/toLowerCase methods.