Case converter
Convert any string to camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and more — all at once.
Runs in your browser Instant No signup, no tracking
About this tool
Paste any identifier — camelCase, PascalCase, snake_case, kebab-case, `Title Case with spaces`, or a random mix — and get every common programming case variant in one shot. Useful when translating between languages (Ruby snake to JS camel, C# Pascal to Go export names) or renaming across a codebase without hand-typing each variant.
Example
Paste the input on the left and you will get output like this:
Sample Text
getUserByEmailAddress
Resulting All cases
camelCase: getUserByEmailAddress PascalCase: GetUserByEmailAddress snake_case: get_user_by_email_address kebab-case: get-user-by-email-address CONSTANT_CASE: GET_USER_BY_EMAIL_ADDRESS Title Case: Get User By Email Address Sentence case: Get user by email address dot.case: get.user.by.email.address path/case: get/user/by/email/address
How to use Case converter
- Paste or type your Text into the left pane.
- The All cases appears instantly in the right pane. Conversion runs in your browser — nothing is uploaded.
- Copy the result to your clipboard or download it as a file.
FAQ
- How are word boundaries detected?
- The tool splits on non-alphanumeric characters AND on lowercase→uppercase transitions, so `getUserByEmailAddress` and `get_user_by_email_address` both produce the same word list.
- Are acronyms preserved?
- Runs of uppercase letters are treated as a single word until the last uppercase before a lowercase (so `parseHTMLString` splits as `parse` / `HTML` / `String`).
- Which case should I use?
- camelCase for JS/TS variables, PascalCase for classes and React components, snake_case for Python/Ruby/DB columns, kebab-case for URLs and CSS classes, CONSTANT_CASE for env vars.