Convert to PascalCase
Create PascalCase identifiers used for class names and components in C#, Java and TypeScript.
Convert any text to PascalCase for class names, components and types. Free developer tool.
Convert to PascalCase examples
| Input | Output |
|---|
| order total price | OrderTotalPrice |
How the convert to pascalcase works
- Split into words at any separator.
- Capitalise every word.
- Join without separators.
Rules and edge cases
- Every word is capitalised and separators are removed, producing one PascalCase token.
- Input in any convention — spaces, snake_case, kebab-case or camelCase — is split correctly first.
- Digits stay attached to the preceding word.
- camelCase differs only in the lowercase first word.
Frequently asked questions
Do React component names have to be PascalCase?
Yes. JSX treats lowercase names as HTML elements, so a component must start with a capital letter to be rendered as a component.
Can I convert a list of database tables to class names?
Paste one table name per line; user_accounts becomes UserAccounts, ready to use as a model class.