Casing
String Case Converter
Convert text between camelCase, snake_case, kebab-case, PascalCase, and more.
Line 1
user_profile id
camelCase
userProfileId
PascalCase
UserProfileId
snake_case
user_profile_id
kebab-case
user-profile-id
Title Case
User Profile Id
SCREAMING_SNAKE_CASE
USER_PROFILE_ID
Sentence case
User profile id
About String Case Converter
This Case Converter tool effortlessly transforms text into standard programming formats like camelCase, snake_case, PascalCase, and kebab-case. It is designed for developers who need to normalize variable names, database fields, or API keys across different coding standards and languages.
Ensure consistency in your codebase and eliminate manual editing errors. By automatically converting phrases into strict programming conventions, you can maintain clean naming schemas for your variables and classes. This tool handles special characters and spaces intelligently, ensuring your naming conventions are always respected.
To use, just paste your text into the input field. The converter will instantly display the text in all supported formats simultaneously. Click on any of the result boxes to copy the converted string directly to your clipboard.
Under the Hood
Conversion is handled by splitting input strings based on common delimiters (spaces, underscores, hyphens) and camelCase boundaries using regex lookaheads. The tokenized segments are then reassembled according to the target implementation rules: camelCase (lower first, upper subsequent), PascalCase (upper all), and others. This ensures consistent handling of mixed-input formats like "user_ID" or "APIResponse".