String Case Converter
Paste any identifier or phrase — see every case format at once. camelCase, snake_case, kebab-case, PascalCase and more.
—————————————The String Case Converter instantly rewrites any identifier or phrase into every common programming case — camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, dot.case and Title Case — from a single input. Paste an API field name, variable, or database column and copy it in the exact format your language or style guide expects.
- ✓Detects word boundaries from any input format automatically
- ✓Handles acronyms like URL and ID correctly
- ✓One-click copy for all 13 case styles
- ✓100% private — runs entirely in your browser
Case Formats Explained
| Case | Example | Common Use |
|---|---|---|
| camelCase | userProfileImage | JS/TS variables, JSON keys |
| PascalCase | UserProfileImage | Classes, React components, types |
| snake_case | user_profile_image | Python, Ruby, SQL columns |
| SCREAMING_SNAKE_CASE | USER_PROFILE_IMAGE | Constants, env variables |
| kebab-case | user-profile-image | URLs, CSS classes, file names |
| dot.case | user.profile.image | Config keys, namespaces |
| Title Case | User Profile Image | Headings, labels |
How Word Detection Works
The converter splits your input into words no matter how it's written — it recognizes camelCase/PascalCase boundaries, underscores, hyphens, dots, slashes and spaces. Those words are then re-joined in every target case, so you can paste an API field name in one format and copy it in any other.
Where Case Conversion Comes Up
- ▸Crossing a language boundary — Convert a JavaScript API's camelCase field names to the snake_case a Python or Ruby backend expects, or vice versa.
- ▸Renaming a database column or API field — Check what a field looks like in every convention before deciding on a name that reads well as a variable, a column and a URL segment.
- ▸Writing environment variables — Turn a config key like apiTimeout into the SCREAMING_SNAKE_CASE convention expected in a .env file or CI secret.
- ▸Generating CSS class names — Convert a component or variable name into kebab-case for a class name or file name that follows web conventions.