Case converter

Convert text to camelCase, snake_case, kebab-case, PascalCase and more — click any card to copy.

Did you know?

camelCase is named after the humps of a camel. It was popularized in programming in the 1970s and is now the dominant naming convention in JavaScript, Java and Swift.

Which case convention should you use?

FAQ

What is camelCase?

camelCase joins words without spaces, capitalizing the first letter of each word except the first: myVariableName.

What is the difference between snake_case and kebab-case?

snake_case uses underscores to separate words, while kebab-case uses hyphens. snake_case is common in Python and databases; kebab-case is common in URLs and CSS.

What is PascalCase?

PascalCase capitalizes the first letter of every word with no separator: MyVariableName. Commonly used for class names.