Text to toggle

Toggled text

How does it work?

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

  • SCREAMING_SNAKE_CASE: Words in uppercase 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