Single endpoint, instant results

Kebab Case API - Convert Text to kebab-case

Convert any text to kebab-case (lowercase with hyphens). Perfect for CSS classes, URL slugs, and file names. Free: 1,000 requests/day, no API key required.

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

Response:

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

Use Case: CSS Class Generation

Generate consistent kebab-case CSS class names from component descriptions.

Example: Convert any text to kebab-case (lowercase with hyphens). Perfect for CSS classes, URL slugs, and file names. Free: 1,000 requests/day, no API key required.

Quick Start

cURL
curl -X POST https://textforge.co/transform   -H "Content-Type: application/json"   -d '{"text":"Hello World!","action":"kebabcase"}'
Node.js
fetch("https://textforge.co/transform", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ text: "Hello World!", action: "kebabcase" })
}).then(r => r.json()).then(console.log);
Python
import requests

payload = { "text": "Hello World!", "action": "kebabcase" }
response = requests.post("https://textforge.co/transform", json=payload)
print(response.json())
PHP
<?php
$payload = json_encode([ "text" => "Hello World!", "action" => "kebabcase" ]);
$ch = curl_init("https://textforge.co/transform");
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Content-Type: application/json"]);
$response = curl_exec($ch);
echo $response;
?>

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