✨ Free · No sign-up · Runs in your browser

PascalCase Converter

Turn any phrase into PascalCase: every word starts with a capital, with no spaces. Free and instant.

Writing

Code

Other

Clean up

0 characters 0 without spaces 0 words 0 sentences 0 lines 0 min read

Shortcuts: Ctrl/Cmd + Enter copies the result, Ctrl/Cmd + Z undoes the last clean-up.

What PascalCase is

PascalCase joins words with no spaces and starts each word with a capital letter, including the first. user first name becomes UserFirstName. It is also called UpperCamelCase. The only difference from camelCase is the first letter: camelCase starts lowercase, PascalCase starts with a capital.

How to use the converter

Type or paste a phrase into the box above. PascalCase is already selected, so the result appears underneath. Copy it into your code. Several lines convert together, one name per line.

What it does to different input

You typePascalCase result
user first nameUserFirstName
hello_world-foo.barHelloWorldFooBar
get_http_responseGetHttpResponse
my-react-componentMyReactComponent
order #42 shippedOrder42Shipped

Where PascalCase is used

Check these before you paste into code

All converters: Uppercase to Lowercase · Lowercase to Uppercase · ALL CAPS Converter · ALL CAPS to Sentence Case · Capitalize Text · Title Case · Sentence Case · Toggle Case · Alternating Case · camelCase · snake_case · kebab-case · CONSTANT_CASE & dot.case

Questions

What is PascalCase?
A naming style where each word starts with a capital letter and there are no spaces, such as UserFirstName.
What is the difference between PascalCase and camelCase?
PascalCase starts with a capital letter (UserFirstName). camelCase starts with a lowercase letter (userFirstName).
Which languages use PascalCase?
It is the usual style for class and type names in Java, C#, Swift, Kotlin and TypeScript, for React components, and for public members in C#.
Can it convert snake_case or kebab-case to PascalCase?
Yes. Underscores, hyphens, dots and spaces are word breaks, so my-react-component becomes MyReactComponent.
Does it work on several lines?
Yes. Each line becomes its own name.