What is PascalCase?
PascalCase (also known as UpperCamelCase) is a naming convention where every word in an identifier begins with a capital letter, with no intervening spaces, hyphens, or underscores (for example, UserProfileSetting).
Where PascalCase is Required
- C# & .NET: Class names, method names, properties, and namespaces follow PascalCase per Microsoft design guidelines.
- TypeScript & JavaScript: Classes, interfaces, type aliases, and React/Vue component names.
- Python: PEP 8 conventions specify PascalCase (CapWords) for class definitions.
- Swift: Structs, classes, enums, and protocols use UpperCamelCase.
Instant On-Device Transformation
Text Cleaner splits text by spaces, underscores, and hyphens, capitalizes the leading character of every segment, and removes separators without losing numbers or alphanumeric characters.