Debug & Review · LOCAL TOOL
Diff Review
Review two pasted versions of a file or document with a compact line diff that marks unchanged, inserted, and removed lines.
No API call
Your input
LOCALResult
Run the tool to see a result.
Your result will appear here. Input is not saved.
WHY THIS TOOL EXISTS
A focused job, not a black box.
A whitespace option makes formatting-only changes easier to distinguish from content changes while preserving the original lines in the report.
How to use it
- Paste the earlier and later versions.
- Choose how to compare outer whitespace.
- Inspect and copy the line diff.
TRY A WORKING EXAMPLE
Start with known input.
Load this sample into the workspace, run the tool, and compare the result shown below.
Show sample input
{
"before": "const timeout = 1000;\nstart(timeout);\nreport(\"ready\");",
"after": "const timeout = 2500;\nstart(timeout);\nreport(\"ready\");\ncleanup();",
"ignoreWhitespace": "Compare exact lines"
}Expected sample result from the local tool
2 added line(s) · 1 removed line(s).
- const timeout = 1000;
+ const timeout = 2500;
start(timeout);
report("ready");
+ cleanup();LIMITS AND INTERPRETATION
What the result cannot tell you.
The diff is line-based and intended for bounded text. It is not Git and does not understand language syntax, renames, or merge conflicts.
Inputs are processed in this page and are not written to local storage.