PascalCase Converter

Capitalize every word and remove the spaces, as in UserAccount or OrderHistory.

0 words · 0 characters

Example

Before
user account
order_history
nav-menu-item
After
UserAccount
OrderHistory
NavMenuItem

Where PascalCase is used

PascalCase, also called UpperCamelCase, is the convention for class names in most languages, for types and components in TypeScript and React, and for public members in C#.

One name per line

Each line is converted separately. Existing camelCase, snake_case, and kebab-case input is split into words correctly before converting.

Why it’s called PascalCase

The name comes from the Pascal programming language, created by Niklaus Wirth in 1970, whose programmers popularized the style. Microsoft adopted the term for its .NET naming guidelines, which is why C# developers say “PascalCase” where Java developers might say “UpperCamelCase”.

Where you’ll need it

Classes, interfaces, enums, and type names in most languages; React and Vue component names, which must start with a capital so the framework can tell them apart from HTML tags; public methods and properties in C#. In Go, capitalization even controls visibility: a name starting with a capital letter is exported from its package.

Frequently asked questions

Is PascalCase the same as Title Case without spaces?

Almost. PascalCase capitalizes every word, including small ones like “of”: “Lord of the Rings” becomes LordOfTheRings.

How are acronyms handled?

They are treated as words: “HTTP client” becomes HttpClient, the form recommended by Microsoft’s .NET guidelines for acronyms longer than two letters.

Can I paste a list?

Yes. Each line is converted separately.