gizmobench
BrowseDaily

Snake Case Converter

Words become lowercase and an underscore separates each pair. This page opens with helloWorld and its hello_world result first. Replace the example with your own text, then copy the highlighted conversion. The other case styles stay available for comparison.

  • snake_casethis page’s casePython, SQL columns
    hello_world
  • Sentence caseFirst word capitalised
    Helloworld
  • Title CaseEditorial rules: small words stay lower
    Helloworld
  • Capitalized CaseEvery whitespace-separated word starts with a capital
    Helloworld
  • UPPER CASE
    HELLOWORLD
  • lower case
    helloworld
  • camelCaseVariables in JS, Java
    helloWorld
  • PascalCaseClasses, components
    HelloWorld
  • CONSTANT_CASEEnvironment variables
    HELLO_WORLD
  • kebab-caseURLs, CSS classes, filenames
    hello-world
  • dot.caseConfig keys, namespaces
    hello.world
  • aLtErNaTiNg
    hElLoWoRlD
  • iNVERSESwaps each letter's case
    HELLOwORLD

Common questions

How does this snake case converter change the text?
Words become lowercase and an underscore separates each pair. For example, helloWorld becomes hello_world.
How does this compare with other case styles?
snake_case separates words with underscores. CONSTANT_CASE uses the same separator with capitals; choose that result if you are naming a constant.
Does it understand names, acronyms or programming syntax?
It splits on spaces, underscores, hyphens, dots, slashes, Unicode lowercase-or-number to uppercase boundaries and acronym boundaries such as XMLParser → XML + Parser. It lowercases words before rebuilding them, so acronyms lose their original capitals. It does not parse source code or rename JSON keys.
Is my text uploaded?
No. Conversion and copying happen in this browser. Nothing is sent to a conversion server.

Uses JavaScript default Unicode casing, with no locale selector. Title and sentence rules are mechanical: they do not infer names, abbreviations or a complete editorial style guide.