Text Case Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case, and more.
About Text Case Conversion
Different programming languages and conventions use different naming styles. JavaScript favors camelCase for variables and PascalCase for classes, Python uses snake_case, CSS and URLs use kebab-case, and environment variables use CONSTANT_CASE. Converting between these formats manually is tedious and error-prone.
Supported Case Formats
This tool automatically splits your input into words by detecting camelCase boundaries, underscores, hyphens, and spaces. It then reassembles the words in each target format. Supported conversions include camelCase, PascalCase, snake_case, kebab-case, UPPER CASE, lower case, Title Case, and CONSTANT_CASE.
Common Use Cases
Renaming variables when porting code between languages, converting database column names to API response keys, generating CSS class names from JavaScript constants, or creating environment variable names from configuration keys.