Attest tools · Text and JSON compare

Compare text ignoring case

Compare text while ignoring capitalisation differences.

1 credit per successful call

Input JSON

{
  "a": "Attest Tools",
  "b": "ATTEST TOOLS",
  "mode": "words",
  "ignore_case": true
}

Captured output JSON

{
  "mode": "words",
  "unit": "words",
  "identical": true,
  "stats": {
    "added": 0,
    "removed": 0,
    "unchanged": 2
  },
  "changes": [
    {
      "type": "unchanged",
      "value": "ATTEST TOOLS"
    }
  ],
  "truncated": false,
  "coarse": false,
  "options": {
    "ignore_whitespace": false,
    "ignore_case": true,
    "context_lines": 3
  },
  "checked_at": "2026-10-20T20:47:47.587Z"
}

API call

curl -s -X POST https://getattest.com.au/api/v1/diff \
  -H "authorization: Bearer $ATTEST_API_KEY" \
  -H "content-type: application/json" \
  --data-raw '{"a":"Attest Tools","b":"ATTEST TOOLS","mode":"words","ignore_case":true}'

Run this call with your own bearer key. Issue an API key.

About this example

The input was validated and run locally through the registered service. The output above is a display preview of the captured service result. File bytes are described instead of printed, and strings longer than 400 characters are truncated; the HTTP API also adds call_id, credits_charged and credits_remaining. Timestamps and generated identifiers will vary.

Source: apps/api/svc/text_diff.mjs

Tool reference and limits · API key guide