Convert text between 12+ naming conventions instantly. camelCase, PascalCase, snake_case, kebab-case, and more.
Choosing the right naming convention matters for code readability and team consistency. Here's when to use each case style:
| Convention | Example | Common Usage |
|---|---|---|
| camelCase | getUserData | JavaScript variables, Java methods |
| PascalCase | GetUserData | Classes, React components, C# methods |
| snake_case | get_user_data | Python, Ruby, database columns |
| kebab-case | get-user-data | CSS classes, URLs, CLI flags |
| SCREAMING_SNAKE | GET_USER_DATA | Constants, env vars |
| dot.case | get.user.data | Config files, Java packages |
| path/case | get/user/data | File paths, URLs |
| UPPER CASE | GET USER DATA | Headings, labels |
| lower case | get user data | Natural language |
| Title Case | Get User Data | Titles, headings |
| Sentence case | Get user data | UI labels, descriptions |
| Train-Case | Get-User-Data | HTTP headers |
The tool first splits your input into individual words by detecting boundaries: camelCase transitions, underscores, hyphens, dots, slashes, and spaces. Then it reassembles the words in your chosen format. This means you can convert from any format to any other format in one step.
Toggle bulk mode to convert multiple strings at once — one per line. Useful for renaming database columns, API fields, or variable lists in batch.
Like this tool? Check out our other free dev tools
Browse 45+ Free Tools →camelCase joins words without spaces, capitalizing the first letter of each word except the first: myVariableName. It's the standard naming convention in JavaScript for variables and functions, Java for variables and methods, and many other languages. It improves readability in code while staying machine-friendly as a single token.
snake_case uses underscores to separate words: my_variable_name. It's common in Python, Ruby, and SQL. kebab-case uses hyphens: my-variable-name. It's used in CSS class names, HTML attributes, and URL slugs. Hyphens are invalid in most programming language identifiers, which is why kebab-case is reserved for web styling and routing.
PascalCase (also called UpperCamelCase) capitalizes the first letter of every word including the first: MyClassName. It's the standard for class names in Java, C#, JavaScript, and TypeScript. React components must be PascalCase to distinguish them from HTML elements. It's also used for TypeScript interfaces and C# namespaces.
SCREAMING_SNAKE_CASE uses all uppercase letters with underscores: MAX_RETRY_COUNT. It's the universal convention for constants and environment variables across most programming languages. You'll see it in Python constants, Java static final fields, JavaScript config objects, and .env files. The all-caps signals that the value should not change at runtime.
Yes. Enable the Bulk Mode toggle and paste one string per line. The converter processes each line independently and outputs the converted version of every line for each case format. This is useful when renaming multiple database columns, API fields, or CSS classes to a consistent naming convention in one operation.