String Case Converter

Convert between camelCase, snake_case, kebab-case and more.

Input
Output

How to Use

Paste your text or variable name into the input field and select the target case format. The tool supports camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, Title Case, UPPER CASE, lower case, and more. Results update instantly as you type.

Common Use Cases

  • Converting API response field names from snake_case to camelCase for JavaScript
  • Transforming class names to follow language-specific naming conventions
  • Generating constant names in SCREAMING_SNAKE_CASE from descriptive phrases
  • Creating URL-friendly kebab-case slugs from titles or headings

Frequently Asked Questions

How does the tool determine word boundaries?

The tool detects word boundaries using spaces, hyphens, underscores, and camelCase transitions (where a lowercase letter is followed by an uppercase letter). This allows it to correctly convert between any supported case format.

Can I convert multiple lines at once?

Yes. Each line is treated as a separate input and converted independently, so you can batch-convert a list of variable names in one operation.

What is the difference between camelCase and PascalCase?

In camelCase the first word starts with a lowercase letter (myVariableName), while PascalCase starts every word with an uppercase letter (MyVariableName). PascalCase is also called UpperCamelCase.