Text Utility
Case Converter ๐ก
Convert your text to any case format instantly โ 9 conversion types including camelCase, snake_case, title case, and more. One click, zero effort.
0 characters
๐ How To Use
1
Select a case format. Click one of the 9 case buttons at the top to choose your desired output format. The selected button highlights in orange.
2
Type or paste your text. Enter your text in the Input Text box. The converted result appears automatically in real time as you type โ no button press required.
3
Switch cases freely. Click any other case button at any time to instantly convert the same input text to a different format.
4
Copy, swap, or clear. Use Copy Result to copy the output to your clipboard, Swap to move the output back into the input field, or Clear to start over.
โ๏ธ How Each Case Works
Developer Cases
camelCase, PascalCase, snake_case, and kebab-case are used in programming. camelCase and PascalCase are common in JavaScript and Java; snake_case in Python; kebab-case in CSS and URLs.
Writing Cases
UPPER CASE is used for emphasis and headings. Sentence case follows standard grammar rules. Title Case capitalizes the first letter of each word โ common in headings and titles.
| Case Name | Input: “hello world” | Output |
|---|---|---|
| UPPER CASE | hello world | HELLO WORLD |
| lower case | HELLO WORLD | hello world |
| Title Case | hello world | Hello World |
| Sentence case | hello world | Hello world |
| camelCase | hello world | helloWorld |
| PascalCase | hello world | HelloWorld |
| snake_case | hello world | hello_world |
| kebab-case | hello world | hello-world |
| aLtErNaTe | hello world | hElLo WoRlD |
โ Frequently Asked Questions
Both formats join words without spaces and capitalize each word โ the only difference is the first letter. camelCase starts with a lowercase letter (e.g. helloWorld), while PascalCase (also called UpperCamelCase) starts with an uppercase letter (e.g. HelloWorld). PascalCase is commonly used for class names in JavaScript, C#, and Java. camelCase is standard for variable and function names in most languages.
Use snake_case (underscores) for variable and function names in Python, Ruby, and database column names. Use kebab-case (hyphens) for CSS class names, HTML attributes, URL slugs, and file names. Neither should be used interchangeably in programming โ choose based on the language or convention you are working with.
Yes. All case conversions process the entire text including multiple lines and paragraphs. Line breaks are preserved in most modes. Note that developer cases like camelCase and snake_case strip spaces and special characters, which may affect multi-line text differently from prose-based cases like Title Case or Sentence case.
In prose modes (UPPER, lower, Title, Sentence, Alternate), punctuation and numbers are preserved exactly as entered. In developer modes (camelCase, PascalCase, snake_case, kebab-case), spaces and most special characters are used as word boundaries and then removed, while numbers are kept as part of the word they belong to.
There is no hard character limit enforced by this tool. The converter can handle very large blocks of text โ documents, code files, long articles โ though very large inputs (hundreds of thousands of characters) may slow your browser slightly. All processing happens locally in your browser, so no text is ever sent to any server.
๐ Related Tools
Found a Bug or Have a Suggestion?
Help us improve this tool. If you found an error, have a feature request, or think something could work better, we'd love to hear from you.
Submit Feedback