Case Converter: camelCase, snake_case and More
For anyone naming variables, files, CSS classes or headings who wants the same words in every common case style. Type once and copy the form you need.
Close the gaps with real-world projects
Build industry projects on ByteLabs and add verified proof of your skills to your public profile.
How to use the Case Converter
- Type or paste your text into the Text box.
- Click Convert.
- Find the style you need among the nine forms shown.
- Click copy next to that form.
An example, step by step (example only)
You enter
user profile id
The tool shows
camelCase: userProfileId PascalCase: UserProfileId snake_case: user_profile_id CONSTANT_CASE: USER_PROFILE_ID kebab-case: user-profile-id
Questions about the Case Converter
Can it split an existing camelCase name into words?
Yes. It breaks words at lowercase-to-uppercase changes and at underscores, hyphens and dots, so userProfileId becomes user_profile_id in snake_case.
Which case styles are supported?
camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, Title Case, sentence case, dot.case and path/case.
When should I use kebab-case instead of snake_case?
kebab-case is the norm for URLs, CSS classes and file names, while snake_case is common for Python variables and database columns.
Is the Case Converter free and private?
Yes. It is free, needs no sign-up and runs entirely in your browser, so what you type is not uploaded. You only sign in if you want to email a result to yourself or save it to your CareerByteCode profile.