Convert text between uppercase, lowercase, title case, sentence case, toggle case, and programming naming conventions like camelCase and snake_case.
Converting text between uppercase, lowercase, and other case formats is a common need for writers, programmers, data entry professionals, and content creators. Whether you accidentally typed with Caps Lock on, need to reformat a heading to title case, or want to convert a phrase to camelCase for a variable name, a reliable case converter saves time and eliminates errors.
This Case Converter handles six text case modes: UPPERCASE, lowercase, Title Case, Sentence case, tOGGLE cASE, and Capitalize Each Word. Beyond basic case conversion, it supports programmer-friendly naming conventions including kebab-case, snake_case, camelCase, PascalCase, dot.case, and even custom separators.
The tool provides a live preview of the converted text with a one-click copy button, along with detailed text statistics including character count, word count, line count, and breakdowns of uppercase, lowercase, and digit characters. A comparison table shows your input text in all case variations simultaneously, making it easy to pick the format you need.
Text case conversion is needed constantly: reformatting titles, preparing database entries, creating CSS class names, fixing Caps Lock mistakes, and standardizing data imports. Doing it manually is tedious and error-prone, especially for large blocks of text.
This tool handles both natural-language case formats and programming naming conventions in one place, with live preview, copy button, and a multi-format comparison table.
Case rules: UPPERCASE: every letter → capital lowercase: every letter → small Title Case: first letter of each word → capital, rest → small Sentence case: first letter after sentence end → capital tOGGLE: swap each letter's case
Result: Hello World Example
Title Case capitalizes the first letter of each word and lowercases the rest. "hello" → "Hello", "world" → "World", "example" → "Example".
Programming languages have strong conventions about case usage. Python uses snake_case for functions and variables, PascalCase for classes. JavaScript uses camelCase for variables and functions, PascalCase for classes and React components. CSS uses kebab-case for class names. Violating these conventions makes code harder to read and can cause issues with case-sensitive file systems and APIs.
English has specific rules for capitalization: sentence case capitalizes the first word of each sentence, title case capitalizes major words (with style guides differing on which small words to capitalize), and all-caps is reserved for acronyms and emphasis. Getting case right matters for professional writing, headlines, and data consistency.
In databases and data processing, inconsistent casing causes matching failures and duplicates. "New York," "new york," and "NEW YORK" are logically the same but computationally different. Normalizing to a consistent case before processing or storing data eliminates these issues. This tool is useful for cleaning up data exports and imports.
Title case capitalizes the first letter of every word. Strict AP/Chicago title case also lowercases articles and prepositions (the, of, in), but this tool capitalizes all words for simplicity.
camelCase joins words with no separator, capitalizing the first letter of each word except the first: "hello world" → "helloWorld". It is widely used for JavaScript variables and Java methods.
PascalCase is like camelCase but capitalizes the first word too: "hello world" → "HelloWorld". It is used for class names in Java, C#, and TypeScript. Many frameworks also use this style for component and type names.
snake_case (words joined with underscores) is standard in Python, Ruby, and database column names. CONSTANT_CASE (uppercase snake) is used for constants.
Paste the accidentally capitalized text and select "lowercase" or use "tOGGLE cASE" to invert the case of every character. This quickly restores readable sentence casing without manual retyping.
The tool uses JavaScript's built-in toUpperCase() and toLowerCase() methods, which support Unicode letters including accented characters (é, ñ, ü, etc.).