Skip to content
Toolverse

Text tool

Text Case Converter

Fix text typed with Caps Lock on, format headings in Title Case, or turn phrases into camelCase, snake_case and kebab-case identifiers for code, URLs and file names.

Processed in your browser; nothing is uploaded.

How to use the text case converter

  1. Paste your text into the input box.
  2. Click a case button. The converted text appears below.
  3. Copy the result or download it as a .txt file.

How it works

UPPERCASE and lowercase use the Unicode case mappings built into your browser, so accented and non-Latin letters (é, ß, Ж) convert correctly. Title Case capitalises each word except short joining words such as “of”, “and” and “the” when they are not the first or last word. Sentence case lowercases everything, then capitalises the first letter after each full stop, question mark or exclamation mark, and the pronoun “I”.

The programmer cases first split text into words at spaces, punctuation and lower-to-upper transitions — so parseHTTPResponse becomes parse / HTTP / Response — and then rejoin them with the right separator. Each line is converted separately.

Worked example

“a tale OF two cities” becomes “A Tale of Two Cities” in Title Case, aTaleOfTwoCities in camelCase, a_tale_of_two_cities in snake_case and a-tale-of-two-cities in kebab-case.

Limitations

  • Sentence case cannot know proper nouns: names like “Paris” become lowercase mid-sentence and need fixing by hand.
  • Title Case follows one simple rule set; publishers' style guides (AP, Chicago) differ in details.
  • Programmer cases remove punctuation and apostrophes, so “don't” becomes “dont”.

Frequently asked questions

What is the difference between camelCase and PascalCase?

Both join words without spaces and capitalise each word. camelCase keeps the first word lowercase (userName); PascalCase capitalises it too (UserName).

When should I use kebab-case?

Kebab-case is common in URLs, CSS class names and file names because hyphens are readable and safe in web addresses.

Does it work with languages other than English?

Upper, lower and the programmer cases work with any alphabet that has letter case. The Title Case exceptions list is English-only.