Pascal Case Converter

Convert text to PascalCase for class and type names.

Keep or share the finished result Copy or share after running the tool. Saved tools and settings stay in this browser.
More

Convert text to PascalCase

Paste a phrase above to convert it to PascalCase: every word is capitalized and all spaces are removed, including the first word. This is the convention for class names, type names and UI component names in languages such as C#, TypeScript, Java and frameworks like React. Copy the result straight into your code.

PascalCase vs camelCase

PascalCase capitalizes the first word (MyComponent); camelCase keeps the first word lowercase (myComponent). Many codebases use PascalCase for types and classes and camelCase for variables.

Frequently asked questions

What is the difference between PascalCase and camelCase?

PascalCase capitalizes the first word as well, while camelCase keeps the first word lowercase. Both remove spaces.

What is PascalCase used for?

Class names, type names and component names in languages like C#, TypeScript and Java.