WORKED CASE · SYNTHETIC TEST DATA

Turn a field label into a code identifier

One label may need different spellings in a URL, environment variable and object property. Compare the outputs rather than applying one style everywhere.

Input and settings

Hello World

Run and interpret

Enter the sample and compare camelCase, snake_case, kebab-case and CONSTANT_CASE rows. Choose the row required by the target system.

Expected output

helloWorld
hello_world
hello-world
HELLO_WORLD

Scope and possible misuse

Identifier styles use mostly ASCII rules and may remove non-Latin text. Acronyms and existing mixed case can need manual correction. The result is not checked against reserved keywords.

Unexpected result? Report a minimal example