Type or paste an identifier or a phrase below — every common case style updates live. Runs entirely in your browser, nothing is ever uploaded.
_, -, ., /, and by the boundary between lowercase/digits and an uppercase letter (so myVariableName and HTTPServerError both split correctly).Get every case style at once:
curl -sS "https://devops.majbase.com/case-converter/api?text=myVariableName"
Returns JSON: {"input": "myVariableName", "results": {"camel": "myVariableName", "pascal": "MyVariableName", "snake": "my_variable_name", "kebab": "my-variable-name", "constant": "MY_VARIABLE_NAME", "train": "My-Variable-Name", "dot": "my.variable.name", "path": "my/variable/name", "title": "My Variable Name", "sentence": "...", "upper": "...", "lower": "..."}}
Or just one style:
curl -sS "https://devops.majbase.com/case-converter/api?text=myVariableName&format=snake"
Returns {"input": "myVariableName", "format": "snake", "result": "my_variable_name"}. POST with a JSON body {"text": "...", "format": "..."} works the same way.