Case Converter
Runs in your browserConvert text between UPPERCASE, lowercase, Title Case, camelCase and more.
Text
UPPERCASE
—
lowercase
—
Title Case
—
Sentence case
—
Code
camelCase
—
PascalCase
—
snake_case
—
kebab-case
—
CONSTANT_CASE
—
What is a Case Converter?
Convert text between common developer naming conventions — camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE — plus everyday text casing like UPPERCASE, Title Case and Sentence case.
Every programming style guide picks a naming convention, and they rarely match: JavaScript variables are camelCase, Python and Rust use snake_case, classes across most languages use PascalCase, CSS classes and URLs favour kebab-case, and environment variables are CONSTANT_CASE. Converting a name between conventions by hand is fiddly and easy to get wrong at the word boundaries.
This tool splits input on whatever it can find — spaces, hyphens, underscores, or camelCase humps — into individual words first, then rejoins them in the target style. That means it converts in every direction: paste snake_case and get camelCase, or paste a plain sentence and get any of the nine styles at once.
Developers reach for this most often when a name has to cross a boundary: porting a variable from a snake_case Python API into camelCase JavaScript, normalising a database or JSON field name to match a language's convention, aligning a copy-pasted identifier with the rest of a codebase, or turning a class name into the kebab-case form used for a file or URL.
Which case should I use?
| Style | Example | Common use |
|---|---|---|
| camelCase | userProfile | JavaScript/TypeScript variables and functions |
| PascalCase | UserProfile | Classes, components, and types |
| snake_case | user_profile | Python/data/API contexts |
| kebab-case | user-profile | URLs, CSS, and file naming |
| CONSTANT_CASE | USER_PROFILE | Constants |
How to use it
- Type or paste your text — plain words, camelCase, snake_case, or any mix.
- Every conversion generates at once: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE.
- Copy whichever one you need with the button beside it.
Example
Converting a variable name
user_profile_settingscamelCase: userProfileSettings
PascalCase: UserProfileSettings
snake_case: user_profile_settings
kebab-case: user-profile-settings
CONSTANT_CASE: USER_PROFILE_SETTINGS