Back

🔤 Case Style Converter

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

💡 Case Styles:
  • camelCase: myVariableName (first letter lowercase)
  • PascalCase: MyVariableName (first letter uppercase)
  • snake_case: my_variable_name (underscores)
  • kebab-case: my-variable-name (hyphens)
  • CONSTANT_CASE: MY_VARIABLE_NAME (uppercase with underscores)
  • dot.case: my.variable.name (dots)
  • Train-Case: My-Variable-Name (capitalized with hyphens)
Frequently Asked Questions

What are the different case styles?

camelCase starts with lowercase and capitalizes subsequent words. PascalCase capitalizes all words. snake_case uses underscores. kebab-case uses hyphens. CONSTANT_CASE is uppercase with underscores. dot.case uses periods. Train-Case capitalizes all words with hyphens.

When should I use each case style?

camelCase is common in JavaScript variables. PascalCase for class names. snake_case in Python and databases. kebab-case in CSS and URLs. CONSTANT_CASE for constants. dot.case in configuration files. Train-Case for headings.

How does the converter handle mixed input?

The tool tokenizes input by splitting on spaces, underscores, hyphens, and camelCase boundaries. It then reconstructs the text in each target format, ensuring consistent conversion regardless of input style.

Can I convert between any case styles?

Yes, the converter supports bidirectional conversion between all supported case styles. Enter text in any format, and it will generate all eight case styles as output.