Text Case Converter
Paste any text and instantly see it converted to 12 different cases. Click a result to copy it.
What is a Text Case Converter?
A text case converter transforms text between different capitalisation styles: camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE_CASE, Title Case, UPPER CASE, and lower case. These are the naming conventions used across different programming languages, CSS properties, file names, and database columns.
How to convert text case online
- Type or paste your text into the input field.
- Click the target case style (camelCase, snake_case, etc.).
- The converted text appears instantly. Click to copy.
Frequently Asked Questions
What is camelCase?
camelCase (or lower camelCase) starts with a lowercase letter and capitalises the first letter of each subsequent word, with no separators: myVariableName. It is the standard in JavaScript (variables and functions) and Java.
What is PascalCase?
PascalCase (or UpperCamelCase) capitalises the first letter of every word, including the first: MyClassName. It is used for class names in most object-oriented languages.
What is snake_case?
snake_case uses lowercase letters with underscores as word separators: my_variable_name. It is the standard in Python, Ruby, and SQL column names.
What is kebab-case?
kebab-case uses lowercase letters with hyphens as word separators: my-variable-name. It is used in CSS property names (background-color), HTML attributes, and URL slugs.
What is SCREAMING_SNAKE_CASE?
SCREAMING_SNAKE_CASE is snake_case in all capitals: MY_CONSTANT_VALUE. It is the standard convention for constants in Python, Java, and C.