Free Tool

Case Converter

Convert text between all common naming conventions instantly — camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE, Title Case, and more. Copy any result in one click.

Case Converter

Start typing above to see all case conversions instantly.

What is a case converter?

Different contexts use different casing conventions. JavaScript variables typically use camelCase, class names use PascalCase, CSS classes and URLs use kebab-case, and database columns often use snake_case.

API and code use cases

When consuming or producing APIs that use inconsistent casing (e.g., a Python backend returning snake_case to a JavaScript frontend expecting camelCase), case conversion is a frequent need.

Ten supported formats

This tool supports camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE_CASE, Title Case, dot.case, path/case, flatcase, and UPPERFLATCASE.

How to use

  1. Type or paste your text into the input field.
  2. Select the target case format — camelCase, snake_case, kebab-case, PascalCase, or any of the other supported conventions.
  3. The converted text appears instantly. Click "Copy" to copy it to your clipboard.

Examples

  • Simple: getUserName → snake_case → get_user_name. Useful when renaming a JavaScript function to match a Python API field.
  • Developer workflow: A Python backend returns user_first_name in JSON. Convert to camelCase to get userFirstName for your JavaScript model layer.
  • Edge case: Abbreviations like XMLParser may not split as expected in some conventions. Check the output and adjust manually if needed.

Frequently Asked Questions

What is camelCase?
camelCase writes compound words with no separators, capitalizing each word except the first — e.g. "helloWorld". Commonly used for variable and function names in JavaScript, Java, and many other languages.
What is snake_case?
snake_case separates words with underscores and uses all lowercase — e.g. "hello_world". Widely used in Python, Ruby, and database column names.
What is PascalCase?
PascalCase (UpperCamelCase) capitalizes the first letter of every word with no separators — e.g. "HelloWorld". Standard for class names in most object-oriented languages.
What is kebab-case?
kebab-case separates words with hyphens and uses all lowercase — e.g. "hello-world". Common in CSS class names, URL slugs, and HTML attributes.