Toolalize

Text Case Converter

Convert text between camelCase, PascalCase, snake_case, kebab-case, and more. Instant results with copy buttons.

camelCase
PascalCase
snake_case
SCREAMING_SNAKE
kebab-case
UPPER CASE
lower case
Title Case
Sentence case

Common Examples

InputcamelCasesnake_casekebab-case
hello worldhelloWorldhello_worldhello-world
user nameuserNameuser_nameuser-name
background colorbackgroundColorbackground_colorbackground-color
api endpointapiEndpointapi_endpointapi-endpoint
get user by idgetUserByIdget_user_by_idget-user-by-id

Frequently Asked Questions

camelCase writes compound words with no spaces, where each word after the first starts with a capital letter — for example, "backgroundColor" or "getUserById". It is the dominant naming convention in JavaScript, TypeScript, Java, Swift, and Kotlin. Variables, object properties, and function names in these languages almost always use camelCase. The name comes from the capital letters resembling camel humps in the middle of the word.
PascalCase (also called UpperCamelCase) capitalises every word including the first — for example, "BackgroundColor" or "UserProfile". camelCase only capitalises from the second word onward. PascalCase is typically used for class names, constructor functions, React components, and TypeScript interfaces. If you see a name that starts with a capital and has internal capitals, it is almost certainly a class or component name.
snake_case joins words with underscores in lowercase — for example, "background_color" or "user_id". It is the standard convention in Python (variables, functions, and modules), database column names, REST API parameters, and configuration files. SCREAMING_SNAKE_CASE (all uppercase with underscores) is used for constants and environment variables such as DATABASE_URL or MAX_RETRIES.
kebab-case joins words with hyphens — for example, "background-color" or "user-id". It is standard in CSS property names ("font-size", "border-radius"), HTML attributes, and URL slugs. Many design systems and configuration files also use kebab-case for keys. It is easy to read and widely used in front-end development, where hyphens are natural separators in identifiers.