Convert text between every case
This tool reformats any text, identifier or phrase into nine cases at once — camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, Title Case, Sentence case, lower case and UPPER CASE. It is built for developers renaming variables between language conventions, writers fixing capitalisation, and anyone converting a heading into a URL-ready or code-ready form without retyping it.
How it works
Your input is first tokenised into words. The converter inserts a boundary
between a lowercase letter and an uppercase one (so userName splits into user
and Name), then splits on every non-alphanumeric character — spaces, hyphens,
underscores and punctuation. Because of this, you can paste an identifier in any
existing style and reformat it into another. Each case then rejoins those words with
its own separator and capitalisation rule.
Example
Paste getUserProfile-data and you get every form at once:
| Case | Output |
|---|---|
| camelCase | getUserProfileData |
| PascalCase | GetUserProfileData |
| snake_case | get_user_profile_data |
| CONSTANT_CASE | GET_USER_PROFILE_DATA |
| kebab-case | get-user-profile-data |
| Title Case | Get User Profile Data |
| Sentence case | Get user profile data |
Click Copy next to whichever one you need. Every conversion happens in your browser; nothing is uploaded.