Convert kebab-case to other formats

A guide for converting kebab-case strings into camelCase, snake_case, and related styles. Useful for reusing slugs or CSS class names in code.

How to convert kebab-case

Enter a kebab-case string in the matching tool and review multiple naming styles at once. You do not need to replace separators manually.

Input example

user-profile-card

Output example

camelCase: userProfileCard
snake_case: user_profile_card
PascalCase: UserProfileCard

Common use cases

  • Turn CSS class names into variable names
  • Reuse URL slugs as code identifiers
  • Check several output formats from one source string

Navigate from this page

Related guides