Text Case Converter
Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case at once.
—
—
—
—
—
—
—
—
Conversions run entirely in your browser. camelCase/PascalCase/snake_case/kebab-case split your text into words (on spaces, hyphens, underscores, and case changes) and strip punctuation, since those formats are meant to look like code identifiers — Title Case and Sentence case instead preserve your original spacing and line breaks. This is a practical implementation, not a linguistically perfect one for every language.
Paste text once and see it converted to eight common cases at the same time: UPPERCASE, lowercase, Title Case, Sentence case, and the four programming-identifier styles — camelCase, PascalCase, snake_case, and kebab-case.
Title Case and Sentence case preserve your original spacing and line breaks. The four programming-identifier styles instead split your text into words and strip punctuation, since that's how those formats are actually used in code — this word-splitting is Unicode-aware, so accented letters and non-Latin scripts (e.g. Cyrillic, Devanagari, CJK) are kept as real letters rather than dropped, though it doesn't provide language-specific word segmentation for every script (e.g. CJK text with no spaces won't be split into individual words).
How to use the Text Case Converter
- Type or paste your text into the box.
- Check the character and word counts under the box if you need them.
- Read all eight versions in the result cards as you type.
- Click Copy on the card you want; use Clear to start over.
Example: One phrase, three styles
Paste: the quick brown fox's API-key. Title Case gives The Quick Brown Fox's Api-key, camelCase gives theQuickBrownFoxsApiKey, and snake_case gives the_quick_brown_foxs_api_key (the apostrophe is stripped from the identifier styles).
Questions about the Text Case Converter
- Why did Title Case turn API into Api?
- Title Case capitalizes the first letter of each space-separated word and lowercases the rest, so acronyms are not preserved. Short words are capitalized too, for example A Tale Of Two Cities.
- Does Sentence case keep proper nouns capitalized?
- No. It lowercases everything, then capitalizes the first letter of the text and the first letter after a period, exclamation mark, or question mark followed by a space.
- Can I convert from one code style to another?
- Yes. Case changes are treated as word breaks, so getHTTPResponse code becomes get_http_response_code in snake_case and getHttpResponseCode in camelCase.