Coding Tools
Pascal Case Converter — Convert Text to PascalCase Online Free
Paste a phrase, an existing variable name, or a whole list of names and instantly convert it to PascalCase — the naming style used for class names, React/Vue components, and C#/Java types. camelCase, snake_case, kebab-case, CONSTANT_CASE, and dot.case are generated at the same time.
100% Private
No Signup
Updates As You Type
Nothing Uploaded
What is PascalCase?
PascalCase (also called upper camel case) is a naming convention where every word in a phrase is joined together with no spaces, and every word — including the first — starts with a capital letter, like UserProfileCard or OrderTotalPrice. It's named after the Pascal programming language, which popularized the style for identifiers.
PascalCase is the standard convention for class names in Java, C#, and PHP, for component names in React and Vue, for type and interface names in TypeScript, and for struct and enum names in many other languages. It's easy to confuse with camelCase, which looks identical except the very first letter stays lowercase (userProfileCard) — this tool generates both, along with snake_case, kebab-case, CONSTANT_CASE, and dot.case, from the same input.
How to use the Pascal Case Converter
- Paste your text into the box — a single phrase, an existing variable name, or a list of names (one per line).
- Leave "Treat each line as a separate name" on to convert a list in bulk, or turn it off to treat the whole block as one phrase.
- Your PascalCase result appears instantly in the highlighted box, with a dedicated copy button.
- Scroll down for camelCase, snake_case, kebab-case, CONSTANT_CASE, and dot.case versions of the same input, each with its own copy button.
Examples
| Input | PascalCase | camelCase |
| user profile card | UserProfileCard | userProfileCard |
| order_total_price | OrderTotalPrice | orderTotalPrice |
| background-color | BackgroundColor | backgroundColor |
| api response data | ApiResponseData | apiResponseData |
Common ways people use this tool
C# & Java class namesGenerate a properly-cased class name straight from a plain description.
React & Vue componentsName a new component correctly on the first try instead of retyping capitalization by hand.
TypeScript interfaces & typesProduce clean PascalCase names for interfaces, types, and enums.
Refactoring legacy codeConvert a batch of snake_case or kebab-case names to PascalCase when standardizing a codebase.
Database entity namesConvert table or column descriptions into PascalCase entity class names for an ORM.
File & namespace namingGenerate PascalCase file names or namespaces that match a project's existing conventions.
API model generationRename JSON fields into PascalCase for strongly-typed model classes in C# or Java.
Design system tokensCreate consistent PascalCase names for components and tokens across a design system.
Frequently asked questions
What's the difference between PascalCase and camelCase?
Both join words with no spaces and capitalize the start of each word after the first. The difference is the very first word: PascalCase capitalizes it too (UserName), while camelCase keeps it lowercase (userName). PascalCase is typically used for classes, types, and components; camelCase is used for variables and functions.
Why is it called PascalCase?
It's named after the Pascal programming language, which was an early adopter of this capitalization style for identifiers. The convention later became standard for class and type names across many object-oriented languages.
Can I convert a whole list of names at once?
Yes. Paste one name per line and keep "Treat each line as a separate name" turned on — each line is converted independently and the results are shown stacked in the same order.
Can I convert an existing camelCase or snake_case name to PascalCase?
Yes. The tool detects underscores, hyphens, spaces, and existing capital-letter word boundaries in your input, splits it back into individual words, and rebuilds it as PascalCase (or any of the other five formats).
How does it handle acronyms like "ID" or "URL"?
Runs of capital letters are treated as their own word during splitting, so "APIResponse" is read as "API" + "Response" and rebuilt as "ApiResponse" in PascalCase, matching common style guide conventions.
Is my text uploaded anywhere?
No. All splitting and conversion happens locally in your browser. Nothing you type or paste is sent to a server, logged, or stored anywhere outside your own device.
Does it support languages other than English?
Word-splitting on separators (spaces, underscores, hyphens, capital letters) works the same regardless of language, and accented Latin characters are supported. Non-Latin scripts are passed through but won't be split into separate words the way Latin-alphabet text is.