Pascal Case Converter

Convert text into PascalCase by capitalizing every detected word and joining them.

Description

Convert free-form text and mixed identifiers into PascalCase.

Pascal case capitalizes every detected word and removes separators. It is common for class, type, component, and constructor names.

When to use Pascal Case Converter

  • Format a class or component name
  • Normalize punctuated or camelCase input
  • Count tokens used in an identifier

How the calculation works

Lowercase-to-uppercase transitions split words, non-ASCII-alphanumeric runs act as separators, and each token is lowercased except for its uppercase first character.

Interpreting the result

Existing acronyms are title-cased, so `HTTP API` becomes `HttpApi`. `wordCount` exposes the segmentation behind the result.

Important limitations

  • Non-ASCII letters are separators.
  • Reserved words and target-language identifier rules are not checked.
Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies