# Text diff checker

> Compare two versions of a text and see which lines were added, removed or left unchanged. Option to ignore whitespace. Free, nothing stored.

Free tool by Orkosi. Page: https://orkosi.com/tools/text-diff

Paste the old and the new version of a contract, a config file or a paragraph. Lines that were removed start with a minus, new ones with a plus.

1. Paste the original text on top.
2. Paste the changed text below.
3. Press Compare and read the marked lines.

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `original` | text | yes | Original text. |
| `changed` | text | yes | Changed text. |
| `ignore_whitespace` | true \| false | no | Ignore whitespace. Default: false. |

## Example

Input:

```json
{
  "original": "Plan: Starter\nPrice: 19 per month\nSeats: 3\nSupport: email",
  "changed": "Plan: Starter\nPrice: 24 per month\nSeats: 3\nSupport: email and chat\nTrial: 14 days"
}
```

Result:

```json
{
  "identical": false,
  "added": 3,
  "removed": 2,
  "unchanged": 2,
  "diff": "  Plan: Starter\n- Price: 19 per month\n+ Price: 24 per month\n  Seats: 3\n- Support: email\n+ Support: email and chat\n+ Trial: 14 days"
}
```

## Run it

It needs a free Orkosi account, nothing else. No credits are used.

- **A person**: open the page, enter an e-mail once, use the tool.
- **Claude or ChatGPT**: add the Orkosi connector `https://orkosi.com/api/v1/public/mcp` and sign in, or create the free account on the sign-in page. Then call `orkosi_run_free_tool` with `{ "tool": "text-diff", "input": { … } }`.
- **Any agent or program that can make an HTTP request**:

  1. Once, create the account: `POST https://orkosi.com/api/v1/public/signup` with `{ "name": "…", "email": "…", "terms_accepted": true }` and no key. Ask the person for the e-mail and their agreement to the terms first. The answer carries `data.api_key`, shown once.
  2. Run the tool:

```bash
curl -X POST https://orkosi.com/api/v1/public/tools/text-diff/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"original":"Plan: Starter\nPrice: 19 per month\nSeats: 3\nSupport: email","changed":"Plan: Starter\nPrice: 24 per month\nSeats: 3\nSupport: email and chat\nTrial: 14 days"}}'
```

The answer is `{ "data": { "tool": "…", "result": { … } } }`. A call without a key is answered 401 with the signup steps as data.

## Questions

**How do I read the result?**

A line starting with + exists only in the changed text, one starting with - only in the original. Unmarked lines are the same in both.

**Can it ignore spacing differences?**

Yes. Turn on Ignore whitespace and lines that differ only in spaces, tabs or indentation count as equal.

**Is there a size limit?**

1,500 lines per text. That covers long documents; split anything larger.

All free tools: https://orkosi.com/tools.md
