A Word Unscrambler guide

How to Convert Text Case Correctly

Learn every text case style — uppercase, lowercase, title case, sentence case, camelCase, snake_case, kebab-case — and when to use each one.

A case converter rewrites your text in a different capitalisation style with one click. It is a small tool that saves a lot of retyping, especially when you have pasted text in the wrong case or typed a paragraph with Caps Lock on. This guide explains each case style, when to use it, and the common mistakes to avoid.

Open the Case Converter

The case styles explained

The converter supports the styles you meet in everyday writing and in code:

  • UPPERCASE — every letter capitalised. Use for emphasis, acronyms, and short labels; avoid for long passages, which become hard to read.
  • lowercase — every letter lowercased. Use for casual messaging and code identifiers.
  • Title Case — the first letter of every word capitalised. Use for headlines, book and song titles, and section headings.
  • Sentence case — only the first letter of each sentence capitalised, plus proper nouns. Use for body text and most prose.
  • tOGGLE cASE — flips the case of every letter. Use to rescue text typed with Caps Lock on.

Programming case styles

Code uses its own conventions, and the converter handles them too:

  • camelCase — first word lowercase, subsequent words capitalised, no separators: "myVariableName". Standard for JavaScript variables and functions.
  • PascalCase — every word capitalised, no separators: "MyClassName". Standard for classes and type names.
  • snake_case — words lowercase, separated by underscores: "my_variable_name". Standard for Python and for constants in many languages.
  • kebab-case — words lowercase, separated by hyphens: "my-variable-name". Standard for CSS classes, URLs, and file names.

When to use each style

Match the style to the context. Headings and titles want Title Case; body copy wants Sentence case; code identifiers want the convention of your language. Mixing styles — Title Case body text, or camelCase in a Python file — signals carelessness to readers and reviewers. When in doubt, follow the convention of the surrounding text or the style guide of your project.

Common mistakes

A few pitfalls to watch for:

  • Title Case is not always right for headings. Some style guides (notably APA for long prepositions) keep short words lowercase. Check your guide before applying Title Case blindly.
  • Capitalising after a hyphen is usually wrong. "Well-Being" is correct in some guides; "Well-being" in others. Know your house style.
  • camelCase and snake_case are not interchangeable. Converting between them changes meaning in code reviews and can break references — convert deliberately, not casually.
  • Proper nouns must stay capitalised even in lowercase styles. A naive lowercase pass turns "iPhone" into "iphone"; fix these by hand after converting.

Put it into practice

Try the Case Converter

Ready to use what you just learned? Open the Case Converter and put these strategies to work — instantly, privately, and free in your browser.

Back to the Case Converter