Case Converter
Convert text between UPPERCASE, lowercase, Title Case, Sentence case, and programming-style cases like camelCase and snake_case — instantly, in either direction.
Copied to clipboard.
About this case converter
Type or paste text, pick a case, and the result updates instantly — and keeps updating if you carry on editing the input, without needing to click the same button again. Five of the options here (UPPERCASE, lowercase, Title Case, Sentence case, and the two novelty cases) treat your text as natural language: they change letter casing but leave all your original punctuation, spacing, and line breaks exactly where they were.
The other five — camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE — are programming naming conventions, and they work differently on purpose: they strip out punctuation and spacing entirely and rebuild your text as a single clean identifier, since that's what these formats are actually used for in real code. camelCase (first word lowercase, each following word capitalized, no separators) is the standard for variable and function names in JavaScript, Java, and many other languages. PascalCase (every word capitalized, no separators) is typically used for class and component names. snake_case and kebab-case both lowercase everything and join words with an underscore or hyphen respectively — snake_case is common in Python and database column names, kebab-case in URLs and CSS class names. CONSTANT_CASE (all uppercase, underscore-separated) is the near-universal convention for constants and environment variable names.
These five also work in reverse: paste in myVariableName or some-kebab-slug and convert it to Title Case or Sentence case, and the tool recognizes the existing word boundaries (including the capital-letter boundaries inside camelCase and PascalCase) rather than treating the whole thing as one word.
The two novelty options — alternating case and inverse case — don't serve a technical purpose but come up often enough (mocking memes, stylized text, testing how a design handles mixed-case input) that they're worth including alongside the more practical conversions.
Only which case type you last used is remembered between visits, as a convenience — never the text itself, since people paste all kinds of personal and professional writing into a tool like this.
Frequently asked questions
What's the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter and capitalizes each subsequent word (myVariableName). PascalCase capitalizes every word including the first (MyClassName). camelCase is typical for variables and functions; PascalCase for classes and components.
Why does snake_case strip my punctuation but Title Case doesn't?
snake_case, camelCase, PascalCase, kebab-case, and CONSTANT_CASE are programming identifier formats, which can't contain most punctuation or spaces, so the tool rebuilds your text as a clean identifier. Title Case and the other natural-language options preserve your original punctuation and spacing exactly.
What is CONSTANT_CASE used for?
It's the standard convention for naming constants and environment variables in most programming languages — for example MAX_RETRY_COUNT or API_BASE_URL.
Can I convert code identifiers back into normal text?
Yes. Paste in something like myVariableName or some-kebab-slug and choose Title Case or Sentence case — the tool detects the word boundaries inside camelCase, PascalCase, snake_case, and kebab-case input and converts accordingly.
Is my text saved anywhere?
No. Only which case option you last used is remembered as a convenience; the text you type or paste is never saved or uploaded.