Compare two texts in the browser. Changed lines and characters are marked, then you can copy a Unified Diff.
Two versions of a text can be compared in the browser. This page marks added, removed and changed lines, highlights the characters that moved inside a changed line, and can copy a Unified Diff. Comparing JSON structure stays on JSON Diff.
# app.conf, name = shop, host = example.com, port = 8080, debug = false, log = info and timeout = 30. B keeps the first three lines, sets port = 443 and debug = true, drops log = info, keeps timeout = 30, and adds retries = 3.port = 8080 / port = 443 and debug = false / debug = true are modified lines. Copy Result and Copy Unified Diff both copy --- A, +++ B, @@ -1,7 +1,7 @@, then -port = 8080, +port = 443, -debug = false, +debug = true, -log = info, a space plus timeout = 30, and +retries = 3.Value and value as the same line. Swap exchanges A and B. Previous and Next jump between changes. Clear marks puts the editors back. Typing after a compare clears the marks.Each side must stay under 1 MiB and 10,000 lines. Files are read in this browser and are not uploaded. The compare is exact text, not similarity or plagiarism. It does not read Word, PDF or images. Unified Diff is a patch-style text with context lines, not a Git command.
retries sits after timeout, so log has no partner. It is deleted and retries is added.
No. It compares plain text. JSON structure stays on JSON Diff.