PascalCase Converter

Convert any text to PascalCase — also known as UpperCamelCase. The class-name convention in most object-oriented languages.

Input
Output

What is PascalCase?

PascalCase capitalizes the first letter of every word, with no separators between words. It's like camelCase but with the first word also capitalized. The name comes from the Pascal programming language, where it was the standard.

Most languages use PascalCase for type names — classes, interfaces, structs, enums — while reserving camelCase for instance members.

When to use PascalCase

  • Class names in C#, Java, Swift, Kotlin, Python (for classes), TypeScript.
  • React component namesUserProfile, NavigationBar.
  • Interface, struct, and enum names in statically-typed languages.
  • Type names in TypeScript.
  • Exported function names in Go — Go's convention is PascalCase for exports, camelCase for unexported.
  • .NET method names — Microsoft conventions use PascalCase for public methods.

How PascalCase conversion works

  1. Input is tokenized using the same smart tokenizer as camelCase — separators, camelCase humps, and ALLCAPS runs all split correctly.
  2. Each word is lowercased and then its first letter capitalized.
  3. Words are concatenated with no separator.

Worked examples

Input PascalCase
user profile UserProfile
http client HttpClient
XML parser XmlParser
create new user CreateNewUser

Related case formats

Need more conversion options?

Open the full converter →