Single endpoint, instant results

Pascal Case API

Convert text to PascalCase. Perfect for class names, type definitions, and React components. Free: 1,000 requests/day.

POST https://textforge.co/v1/run
{
  "input": "Hello World!",
  "pipeline": [
    "pascalcase"
  ]
}

Response:

{
  "success": true,
  "input": "Hello World!",
  "pipeline": [
    "pascalcase"
  ],
  "result": "hello-world",
  "steps": [
    {
      "step": 1,
      "action": "pascalcase",
      "result": "hello-world",
      "execution_time_ms": 1
    }
  ],
  "execution_time_ms": 4
}

Quick Start

cURL
curl -X POST https://textforge.co/api/v1/transform   -H "Content-Type: application/json"   -d '{"text":"hello world","action":"pascalcase"}'
Node.js
const response = await fetch("https://textforge.co/api/v1/transform", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ text: "hello world", action: "pascalcase" })
});
const data = await response.json();
console.log(data.result);
Python
import requests

response = requests.post(
    "https://textforge.co/api/v1/transform",
    json={"text": "hello world", "action": "pascalcase"}
)
print(response.json()["result"])
PHP
$ch = curl_init("https://textforge.co/api/v1/transform");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([
    "text" => "hello world",
    "action" => "pascalcase"
]));
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Content-Type: application/json"]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$data = json_decode($response, true);
echo $data["result"];

Why use the API?

Sub-5ms latency

p95 response time, no cold starts

🔗

Composable pipelines

Chain transforms in one request

🛡️

Fair free tier

1,000 requests/day, no credit card

🌐

Works everywhere

curl, Python, JS, PHP - no SDK needed

📊

Built-in analytics

Usage tracking, rate limit headers

🔒

HTTPS only

CORS enabled, production ready

All 28 Transforms