Case Converter

Nine cases, including the programmer ones.

Nine cases, including the programmer ones.

How to use it

  1. Paste your text. Line breaks and punctuation are kept for the writing cases.
  2. Pick a case. The writing cases keep your spacing. The programmer cases rebuild the text from its words.
  3. Copy the result. Nothing is stored. Close the tab and it is gone.

When you would use this

Changing case sounds trivial and splits into two quite different jobs. The writing cases, upper, lower, title and sentence, keep your text intact and only change letters, so line breaks and punctuation survive. The programmer cases take the text apart into words and rebuild it, which means the separators you had are gone by design. The hard part of the second group is finding the word boundaries when there are none: an existing camelCase name has to be split on its capitals, and an acronym in the middle has to stay whole rather than donating its last letter to the next word. Title case is the contested one. No two style guides agree on which small words stay lowercase, so this follows the Chicago shortlist and always capitalises the first and last word.

Questions

Which words stay lowercase in title case?
Articles, short conjunctions and short prepositions, unless they are first or last. That is the Chicago shortlist. Title case is genuinely contested, so it is worth knowing which rule you are getting.
Does it handle text that is already camelCase?
Yes. An existing camelCase or PascalCase string has no separators, so it is split on the case changes. parseHTTPResponse becomes parse, HTTP, Response rather than being mangled.
Is my text stored or sent anywhere?
No. The work happens in the page as you type. There is no server involved, and closing the tab is all it takes to be rid of it.