PascalCase Converter

Type or paste text and get PascalCase as you type: every word starts with a capital and the words are joined without spaces, like InvoiceLineItem. It also converts camelCase, snake_case and kebab-case names, so "invoice_line_item" becomes "InvoiceLineItem".

Enter your text
Result (PascalCase)

Features

  • Converts to PascalCase as you type

  • Example: "invoice line item" becomes InvoiceLineItem

  • Understands spaces, hyphens, underscores, dots and existing camelCase humps

  • Converts a list line by line

  • Switch to any of the other 12 cases with one click

  • Copy the result

  • Runs in your browser: your text is never uploaded. Free, no signup

Where PascalCase is used

Class and type names

C#, Java, TypeScript and Python classes: OrderService, PaymentMethod.

React and Vue components

Component names and their files: ProductCard, CheckoutForm.

C# methods and .NET properties

.NET style uses PascalCase for methods and public properties.

PascalCase rules

How text becomes PascalCase

  • Every word starts with a capital, including the first.
  • The rest of each word is lower case.
  • Spaces, hyphens, underscores and punctuation are removed.
  • Acronyms become words: "XML parser" becomes XmlParser.

How words are split

Words are found at spaces, punctuation, and at the humps of existing camelCase or PascalCase (parseHTTPResponse becomes parse, HTTP, Response), so you can convert between any of the programming cases and back. Each line is converted on its own, so a list of names converts in one go. Letters and digits in Hindi and other scripts are kept.

Other cases and tools

PascalCase Converter - FAQ