Text to PascalCase Converter

Convert any text, camelCase, snake_case, or kebab-case to PascalCase instantly

Need all formats? Use the full text case converter with 12 naming conventions.

About This Tool

PascalCase (also called UpperCamelCase) capitalizes the first letter of every word with no separators: `GetUserName`, `HttpClientFactory`, `UserProfileCard`. It's the standard for class names in most languages, React components, C# methods, and TypeScript interfaces. This tool instantly converts any text to PascalCase. Whether you're naming a new React component, creating a C# class from a database table, or converting between naming conventions, just paste your text and copy. It handles snake_case, camelCase, kebab-case, dots, spaces, and mixed formats.

How to Use

1. Type or paste any text โ€” snake_case, camelCase, kebab-case, or plain words 2. The PascalCase result appears highlighted 3. All other case formats are also shown below 4. Click "Copy" to copy the PascalCase result

Frequently Asked Questions

What is PascalCase?
PascalCase capitalizes the first letter of every word and removes all separators. Example: 'GetUserName'. It's named after the Pascal programming language which popularized this convention. Also called UpperCamelCase.
How do I convert snake_case to PascalCase?
Paste your snake_case text (e.g., 'get_user_name') and the tool splits on underscores, capitalizes the first letter of each word, and joins them to produce 'GetUserName'.
When should I use PascalCase?
Use PascalCase for: class names in most languages (JavaScript, Python, Java, C#), React/Vue/Angular component names, TypeScript interfaces and types, C# methods and properties, and enum values in many languages.
What's the difference between PascalCase and camelCase?
PascalCase capitalizes the first letter (GetUserName), while camelCase keeps the first letter lowercase (getUserName). Use PascalCase for types and classes, camelCase for variables and functions.
Do React component names need to be PascalCase?
Yes. React requires component names to start with an uppercase letter to distinguish them from HTML elements. <UserProfile /> is a component; <userProfile /> would be treated as an unknown HTML tag. PascalCase is the standard convention.

Related Tools