Text to toggle

Toggled text

How does it work?

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

  • snake_case: Words in lowercase separated by underscores (e.g., hello_world)
  • camelCase: Words joined together, first word lowercase, subsequent words capitalized (e.g., helloWorld)

Examples of toggling case

Original text

helloWorld
hello_world
thisIsATest
this_is_a_test
anotherExample
another_example

After toggling

hello_world
helloWorld
this_is_atest
thisIsATest
another_example
anotherExample

This tool is particularly useful for developers who need to switch between different naming conventions used in various programming languages and frameworks.

Other tools

See other tools