Instantly convert any text into the programming case format you need. Essential for developers working across languages and style guides.
Every programming language and framework has its own naming convention. JavaScript favors camelCase, Python uses snake_case, CSS classes use kebab-case, and constants use SCREAMING_SNAKE_CASE. Manually converting variable names is tedious and error-prone — especially when refactoring large codebases or copying names between languages.
Text Case Lab converts any text between all major naming conventions in one click. Paste your input, select your target format, and copy the result instantly.
camelCase writes compound words with no spaces, capitalizing the first letter of each word except the first (e.g. myVariableName). It's standard in JavaScript, Java, and Swift.
snake_case uses underscores between words with all letters lowercase (e.g. my_variable_name). It's standard in Python, Ruby, and database column names.
kebab-case uses hyphens between words with all letters lowercase (e.g. my-variable-name). It's standard in CSS class names, HTML attributes, and URL slugs.
PascalCase capitalizes the first letter of every word with no separators (e.g. MyVariableName). It's standard for class names in most object-oriented languages.
SCREAMING_SNAKE_CASE is snake_case with all letters uppercase (e.g. MY_VARIABLE_NAME). It's the standard convention for constants and environment variables.
All processing happens locally in your browser. We never see, store, or transmit your data. This tool is fully client-side and secure.
Other free tools you might find useful