Text tabs to spaces

text-tabs-to-spaces · version 1.0.0 · Text · free, no key needed

Convert tab characters to spaces.

Use when you need to: text tabs to spaces · convert tabs to spaces · replace tabs with spaces.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "text": "\t\tHello\tWorld",
  "tab_width": 2,
  "leading_only": true
}

Response:

{
  "result": {
    "text": "    Hello\tWorld",
    "replacements": 2
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "text-tabs-to-spaces",
  "version": "1.0.0",
  "input": {
    "text": "\t\tHello\tWorld",
    "tab_width": 2,
    "leading_only": true
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/text-tabs-to-spaces/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"text":"\t\tHello\tWorld","tab_width":2,"leading_only":true}'

The machine-readable contract is at /v1/tools/text-tabs-to-spaces/versions/1.0.0.

CLI

node cli.mjs run text-tabs-to-spaces 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.