PascalCase Converter
Convert text to PascalCase for class names and React components. Free PascalCase converter online, no signup required.
Three steps to get started
Paste your text
Enter a phrase or identifier in any format — spaces, hyphens, underscores.
Converts to PascalCase
Every word capitalized, all separators removed: HelloWorld.
Copy the identifier
Click Copy and paste into your class definition or component file.
PascalCase: the standard for classes and components
PascalCase (also called UpperCamelCase) is the naming convention for classes, interfaces, types, and React components across nearly all major programming languages. Every word starts with a capital letter, and there are no separators.
Common PascalCase examples:
- React components:
UserProfile,NavBar,ShoppingCart - TypeScript types:
ApiResponse,UserSettings,ProductList - Class names:
HttpClient,DatabaseConnection,EventEmitter - Enum values:
UserRole.Admin,Status.Pending
The converter splits words intelligently regardless of input format — handling spaces, snake_case, kebab-case, and existing camelCase. All processing happens in your browser.