What is PascalCase?
PascalCase capitalizes the first letter of every word, with no separators between words. It's like camelCase but with the first word also capitalized. The name comes from the Pascal programming language, where it was the standard.
Most languages use PascalCase for type names — classes, interfaces, structs, enums — while reserving camelCase for instance members.
When to use PascalCase
- Class names in C#, Java, Swift, Kotlin, Python (for classes), TypeScript.
- React component names —
UserProfile,NavigationBar. - Interface, struct, and enum names in statically-typed languages.
- Type names in TypeScript.
- Exported function names in Go — Go's convention is PascalCase for exports, camelCase for unexported.
- .NET method names — Microsoft conventions use PascalCase for public methods.
How PascalCase conversion works
- Input is tokenized using the same smart tokenizer as camelCase — separators, camelCase humps, and ALLCAPS runs all split correctly.
- Each word is lowercased and then its first letter capitalized.
- Words are concatenated with no separator.
Worked examples
| Input | PascalCase |
|---|---|
user profile |
UserProfile |
http client |
HttpClient |
XML parser |
XmlParser |
create new user |
CreateNewUser |
Related case formats
camelCase
→ Convert text to camelCase
CONSTANT_CASE→ Convert text to CONSTANT_CASE
Capitalized Case→ Convert text to Capitalized Case
Need more conversion options?
Open the full converter →