Text to toggle

Toggled text

How does it work?

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

  • lowercase words: Words in lowercase separated by spaces (e.g., hello world)
  • camelCase: Words joined together, first word lowercase, subsequent words capitalized (e.g., helloWorld)

Examples of toggling case

Original text

hello world
helloWorld
this is a test
thisIsATest
another example
anotherExample

After toggling

helloWorld
hello world
thisIsATest
this is atest
anotherExample
another example

This tool is particularly useful for converting between human-readable text and programming variable names. It can help when you need to convert natural language descriptions into code identifiers or vice versa.

Other tools

See other tools