Text Case Converter — UPPER, lower, Title, Sentence Case and More
Convert text between uppercase, lowercase, title case, sentence case, camelCase, snake_case, and kebab-case instantly. Perfect for writing, coding, and formatting.
Copying text from one source often means inheriting its capitalization — ALL CAPS from a legal document, all lowercase from a chat, or random Mixed caps from who knows where. Fixing it manually is tedious. The CalcHub Text Case Converter converts text to any case format in one click, including programming-specific formats like camelCase and snake_case.
Available Conversions
| Format | Example | Common Use |
|---|---|---|
| UPPER CASE | HELLO WORLD | Headings, emphasis, acronyms |
| lower case | hello world | Usernames, URLs, informal |
| Title Case | Hello World | Titles, headings |
| Sentence case | Hello world | Normal prose |
| camelCase | helloWorld | JavaScript variables, Java |
| PascalCase | HelloWorld | Classes, components, C# |
| snake_case | hello_world | Python, SQL, file names |
| kebab-case | hello-world | URLs, CSS classes, HTML |
| SCREAMING_SNAKE | HELLO_WORLD | Constants (Python, JS) |
| Alternate CaSe | hElLo WoRlD | Mocking text (SpongeBob meme) |
How to Use It
- Open CalcHub and find the Text Case Converter.
- Paste or type your text in the input box.
- Click the desired case format.
- The converted text appears immediately — copy it with one click.
Title Case Nuances
True title case follows rules about which words to capitalize. Prepositions (in, on, at, for), articles (a, an, the), and coordinating conjunctions (and, but, or) are typically lowercase unless they're the first or last word.
Simple capitalization: The Art Of War Proper title case: The Art of WarThe converter uses AP Style or Chicago Manual of Style rules depending on the selected mode.
Programming Case Uses
| Language | Variable Style | Class Style | Constant Style |
|---|---|---|---|
| JavaScript | camelCase | PascalCase | SCREAMING_SNAKE |
| Python | snake_case | PascalCase | SCREAMING_SNAKE |
| CSS | kebab-case | N/A | N/A |
| SQL | snake_case | N/A | UPPER_CASE |
| Java | camelCase | PascalCase | SCREAMING_SNAKE |
Why does Title Case vary between sources?
Different style guides have different rules. AP Style (journalism) lowercases prepositions of any length. Chicago Manual of Style lowercases prepositions under 5 letters. APA style has its own rules. The converter lets you choose a style guide.
How does the converter handle punctuation and numbers?
Punctuation and numbers are preserved in all conversion modes. Only letter characters are changed. So "Hello, World! 2026" in snake_case becomes "hello,_world!_2026" — keeping punctuation in place.
Can I convert code variable names from one convention to another?
Yes — this is one of the most practical uses. If you need to convert Python snake_case names to JavaScript camelCase (or vice versa), paste the names and select the target format. Multi-word conversions all work correctly.
Related tools: Slug Generator · Find and Replace Tool · Word Counter