Diff checker

Compare two texts side by side or inline, and download a unified patch.

Runs in browser

Use from your agent

Streamable HTTP at https://benchline.fabwaseem.com/mcp. No key. The tool name is diff_text.

mcp.jsonjson
1{
2 "mcpServers": {
3 "benchline": {
4 "url": "https://benchline.fabwaseem.com/mcp"
5 }
6 }
7}
tools/calljson
1{
2 "jsonrpc": "2.0",
3 "id": 1,
4 "method": "tools/call",
5 "params": {
6 "name": "diff_text",
7 "arguments": {
8 "left": "example",
9 "right": "example",
10 "mode": "line",
11 "ignoreWhitespace": false
12 }
13 }
14}

How it works

Free diff checker for text and JSON. Compare by line, word, or character, ignore whitespace, or diff JSON so key order does not matter. The result is a side-by-side view, an inline view, and a unified patch. It runs in the browser.

  1. 01

    Paste the two texts

    Original goes on the left, changed on the right. Swap them if you pasted them backwards.

  2. 02

    Choose how to compare

    Line is the default. Word and character zoom in. JSON compares values and ignores key order.

  3. 03

    Read the view or the patch

    Switch between side by side and inline. The patch is in the side panel, ready to copy.

FAQ