Skip to main content
Cookie preferences

We use analytics cookies to understand usage and improve CleanTextLab. You can accept or decline Privacy policy. Manage preferences.

Scale Infrastructure

Automate at high scale.

The deterministic engine for modern data pipelines. Connect CleanTextLab to your automation stack and process text with zero overhead.

🔗 n8n Quick Setup

Quick n8n HTTP Request node configuration

# Download n8n starter workflow
# 1. Import this JSON into n8n:
curl https://cleantextlab.com/workflows/n8n-starter.json -o cleantextlab-workflow.json

# 2. Or use this quick HTTP Request node config:
{
  "method": "POST",
  "url": "https://cleantextlab.com/api/v1/run",
  "headers": {
    "x-api-key": "ctl_live_YOUR_KEY"
  },
  "body": {
    "input": "{{ $json.text }}",
    "steps": ["line-break-remover", "sort-remove-duplicates"]
  }
}
Replace YOUR_KEY with your actual API key from Settings
MCP for Agents

Give your AI agents real tools.

Connect Claude, Cursor, and OpenHands to a suite of deterministic text tools. No more hallucinated formatting.

mcp_config.json
"cleantextlab": {
  "command": "npx",
  "args": ["-y", "cleantextlab-mcp"],
  "env": {
    "CLEANTEXTLAB_API_KEY": "..."
  }
}

Integrations.

Plug and play with the most popular automation platforms.

SDKs & Code.

Standard REST integration or clone our React SDK for a full UI.

cURL
Command line HTTP requests
curl -X POST https://cleantextlab.com/api/v1/run \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_KEY" \
  -d '{"input": "hello world", "steps": ["upper-case"]}'
Python
Requests library example
import requests

response = requests.post(
    "https://cleantextlab.com/api/v1/run",
    headers={"x-api-key": "YOUR_KEY"},
    json={"input": "hello world", "steps": ["upper-case"]}
)
print(response.json()["result"])

Capabilities.

Chain any of our 35+ tools in a single request.

Frequently Asked Questions.

Everything you need to know about automating with CleanTextLab.

What is CleanTextLab's API rate limit?

Pro accounts get 5,000 API calls per day. Free accounts get 10 calls/day for testing. If you need more, contact us for Enterprise pricing. All rate limits reset at midnight UTC. Track your usage in Settings → API Keys.

Do you have a Python SDK for the API?

Yes! We have an open-source React SDK (MIT licensed) and Python examples in our documentation. The API is a simple HTTP POST, so any language with an HTTP client works. Check /sdk for quickstart code or /docs/api for detailed examples.

Can I self-host CleanTextLab?

The web tools (JSON formatter, CSV converter, etc.) run entirely in your browser - no backend needed. You can even use them offline. The API and MCP server are cloud-hosted for reliability and speed. Enterprise customers can inquire about dedicated instances.

Ready to ship?

Join over 2,000 developers automating their daily text chores with CleanTextLab.

Security first • Zero log policy • GDPR Compliant
Automation & Integrations - CleanTextLab API for Agents and Workflows