Convert camelCase, snake_case, etc.
Updates
Recently shipped improvements
Used for JavaScript variables and functions
Used for class names and React components
Used for Python and Ruby variables
Used for URLs and CSS class names
Used for constants and environment variables
Used for titles and headings
A tool that converts between various naming conventions used in programming (camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case). Enter text and instantly see the conversion results in all case formats simultaneously.
Enter Text
Enter the variable name, function name, or general text you want to convert in the input field.
View Results
The conversion results in 6 case formats (camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case) will be displayed immediately as you type.
Copy Result
Click the copy button next to your desired case format to copy it to the clipboard.
camelCase starts the first word in lowercase and capitalizes the first letter of subsequent words (e.g., myVariableName). PascalCase capitalizes the first letter of every word (e.g., MyVariableName). Typically, camelCase is used for variables/functions, while PascalCase is used for classes/components.
snake_case is commonly used in Python, Ruby, and database column names. kebab-case is commonly used in URL slugs, CSS class names, HTML attributes, and file names.
CONSTANT_CASE (SCREAMING_SNAKE_CASE) is used to represent constant values. In most programming languages, this convention is applied to immutable values, environment variables, configuration keys, etc.
Yes, it analyzes the delimiters (spaces, hyphens, underscores) and capitalization patterns of the input text to automatically detect the current case and accurately convert it to other cases.
Yes, the tool automatically separates words from space-separated text, hyphen-connected text, or text that already has a case convention applied.