Case Converter
Convert text between UPPER, lower, Title, Sentence, camelCase, snake_case, kebab-case, CONSTANT_CASE, and PascalCase.
Case Converter tool
Example
Input: hello world example, Convert To: camelCase
Result: helloWorldExample
The words are joined with the first word lowercase and every later word capitalized. The same input gives hello_world_example in snake_case and hello-world-example in kebab-case.
The Same Phrase in Every Case
| Case | Output |
|---|---|
| UPPER CASE | THE QUICK BROWN FOX |
| lower case | the quick brown fox |
| Title Case | The Quick Brown Fox |
| Sentence case | The quick brown fox |
| camelCase | theQuickBrownFox |
| PascalCase | TheQuickBrownFox |
| snake_case | the_quick_brown_fox |
| kebab-case | the-quick-brown-fox |
| CONSTANT_CASE | THE_QUICK_BROWN_FOX |
Input: "the quick brown fox".
- Paste or type the text you want to convert into the input area.
- Choose a style in the Convert To menu: UPPER, lower, Title, Sentence, camelCase, snake_case, kebab-case, CONSTANT_CASE or PascalCase.
- Read the converted text in the output area.
- Click the copy button to copy the result.
- Pick another style to compare results without typing your text again.
Nine Text Cases and When to Use Each
This case converter changes text into nine styles: UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Paste your text, pick a style from the menu, and the result appears at once, ready to copy.
The first four styles only change letters, so spaces and punctuation stay where they are. Title Case capitalizes the first letter of every word, even short ones like "of" and "the". Sentence case capitalizes the first letter of the text and the first letter after a period, question mark, exclamation mark or line break. It cannot tell that "paris" is a name, so check proper nouns after you convert.
The other five styles are for code and file names. The tool splits your text into words at spaces, punctuation and each switch from a small letter to a capital. Then it joins the words in the new style. So "getUserName" becomes get_user_name in snake_case, and "HTTPResponse code" becomes http_response_code. Apostrophes are dropped, so "don't stop" turns into dontStop in camelCase. Each line is converted on its own, which means you can paste a whole list of names at once.
Need a web address rather than a variable name? The Text to Slug Generator also strips accents and symbols. To fix repeated words before you convert, use Find and Replace.
Frequently Asked Questions
Related Tools
Word Counter and Character Counter
Count words, characters, sentences, and paragraphs in your text. Includes reading time and speaking time estimates.
Text and WritingText to Slug and URL Generator
Convert any text into a clean, URL-friendly slug. Handles special characters and accented Latin letters automatically.
Text and WritingFind and Replace
Find and replace text with regular expressions, capture groups, case-sensitive matching, and a live match count.
Text and WritingText to Binary Converter
Convert text to binary and binary back to text. Supports ASCII and UTF-8 encoding with space-separated bytes.
Text and Writing