100% FREE • NO SIGNUP

String Case Converter

Convert text between 12+ naming conventions instantly. camelCase, PascalCase, snake_case, kebab-case, and more.

Input

Results (click to copy)

Naming Convention Reference

Choosing the right naming convention matters for code readability and team consistency. Here's when to use each case style:

ConventionExampleCommon Usage
camelCasegetUserDataJavaScript variables, Java methods
PascalCaseGetUserDataClasses, React components, C# methods
snake_caseget_user_dataPython, Ruby, database columns
kebab-caseget-user-dataCSS classes, URLs, CLI flags
SCREAMING_SNAKEGET_USER_DATAConstants, env vars
dot.caseget.user.dataConfig files, Java packages
path/caseget/user/dataFile paths, URLs
UPPER CASEGET USER DATAHeadings, labels
lower caseget user dataNatural language
Title CaseGet User DataTitles, headings
Sentence caseGet user dataUI labels, descriptions
Train-CaseGet-User-DataHTTP headers

How the Converter Works

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.

Bulk Mode

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 →

Frequently Asked Questions

What is camelCase and when is it used?

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.

What is the difference between snake_case and kebab-case?

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.

What is PascalCase and where is it used?

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.

What is SCREAMING_SNAKE_CASE used for?

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.

Can I convert multiple strings at once in bulk mode?

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.

Related Free Tools

Text Diff Regex Tester Word Counter Lorem Ipsum Generator Text to Binary