What is UpperCamelCase?
UpperCamelCase — better known as PascalCase — joins words with no spaces and capitalizes the first letter of every word, including the first, like FirstName or OrderService. It is the conventional naming style for classes, types and components in many languages (C#, Java, TypeScript, React). This tool converts any text to PascalCase instantly in your browser.
How to use
- Paste your text into the input box.
- The UpperCamelCase result appears instantly.
- Click Copy to use it.
Examples
| Input | PascalCase |
|---|---|
first name | FirstName |
order service | OrderService |
user_id | UserId |
html parser | HtmlParser |
Common uses
- Naming classes, types and interfaces.
- React/Vue component names.
- Converting labels into type or class identifiers.
Frequently asked questions
PascalCase vs camelCase?
PascalCase capitalizes the first word (FirstName); camelCase does not (firstName).
What happens to separators?
Spaces, underscores and hyphens are removed and treated as word boundaries.
Where is PascalCase used?
Typically for classes, types and UI components.