Text to toggle

Toggled text

How does it work?

This tool toggles text between PascalCase and camelCase formats. It automatically detects the current format of each line and converts it to the other format.

  • PascalCase: Words joined together, all words capitalized (e.g., HelloWorld)
  • camelCase: Words joined together, first word lowercase, subsequent words capitalized (e.g., helloWorld)

Examples of toggling case

Original text

HelloWorld
helloWorld
ThisIsATest
thisIsATest
AnotherExample
anotherExample

After toggling

helloWorld
HelloWorld
thisIsATest
ThisIsATest
anotherExample
AnotherExample

This tool is particularly useful for developers who need to switch between different naming conventions. PascalCase is commonly used for class names in languages like C#, Java, and TypeScript, while camelCase is used for variable and method names.

Other tools

See other tools