# Case converter

> camelCase, snake_case, and title case, including AP and Chicago rules.

Free text case converter. See lower, upper, sentence, capital, AP title case, Chicago title case, camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, and the rest at once.

- Page: https://benchline.fabwaseem.com/t/case-converter
- Runs: in the browser. Input stays on the device.
- Price: free, no account
- Input: Text.
- Output: The same text in lower, upper, sentence, capital, AP, Chicago, camel, Pascal, snake, constant, kebab, dot, path, train, alternating, and inverse case.
- Keywords: case converter, camel case converter, title case
- Updated: 2026-10-18
- Built by: Waseem Anjum (https://fabwaseem.com)

## How to use it

1. **Paste a phrase.** Type a sentence or one identifier per line.
2. **Read every case.** Lower, upper, title case, and the identifier cases update together.
3. **Copy the one you need.** Each row has its own copy button.

## Use it from an AI agent

MCP tool name: `convert_case`
MCP endpoint: https://benchline.fabwaseem.com/mcp (Streamable HTTP, no key)
HTTP: POST https://benchline.fabwaseem.com/api/v1/tools/case-converter with the input as the JSON body
This call does not fetch anything. It runs on the arguments you send.

Convert text to camelCase, snake_case, kebab-case, CONSTANT_CASE, and AP or Chicago title case. Returns every style unless one is requested.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 100000,
      "description": "Text to convert. Each line is converted on its own."
    },
    "style": {
      "description": "Return one style. Omit it to return every style.",
      "type": "string",
      "enum": [
        "lower",
        "upper",
        "sentence",
        "capital",
        "title-ap",
        "title-chicago",
        "camel",
        "pascal",
        "snake",
        "constant",
        "kebab",
        "dot",
        "path",
        "train",
        "alternating",
        "inverse"
      ]
    }
  },
  "required": [
    "text"
  ],
  "additionalProperties": false
}
```

### Example tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "convert_case",
    "arguments": {
      "text": "example"
    }
  }
}
```

Setup for Claude, Cursor, and VS Code: https://benchline.fabwaseem.com/mcp/guide

## Questions

### How does AP title case differ from Chicago?

AP capitalizes words of four or more letters, so from and with are capitalized. Chicago lowercases prepositions of four letters or fewer, so from stays lowercase. Both capitalize the first and last word.

### Does camelCase keep line breaks?

Yes. Each non-empty line is converted on its own, so a list of names stays a list.

### Which words stay lowercase in a title?

Articles, coordinating conjunctions, and short prepositions, unless the word is first or last. Hyphenated parts follow the same list.

## Related tools

- [Word counter](https://benchline.fabwaseem.com/t/word-counter): Words, graphemes, reading time, and the limits a title or post has to fit.
- [Diff checker](https://benchline.fabwaseem.com/t/diff-checker): Compare two texts side by side or inline, and download a unified patch.
- [Base64 codec](https://benchline.fabwaseem.com/t/base64-codec): Encode and decode Base64 for text or a file, including the URL-safe alphabet.
- [URL encoder and parser](https://benchline.fabwaseem.com/t/url-codec): Encode or decode a URL, then break the query string into parameters.
