What is the PascalCase Converter?
PascalCase (also called UpperCamelCase) joins words together and capitalizes the first letter of every word: “user profile card” becomes “UserProfileCard”.
It is the convention for class names in Java, C#, TypeScript and Python, for React and Vue component names, and for types and interfaces. This tool converts plain text, camelCase, snake_case, kebab-case and dot.case — one name per line.
How to use the PascalCase Converter
- Enter one name per line.
- Each line becomes PascalCase.
- Copy the result into your code.
Examples
user profile card
UserProfileCard
http-request-handler
HttpRequestHandler
When to use it
- React and Vue component names
- Class names in Java, C# and Python
- TypeScript types and interfaces
- File names for components
Frequently Asked Questions
What is PascalCase?
A style where every word starts with a capital letter and there are no spaces, e.g. MyClassName.
Why is it called PascalCase?
It was popularised by the Pascal programming language.
How are acronyms handled?
Acronyms are treated as one word, so “HTTP request” becomes “HttpRequest”.