Programming case styles
| Style | Example | Typical use |
|---|---|---|
| camelCase | userProfileImageUrl | JavaScript, Java and C# variables and functions |
| PascalCase | UserProfileImageUrl | Classes, types, React components |
| snake_case | user_profile_image_url | Python, Ruby, database columns |
| kebab-case | user-profile-image-url | URLs, CSS classes, file names |
| CONSTANT_CASE | MAX_RETRY_COUNT | Constants and environment variables |
Converting between styles
The converter first splits text into words — at spaces, punctuation, underscores, hyphens and existing camelCase boundaries — so userID, user_id and “user id” all convert cleanly. Each line is converted separately, so you can paste a whole list of names.
Acronyms
Style guides differ on acronyms: Google's Java style writes XmlHttpRequest, while many codebases keep XMLHttpRequest. The converter treats acronyms as normal words (Url, Id), which most modern guides recommend for readability.


