PascalCase Converter
Turn phrases into PascalCase names such as UserFirstName. Each line is converted separately.
Characters: 0Words: 0Lines: 0
Case types with examples
Starting text: The Lord of the Rings
PascalCase
Words are joined with no spaces and every word starts with a capital.
TheLordOfTheRings
camelCase
Words are joined with no spaces; every word after the first starts with a capital.
theLordOfTheRings
snake_case
Words are lowercase and joined with underscores.
the_lord_of_the_rings
kebab-case
Words are lowercase and joined with hyphens.
the-lord-of-the-rings
CONSTANT_CASE
Words are capitals joined with underscores.
THE_LORD_OF_THE_RINGS
When to use PascalCase
PascalCase is the standard style for class names in C#, Java and TypeScript, and for React component names. Because the first letter is also a capital, it is easy to tell a class from a variable written in camelCase.
Other naming styles
- camelCase: myVariableName
- snake_case: my_variable_name
- kebab-case: my-variable-name
- CONSTANT_CASE: MY_VARIABLE_NAME
How to use the PascalCase tool
- Paste one name or phrase per line into the box.
- Click PascalCase (or another naming style).
- Click the copy icon above the text and paste the result into your code.
Frequently asked questions
What is PascalCase?
PascalCase joins words with no spaces and starts every word with a capital letter, like MyClassName.
What is the difference between PascalCase and camelCase?
In camelCase the first word is lowercase (myClassName). In PascalCase the first word is capitalised too (MyClassName).
Where is PascalCase used?
It is common for class names in C#, Java and TypeScript, and for React component names.