A component name
"user profile card" converts to UserProfileCard — 3 words joined together with each one capitalized.
Convert text to PascalCase instantly for class and React component names — free online.
About
Joins words with no separator and capitalizes every word including the first — "user profile card" becomes "UserProfileCard". It's the standard naming convention for classes in most C-family languages and for components in frameworks like React.
PascalCase uses the same word-splitting as camelCase — spaces, hyphens, underscores and other symbols all separate words — but capitalises the first word as well, so "order_line_item" becomes "OrderLineItem". The rest of each word is lowercased, so acronyms are flattened: "HTTP request" becomes "HttpRequest", matching names like .NET's own HttpRequest class.
Examples
4 worked examples
"user profile card" converts to UserProfileCard — 3 words joined together with each one capitalized.
"my-old_file name" converts to MyOldFileName — hyphens and underscores are both treated as word breaks, same as spaces.
"HTML5 parser v2" converts to Html5ParserV2 — only the first letter of each word stays capitalized, the rest is lowercased.
"version 2 api client" converts to Version2ApiClient — numbers are kept as their own word.
FAQ
Quick answers to common questions about the PascalCase Converter.
Type or paste your text above and click PascalCase (or just start typing — this page previews PascalCase live). Copy the result when you're done.
Yes. It's free, with no sign-up and no limit on how much text you convert.
PascalCase joins words with no separator and capitalizes every word including the first, the standard naming convention for classes and components in most C-family languages.
PascalCase capitalizes every word including the first (UserProfileCard), while camelCase leaves the first word lowercase (userProfileCard) — PascalCase is typically used for classes and components, camelCase for variables and functions.
Yes — the same tool handles UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and kebab-case. Click any of the buttons below the input, or use one of the dedicated pages below.
Every word gets a capital first letter and the rest lowercase, so "html parser" and "HTML parser" both become HtmlParser. That matches the .NET naming guidelines for acronyms longer than two letters; if your codebase writes HTMLParser instead, adjust it by hand.
Every character that isn't a letter or digit is treated as a word break and dropped, so "user-profile card" becomes UserProfileCard and "order #42 total" becomes Order42Total.
Yes. PascalCase is also called UpperCamelCase, and camelCase is sometimes called lowerCamelCase. The only difference between the two is whether the very first letter is a capital.
Yes, but the dot is treated as a separator too, so "user_profile_card.jsx" becomes UserProfileCardJsx. Convert the name without its extension, then add .jsx back — handy for naming React component files.
Did PascalCase Converter work for you?