PascalCase Converter
PascalCase, also called upper camel case, writes a name as one word in which every word starts with a capital letter, as in UserProfileCard. This converter turns plain words or names in another case into PascalCase, splitting acronyms and dropping punctuation, with one name per line of input.
Universal Text Transformer
Skip to text inputInput
Type or paste text. The output updates as you type.
Output
The converted text appears here as you type.
Each line is converted as its own title, so you can paste a list of headlines.
PascalCase Converter examples
| Case | Input | Output |
|---|---|---|
| Words | user profile card | UserProfileCard |
| From kebab-case | user-profile-card | UserProfileCard |
| Acronym | getHTTPResponse | GetHttpResponse |
| Numbers | h264 decoder | H264Decoder |
| Apostrophe | don't panic | DontPanic |
| One name per line | order item
shipping address | OrderItem
ShippingAddress |
PascalCase Converter rules
- Every word starts with a capital letter and continues in lowercase. Words are joined with no separator.
- Each line becomes one name, so you can convert a list in one pass. Blank lines are kept.
- Spaces, punctuation, symbols, emoji, and the separators of other cases (_ - . /) split words and are removed.
- A new word also starts where a lowercase letter or digit meets a capital (getUser is get and User) and at the end of a run of capitals (XMLHttp is XML and Http).
- Digits stay with the letters before them, so utf8 and h264 stay whole words. In a name written in capitals, a capital after a digit does not start a new word, so 2FA, MP3, and IPV6 stay whole words.
- Acronyms are treated as ordinary words (HTML becomes html or Html), so their capitals are not kept.
- An apostrophe inside a word is dropped (don't becomes dont). Accented letters and other alphabets are kept.
How PascalCase differs from camelCase
The two differ only in the first letter: PascalCase capitalizes it (UserProfile) and camelCase keeps it lowercase (userProfile). Many codebases use PascalCase for types and classes and camelCase for variables and functions. Try the same text in the camelCase Converter.
How to use
- 1
Type or paste your words, or names in another case, into the editor. Put each name on its own line.
- 2
The PascalCase version appears in the output as you type.
- 3
Copy the result into your code, configuration, or file name.
That's it! Your text is transformed and ready to use.
Three simple steps to use PascalCase Converter
When to use PascalCase Converter
Classes and types
Class names in Java, C#, TypeScript, and JavaScript, and class names in Python, which PEP 8 writes in CapWords.
React components
Component names, which must start with a capital letter so JSX treats them as components instead of HTML tags.
C# and .NET
Methods, properties, and other public members, which the .NET naming guidelines write in PascalCase.
FAQ
Is PascalCase the same as upper camel case?
Yes. Upper camel case and PascalCase are two names for the same style: every word, including the first, starts with a capital letter.
Why does getHTTPResponse become GetHttpResponse?
Acronyms are treated as ordinary words, so HTTP becomes Http. That keeps the words the same when the name is converted to another case. Edit the result by hand if your style keeps acronyms in capitals.
Can I convert many names at once?
Yes. Put each name on its own line. Every line converts to one name, and blank lines stay where they are.
Is my text uploaded anywhere?
The conversion runs in your browser, so your text is not uploaded to a server to be converted.