Pascal Case Converter

Runs in browser Formatting

Turn camelCase, snake_case, kebab-case or sentences into PascalCase identifiers for classes, components and types.

Privacy: This tool runs entirely in your browser. Your input never leaves your device.
Loading tool…

How to use Pascal Case Converter

  1. Paste names or phrases, one per line.
  2. Optionally add a suffix for generated class names.
  3. Copy the PascalCase list.

Pascal Case Converter features

  • Converts camelCase, snake_case, kebab-case and sentences to PascalCase
  • Optional suffix such as Component, Service or Dto appended to every result
  • Acronym normalisation (XMLHttpRequest → XmlHttpRequest)
  • Batch conversion with an input/output table

Pascal Case Converter example

React component names

Input:

user_profile_card
order-summary-view

Output:

UserProfileCard
OrderSummaryView

Frequently asked questions about Pascal Case Converter

What is PascalCase used for?

Class, interface, type, enum and React component names in C#, Java, TypeScript, Go (exported identifiers) and Swift. It is also called UpperCamelCase.

What does the suffix option do?

It appends a word to every result, so "order summary" with suffix "Component" becomes OrderSummaryComponent — handy when generating file or class names in bulk.

How is "XMLHttpRequest" converted?

Acronyms are split into words and re-capitalised: XmlHttpRequest. This matches the .NET and Google style guides.

Can I convert a whole list?

Yes — one identifier per line; the output preserves the order and a table shows each input with its result.