Illustration of the text myVariableName being converted into camelCase, snake_case, kebab-case, and PascalCase versions

Case Converter

Type or paste an identifier or a phrase below — every common case style updates live. Runs entirely in your browser, nothing is ever uploaded.


ℹ️ How this works
  • Words are detected by splitting on spaces, _, -, ., /, and by the boundary between lowercase/digits and an uppercase letter (so myVariableName and HTTPServerError both split correctly).
  • UPPERCASE, lowercase, and Sentence case work on the raw text as typed rather than the word-split version, so ordinary sentences stay intact.
  • Every field is read-only and has its own Copy button — click a field's Copy to grab just that version.
  • Runs entirely client-side on this page — nothing you type here is ever sent anywhere. The JSON API below is a separate, opt-in endpoint for scripts.
💻 Show API usage examples (cURL)

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.

🤖 Use this API as a Claude Skill

Want an AI agent (Claude Code, claude.ai, or anything else that supports the Agent Skills format) to use this tool for you on request? Download the skill below and add it:

⬇️ Download SKILL.md · View raw