About this calculator
Easy-to-use online text case converter tool that instantly transforms your text into lower case, UPPER CASE, Sentence case, Title Case, sWAP cASE, aLtErNaTiNg CaSe, camelCase, PascalCase, snake_case, or kebab-case. Perfect for educational, business, and personal use.
How to use
Paste or type your text into the box above, choose the case you want from the dropdown, and click Calculate to see the converted text along with its character, word, and sentence counts. Click Clear to reset all fields.
Frequently Asked Questions
What's the difference between camelCase and PascalCase?
Why did my Title Case result capitalize small words like "the" or "of"?
How does the tool decide where one "word" ends and another begins for snake_case, kebab-case, camelCase, and PascalCase?
Does converting case change my word or character counts?
What Each Case Style Is For
Text case matters more than it looks. Sentence case and Title Case are for human-readable prose and headings. UPPER CASE is used for emphasis, acronyms, or legal disclaimers, but is harder to read in long passages and is often interpreted as shouting in casual writing. camelCase and PascalCase are programming conventions for variable, function, and class names, where spaces aren't allowed. snake_case is common in Python, database column names, and URL slugs on some platforms, while kebab-case is the standard for URL slugs, HTML/CSS attribute names, and many command-line flags. sWAP cASE and aLtErNaTiNg CaSe are novelty formats mostly used for jokes, memes, or sarcastic emphasis online.
This tool is meant for anyone who needs to quickly reformat text between these styles — developers converting a phrase into a valid variable name, writers fixing text that was accidentally typed with Caps Lock on, or students matching a required title-casing style for headings. All processing happens in your browser; no text you enter is uploaded anywhere.
Worked Example
Input text: hello world example.
- Title Case: "Hello World Example"
- camelCase: "helloWorldExample"
- PascalCase: "HelloWorldExample"
- snake_case: "hello_world_example"
- kebab-case: "hello-world-example"
For this 19-character input (17 characters without spaces, 3 words, 1 sentence), the stats line below the result would read: "Characters: 19 (17 without spaces), Words: 3, Sentences: 1" regardless of which case style you chose, since those counts are always based on your original input.
Common Mistakes / How to Interpret the Result
- Expecting Title Case to skip small words. This tool capitalizes every word uniformly; it doesn't apply AP or Chicago style rules that keep short articles and prepositions lowercase.
- Using camelCase or snake_case output that starts with a number. Programming languages generally don't allow identifiers to start with a digit — if your input starts with a number, double-check the converted output is still a valid variable name before using it in code.
- Assuming Sentence case will fix already-inconsistent punctuation. Sentence case capitalizes the letter after a period, question mark, or exclamation point — it can't recover proper sentence boundaries from text with missing or unconventional punctuation.
- Forgetting the counts reflect the original text. If you're checking whether converted output fits a character limit (like a database field or social post), remember converting case never changes the character count from what's shown for your input.
Related Tools
- Lorem Ipsum Generator — generate placeholder text to test layouts alongside your case-converted text.
- Password Generator — another quick browser-based text utility.