Case Converter
camelCase, snake_case, kebab-case, PascalCase and more.
- Runs in your browser
- Text
- camelCase
userProfileSettingsPage - PascalCase
UserProfileSettingsPage - snake_case
user_profile_settings_page - SCREAMING_SNAKE
USER_PROFILE_SETTINGS_PAGE - kebab-case
user-profile-settings-page - Title Case
User Profile Settings Page - Sentence case
User profile settings page - dot.case
user.profile.settings.page
How to use the Case Converter
- 1Type or paste any identifier or phrase.
- 2See it in camelCase, PascalCase, snake_case, kebab-case and more.
- 3Click Copy on the one you need.
Questions
How are words detected?
It splits on spaces, punctuation and case changes, so userID, user_id and user-id all become the words user and id.
How are acronyms handled?
A run of capitals is treated as one word, so HTTPResponse becomes http and response.
Which case should I use?
Common conventions: camelCase for JavaScript variables, PascalCase for classes and components, snake_case for Python and SQL, kebab-case for URLs and CSS.