Case Conversion: Six Modes, Six Blind Spots

Open Tool Case Converter

Six modes, six blind spots

Case conversion offers six modes: all upper, all lower, capitalise each word, title case with small words lowercase, sentence case, and camel joining words into an identifier. The first four serve headings and emphasis, the last two serve naming and code. The tool switches in one click with copyable output. Before choosing, know which characters the mode touches, title case and camel most of all.

Steps

  1. Paste the text and back it up.
  2. Pick upper, lower, word capitalisation, title case, sentence case or camel.
  3. Run it and scan for damaged proper nouns and acronyms.
  4. Chinese content will not change, which is expected.
  5. Copy the result, then check naming rules for identifiers.
  6. Clear for the next pass.

Small words, acronyms, naming

Title case keeps short articles, prepositions and conjunctions lowercase and capitalises content words, yet style guides disagree on which words count and how short is short, so one rule may not match the target publication. Acronyms are the other trap: a three-letter technical acronym capitalised per word becomes a mixed-case word that readers no longer recognise. Camel mode strips spaces and underscores, and digits or special characters can produce an ambiguous identifier needing review. All-caps leaves accented characters untouched and looks uneven. Chinese and Japanese have no case and should pass through unchanged, so any change means Latin characters crept in.

Common mistakes

Title case flattening proper nouns. Acronyms turned into ordinary-looking words. Camel joining into ambiguity. Chinese expected to change and read as a failure. All-caps file names no longer matching the file system. And converted identifiers clashing with project style.

Where case conversion is unfit

Languages without case take no part. Identifier naming follows project convention, since the tool cannot judge meaning or abbreviations. Database fields and API parameters often carry case conventions that break downstream when altered. File names and paths must not shift on case-sensitive systems. And publishing title-case output requires checking the target style guide.

⏫︎