Quick Tools Online

Free Text Case Converter Online

Convert text between camelCase, PascalCase, snake_case, kebab-case, UPPER_SNAKE_CASE, Title Case, UPPERCASE, and lowercase instantly.

Programming, writing, and API design all use different text case conventions. A variable might be camelCase in JavaScript, snake_case in Python, kebab-case in CSS, and PascalCase in C#. Switching between them by hand is tedious and error-prone — this tool does it in one click. Paste any text and convert it to any of nine common formats: camelCase, PascalCase, snake_case, kebab-case, UPPER_SNAKE_CASE, Title Case, Sentence case, UPPERCASE, and lowercase. The conversion handles spaces, punctuation, and existing case patterns, so you can paste a sentence, a heading, or a mixed-case identifier and get clean output.

Ad Space

Text Case Converter

Ad Space

How to use this text case converter

  1. Paste or type your text into the input box.
  2. Click the button for the case style you want: camelCase, snake_case, kebab-case, PascalCase, UPPER_SNAKE, Title Case, Sentence case, UPPERCASE, or lowercase.
  3. The converted text appears in the output box.
  4. Click Copy to put the result on your clipboard.

Common use cases

  • Renaming a JSON field or database column to match a different language's naming convention
  • Converting a blog post title to a kebab-case URL slug
  • Transforming a list of human-readable labels into camelCase JavaScript variable names
  • Converting SCREAMING_SNAKE_CASE constants back to sentence-readable text
  • Preparing enum values in PascalCase from a plain English list

Frequently asked questions

What is camelCase?

camelCase is a naming convention where the first word is lowercase and every subsequent word starts with an uppercase letter, with no spaces or separators. It is the default for variables and functions in JavaScript, Java, and many other languages. 'myVariableName' and 'getUserById' are camelCase.

What is the difference between snake_case and kebab-case?

Both separate words with a single character. snake_case uses an underscore and is common in Python, Ruby, and database column names. kebab-case uses a hyphen and is common in CSS class names, HTML attributes, and URL paths.

When should I use PascalCase vs camelCase?

PascalCase (every word capitalized, no separator) is used for class names, types, React components, and constructors in most languages. camelCase is used for variables and functions. In TypeScript: 'interface UserProfile' is PascalCase, while 'const getUserProfile' is camelCase.

Does this preserve acronyms?

Acronyms like 'URL', 'API', or 'HTML' are treated as words. In camelCase, 'parseURL' might become 'parseUrl'. If strict acronym preservation is required, review the output — different codebases handle this differently.

Ad Space

More Tools