---
title: "Case Converter"
method: GET
path: "/api/calc/case-converter"
tags: ["Conversion"]
---

# Case Converter

`GET /api/calc/case-converter`

## Request

- Base URL: `https://calcbright.com`
- URL: `https://calcbright.com/api/calc/case-converter`
- Auth: none declared

Switch text to UPPER, lower, Title or Sentence case, or to camelCase, snake_case and kebab-case for code. It all runs in your browser; nothing is uploaded.

## Query parameters

- `text` string: Your text
- `mode` 'upper' | 'lower' | 'title' | 'sentence' | 'camel' | 'pascal' | 'snake' | 'kebab' | 'constant' | 'alternating': Convert to

## Response `200`

Calculation result

- CalcOutput
  - `ok` boolean
  - `tool` string
  - `name` string
  - `url` string: Open this link to see the full calculation
  - `inputs` object
  - `summary` string: Plain-text answer
  - `details` string
  - `result` object
  - `errors` object

## Other responses

- `400`: Invalid input (see errors)

---

[API](https://skmtc.dev/calcbright/apis/calcbright-calculator-api.md) · [All operations](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/revisions/f58229e56e58?raw)
