About this endpoint
What it does
Converts the provided text into multiple common casing formats and a URL slug. The response returns the original input string plus the converted variants in a single JSON object.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| text | String | Yes | The string to convert. |
Response
Returns a JSON object with string fields for the original input, slug, dot.case, camelCase, PascalCase, Title Case, kebab-case, snake_case, CONSTANT_CASE, and Sentence case, plus a numeric word_count field.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| slug | String | No | The URL slug version of the input text. |
| input | String | No | The original input text. |
| dot.case | String | No | The text converted to dot.case. |
| camelCase | String | No | The text converted to camelCase. |
| PascalCase | String | No | The text converted to PascalCase. |
| Title Case | String | No | The text converted to Title Case. |
| kebab-case | String | No | The text converted to kebab-case. |
| snake_case | String | No | The text converted to snake_case. |
| word_count | Integer | No | The number of words in the input text. |
| CONSTANT_CASE | String | No | The text converted to CONSTANT_CASE. |
| Sentence case | String | No | The text converted to Sentence case. |