Convert text between camelCase, snake_case, PascalCase, kebab-case and more
This converter implements intelligent word boundary detection using regex patterns that handle camelCase splits (([a-z])([A-Z])), acronym boundaries (([A-Z]+)([A-Z][a-z])), and delimiter splitting (hyphens, underscores, dots, slashes). This means pasting "myVariableName" correctly splits into "my Variable Name" before applying the target case — unlike naive converters that only split on spaces. Each case transformation is a pure function applied to the tokenized word array.
Real-world use cases:
This tool is part of the FAK LAB ecosystem, founded by Faizan Ahmad Khan Khichi. All text transformations happen 100% locally in your browser using JavaScript string methods. Your text — whether it's code, proprietary variable names, or business content — is never sent to any server. No clipboard data is logged, no input is stored, and no API calls are made during conversion.
camelCase starts with a lowercase letter ("myVariable"), while PascalCase starts with uppercase ("MyVariable"). In JavaScript/TypeScript conventions: variables and functions use camelCase, classes and components use PascalCase. Both eliminate spaces by capitalizing word boundaries.
snake_case uses underscores and is standard in Python, Ruby, SQL column names, and environment variables. kebab-case uses hyphens and is standard in CSS class names, URL slugs, HTML attributes, and CLI flags. Use whichever your ecosystem expects — consistency within a project matters more than the choice itself.
Yes. The word splitter uses regex patterns to detect camelCase boundaries, PascalCase, snake_case delimiters, kebab-case hyphens, and plain spaces. You can paste "myVariable_name" and it correctly identifies 3 words ("my", "Variable", "name") regardless of the mixed input format.