Loading…
Text & time
Compare two texts by line, word or character, and copy the result as a patch.
Runs in your browser — nothing you paste is uploaded
+2 lines added−2 removed
It uses Myers' algorithm, the one behind git diff, to find the smallest set of insertions and deletions that turns the original into the changed text.
Lines for code and config files, words for prose, and characters for short strings such as IDs or hashes, where one changed character matters.
The patch format used by git and code review tools: lines starting with - were removed, lines starting with + were added, and @@ headers give the line numbers. Copy it with “Copy patch”.