converttexttools.com

PascalCase Converter

Turn text into PascalCase for class and component names.

Words
0
Characters
0
No spaces
0
Sentences
0
Paragraphs
0
Reading time
0 sec

Private: this tool runs in your browser. No data is stored on this website. Learn more

What is the PascalCase Converter?

PascalCase (also called UpperCamelCase) joins words together and capitalizes the first letter of every word: “user profile card” becomes “UserProfileCard”.

It is the convention for class names in Java, C#, TypeScript and Python, for React and Vue component names, and for types and interfaces. This tool converts plain text, camelCase, snake_case, kebab-case and dot.case — one name per line.

How to use the PascalCase Converter

  1. Enter one name per line.
  2. Each line becomes PascalCase.
  3. Copy the result into your code.

Examples

Input
user profile card
Output
UserProfileCard
Input
http-request-handler
Output
HttpRequestHandler

When to use it

  • React and Vue component names
  • Class names in Java, C# and Python
  • TypeScript types and interfaces
  • File names for components

Frequently Asked Questions

What is PascalCase?

A style where every word starts with a capital letter and there are no spaces, e.g. MyClassName.

Why is it called PascalCase?

It was popularised by the Pascal programming language.

How are acronyms handled?

Acronyms are treated as one word, so “HTTP request” becomes “HttpRequest”.