---
title: "Convert text case (camel, snake, kebab, title, constant ...)"
method: POST
path: "/api/text-case"
tags: ["Text"]
---

# Convert text case (camel, snake, kebab, title, constant ...)

`POST /api/text-case`

## Request

- Base URL: `https://toolsthatdontupload.com`
- URL: `https://toolsthatdontupload.com/api/text-case`
- Auth: one of:
  - none
  - API key in header `X-API-Key`

## Request body

- object
  - `text` string, required
  - `case` string, required

## Response `200`

Success (JSON)

## Other responses

- `400`: Invalid input (problem+json)

---

[API](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api.md) · [All operations](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api/llms.txt) · [OpenAPI document](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api/revisions/fc4cea318919?raw)
