CamelCase Converter
Convert text to camelCase and PascalCase from spaces, snake_case, kebab-case, or any format.
camelCase
—
PascalCase
—
About CamelCase Converter
camelCase and PascalCase are naming conventions used in programming. This converter accepts any format — space-separated, snake_case, kebab-case, SCREAMING_SNAKE_CASE, or mixed — and converts it to both camelCase and PascalCase simultaneously.
How to Use
- Type or paste your text into the input field (any format).
- Both camelCase and PascalCase outputs appear in real-time.
- Click "Copy" next to the format you need.
camelCase vs PascalCase
camelCase starts with a lowercase letter: getUserData, myVariableName, calculateTotalPrice. Used for variables and function names in JavaScript, Java, C#, and many other languages.
PascalCase starts with an uppercase letter: GetUserData, MyVariableName, CalculateTotalPrice. Used for class names, constructor functions, and components in most languages.
FAQ
The converter handles: space-separated words ("hello world"), snake_case ("hello_world"), kebab-case ("hello-world"), SCREAMING_SNAKE_CASE ("HELLO_WORLD"), PascalCase splitting ("HelloWorld"), and mixed formats. It splits on spaces, underscores, hyphens, and camelCase boundaries.
camelCase is the standard for variable and function names in JavaScript, TypeScript, Java, C#, Swift, Go, and many other programming languages. It is also used in JSON property names.
PascalCase (also called UpperCamelCase) is used for class names, interface names, type names, and component names in most languages. React component names must be PascalCase. C# uses PascalCase for methods and properties.