# Case converter

> Convert text to UPPER CASE, lower case, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE. Free.

Free tool by Orkosi. Page: https://orkosi.com/tools/case-converter

Fix a heading typed with caps lock on, or turn a list of labels into variable names. Nine styles, one click, every line converted on its own.

1. Paste the text.
2. Pick the case you need.
3. Press Convert and copy the result.

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `text` | text | yes | Text. |
| `mode` | "upper" \| "lower" \| "title" \| "sentence" \| "camel" \| "pascal" \| "snake" \| "kebab" \| "constant" | no | Convert to. Default: "title". |

## Example

Input:

```json
{
  "text": "the quick brown fox\njumps over the lazy dog",
  "mode": "title"
}
```

Result:

```json
{
  "output": "The Quick Brown Fox\nJumps Over The Lazy Dog"
}
```

## Run it

It needs a free Orkosi account, nothing else. No credits are used.

- **A person**: open the page, enter an e-mail once, use the tool.
- **Claude or ChatGPT**: add the Orkosi connector `https://orkosi.com/api/v1/public/mcp` and sign in, or create the free account on the sign-in page. Then call `orkosi_run_free_tool` with `{ "tool": "case-converter", "input": { … } }`.
- **Any agent or program that can make an HTTP request**:

  1. Once, create the account: `POST https://orkosi.com/api/v1/public/signup` with `{ "name": "…", "email": "…", "terms_accepted": true }` and no key. Ask the person for the e-mail and their agreement to the terms first. The answer carries `data.api_key`, shown once.
  2. Run the tool:

```bash
curl -X POST https://orkosi.com/api/v1/public/tools/case-converter/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"text":"the quick brown fox\njumps over the lazy dog","mode":"title"}}'
```

The answer is `{ "data": { "tool": "…", "result": { … } } }`. A call without a key is answered 401 with the signup steps as data.

## Questions

**What is the difference between camelCase and PascalCase?**

Both join words without spaces. camelCase starts with a lower-case letter (userName); PascalCase capitalises the first one too (UserName).

**Does it work with accented letters?**

Yes. Letters of every alphabet are converted, accents included.

**Are several lines converted separately?**

For the identifier styles (camel, Pascal, snake, kebab, constant) each line becomes one identifier. The sentence styles keep your line breaks.

All free tools: https://orkosi.com/tools.md
