text

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

POST/api/text-case-converter

Full 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).

FieldTypeRequiredDescription
inputstringYesThe text or identifier to convert
toenumYesTarget 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.

FieldTypeDescription
outputstringThe converted text
tokensarrayWords extracted from the input before conversion
from_detectedstringThe 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

StatusMeaning
200Success — result in response body
400Bad request — invalid input; error field describes the problem
404Tool not found
429Rate limit exceeded (30 req/min anonymous, 300 req/min free key)
500Internal 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.

We use cookies to serve ads and measure traffic. Cookie policy · Privacy policy