TheTools.World tool

Case converter online

Convert text between UPPERCASE, lowercase, Title Case, Sentence case, aLtErNaTiNg CaSe, and the programming-style camelCase, snake_case, and kebab-case formats. Choose a mode and convert instantly in your browser.

Convert text case

Convert text between UPPERCASE, lowercase, Title Case, Sentence case, aLtErNaTiNg CaSe, and the programming-style camelCase, snake_case, and kebab-case formats. Choose a mode and convert instantly in your browser.

How to convert text case

  1. Paste or type the text you want to convert.
  2. Choose the case format you need from the dropdown.
  3. Click Convert case.
  4. Copy the result or download it as a text file.
  5. Check programming-style formats (camelCase, snake_case, kebab-case) for any characters that were stripped, since these formats only keep letters, numbers, and separators.

Programming-style case formats (camelCase, snake_case, kebab-case) remove punctuation and treat spaces and symbols as word boundaries, which is different from the plain-text formats (UPPERCASE, Title Case, and so on).

What each case format does

UPPERCASE and lowercase change every letter's case directly. Title Case capitalizes the first letter of each word. Sentence case capitalizes only the first letter of each sentence. Alternating case flips the case of each letter in sequence, mostly used for a stylistic or sarcastic effect. camelCase, snake_case, and kebab-case are naming conventions from programming: they strip punctuation, split on word boundaries, and rejoin words with no separator and internal capitals (camelCase), underscores (snake_case), or hyphens (kebab-case).

Best practices

Common mistakes to avoid

Real-world use cases

Limitations

Sentence case detection uses basic punctuation rules and can miscapitalize after abbreviations, similar to the sentence detection used in the word counter. Title Case capitalizes every word rather than following a specific editorial style guide's exceptions for short words. Programming-style formats intentionally discard punctuation, which is expected behavior for identifiers but means the conversion is not always reversible.

Privacy

Text you convert is processed locally in your browser. It is not sent to a server, logged, or stored. See the privacy policy for the site's full data handling approach.

Troubleshooting

Conclusion

Use the case converter for quick text-case changes in writing or code. For a URL-specific slug, use the slug generator; to count the result, use the word counter or character counter.

FAQ

Does Title Case follow AP or Chicago style rules?

No. This tool capitalizes every word. Formal editorial title case has exceptions for short words like "a" and "of" that this tool does not apply.

Why did punctuation disappear in camelCase or snake_case output?

Programming-style case formats strip punctuation and use word boundaries to rejoin text, which is standard behavior for code identifiers but means the result is not simply a re-cased copy of your original text.

Can I convert the result back to my original text?

Plain-text formats like UPPERCASE and lowercase can generally be reversed if you still have the original casing elsewhere, but programming-style formats discard information and are not reliably reversible.

Is my text uploaded anywhere?

No. Conversion happens locally in your browser and your text is not sent to a server.