Text Diff help
Paste an old version on the left and a new one on the right. The tool lines the two up and marks what changed. Nothing you paste leaves the tab.
Steps
- Paste or load text into both boxes. "Load a file" reads a text file from your device.
- Read the result. Side by side pairs each line; unified shows one column with
+and-. - On a changed line, the exact words that differ are highlighted.
- Use "Copy patch" or "Save .patch" to take the unified diff into Git or an email.
Options
- Ignore whitespace. Lines that differ only in spacing or indentation count as unchanged.
- Ignore case. Upper and lower case are treated the same when matching lines.
- Context. How many unchanged lines to keep around each change in the unified view.
Limits
- The diff is line based. Moving a paragraph shows as a delete and an add, not a move.
- Very large inputs (tens of thousands of lines) use more memory because the whole comparison is held at once.
- The patch output is a standard unified diff. It is not a Git binary patch.
The comparison runs in your browser. Nothing you paste or load is uploaded.
Back to Text Diff