Text Case Converter
Convert text between camelCase, snake_case, kebab-case, and more
Input Text
Result
Frequently Asked Questions
How do I convert a variable name from snake_case to camelCase?
Paste your snake_case text into the input area and click the camelCase button. The converter splits the input on underscores, hyphens, dots, or camelCase boundaries, lowercases all words, then capitalizes every word after the first. The result appears in the output box and can be copied with a click.
What text case formats does this converter support?
The tool supports ten case formats: camelCase (helloWorld), PascalCase (HelloWorld), snake_case (hello_world), kebab-case (hello-world), CONSTANT_CASE (HELLO_WORLD), dot.case (hello.world), Title Case (Hello World), Sentence case (Hello world), UPPER CASE, and lower case. Each button converts the current input to that specific case on click.
Does the text case converter work correctly on existing camelCase or PascalCase input?
Yes. The word-splitting logic recognizes camelCase and PascalCase boundaries in addition to delimiter characters. For example, inputting ‘myVariableName’ and clicking snake_case produces ‘my_variable_name’. Acronyms within camelCase (e.g., parseHTTPResponse) may not split perfectly in all cases; review acronym handling for edge cases in your specific use.
Is the text case conversion done on the server?
No. All conversions run locally in your browser using JavaScript string manipulation. No data is sent anywhere, making this safe to use with internal variable names, database column names, or any proprietary identifiers.
When would a developer need to convert between text cases?
Case conversion is a daily task when bridging coding conventions: JSON APIs typically use camelCase, Python code uses snake_case, CSS classes use kebab-case, database columns use snake_case or CONSTANT_CASE for constants, and TypeScript classes use PascalCase. This tool saves time when adapting identifiers from one system to another without manual retyping.