Text Case Converter API Reference
Convert any identifier or phrase between 11 naming conventions: camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, COBOL-CASE, dot.case, Title Case, Sentence case, lowercase, and UPPERCASE. Intelligently splits on whitespace, hyphens, underscores, dots, and camelCase boundaries so you can convert between any two formats in one step.
Endpoint
/api/text-case-converterFull URL: https://quickhelp.dev/api/text-case-converter
Request
Content-Type: application/json. No authentication required for the anonymous free tier (30 req/min per IP).
| Field | Type | Required | Description |
|---|---|---|---|
| input | string | Yes | The text or identifier to convert |
| to | enum | Yes | Target case: camelCase | PascalCase | snake_case | SCREAMING_SNAKE_CASE | kebab-case | COBOL-CASE | dot.case | Title Case | Sentence case | lowercase | UPPERCASE |
Response
Returns application/json. On error, returns a JSON object with an error string field and an appropriate HTTP status code.
| Field | Type | Description |
|---|---|---|
| output | string | The converted text |
| tokens | array | Words extracted from the input before conversion |
| from_detected | string | The naming convention detected in the input |
Example
camelCase to snake_case
curl
curl -X POST https://quickhelp.dev/api/text-case-converter \
-H 'Content-Type: application/json' \
-d '{"input":"myVariableName","to":"snake_case"}'Request body
{
"input": "myVariableName",
"to": "snake_case"
}Response
{
"output": "my_variable_name",
"tokens": [
"my",
"variable",
"name"
],
"from_detected": "camelCase"
}Error codes
| Status | Meaning |
|---|---|
| 200 | Success — result in response body |
| 400 | Bad request — invalid input; error field describes the problem |
| 404 | Tool not found |
| 429 | Rate limit exceeded (30 req/min anonymous, 300 req/min free key) |
| 500 | Internal server error — transient; retry with exponential back-off |
OpenAPI spec
The full OpenAPI 3.1 specification for all tools is available at /openapi.json. Import it into Postman, Insomnia, or any OpenAPI-compatible client to get all endpoints with schema validation automatically.