About Text Case Converter
Different contexts demand different capitalisation: headlines use Title Case, database columns use snake_case, JavaScript variables use camelCase, and constants use CONSTANT_CASE. Converting by hand is tedious and error-prone across long lists.
How to use
- Paste your text.
- Choose the target case format.
- Copy the converted result.
Frequently asked questions
What is the difference between camelCase and PascalCase?
Both join words without spaces, but camelCase leaves the first letter lowercase (userName) while PascalCase capitalises it (UserName). JavaScript conventionally uses camelCase for variables and PascalCase for classes and components.
When should I use snake_case or kebab-case?
snake_case is conventional for Python variables and SQL column names. kebab-case suits URLs, CSS class names, and filenames, since hyphens are safe in web addresses where underscores can be harder to read.
What is the difference between Title Case and Sentence case?
Title Case capitalises each significant word, as in "How to Write Clearly". Sentence case capitalises only the first word and proper nouns, as in "How to write clearly".