Text Diff — compare two strings side by side
Text Diff highlights insertions and deletions between a left and right string. Use it for copy edits, policy drafts, or two versions of a paragraph. Comparison runs in this tab.
Who this is for
- Editors checking what changed between two drafts.
- Developers comparing two config snippets.
Who this is not for
- Binary files or multi-megabyte dumps that freeze a tab.
How to use it
- Paste version A and version B. Keep both sides in the same order of sections so the diff stays readable.
- Read the marks. Added and removed spans are colored. A moved paragraph may look like a delete plus an insert.
- Copy the winner. This page does not save a third merged file unless you copy it yourself.
Limits
- Whitespace-only changes can look noisy. Normalize line endings if the result is messy.
- There is no account history. Refreshing clears the boxes.
How the comparison works
Paste the older version into Original Text (Before) and the newer one into Modified Text (After). The comparison is line by line: a line that changed at all shows as one removed line and one added line. Side-by-Side View lists every line in order in one column, with removed lines shaded red and marked with a minus and added lines shaded green and marked with a plus. Unified Git Patch shows the same changes in the standard patch format that git and code review tools read.
Ignore Whitespace treats lines that differ only in spacing as the same. Ignore Case treats upper and lower case as the same. The text on screen keeps its original case and spacing either way. The counters show added, removed, and unchanged lines, plus how the word and character counts changed.
Reading the result
A line that was edited appears as a red removal directly followed by a green addition, so read the pair together to see the change. Unchanged lines give context. If almost every line shows as changed, the two texts probably use different line endings or one was re-wrapped; turn on Ignore Whitespace, or paste both through a plain text editor first.
Good uses
Check what a colleague changed in a policy draft before you sign off. Compare two versions of a config file before deploying. Confirm that a long hash or key you were sent matches the one you expected by pasting both. Swap Panes reverses old and new if you pasted them the wrong way round.
Tips
- For prose, put each sentence on its own line before comparing. A one-line paragraph shows as a single changed line.
- Copy Unified Patch or Download .patch to share exactly what changed.
- The patch is built from the raw text, so it includes whitespace and case changes even when the ignore options are on.
Questions
- Do you store the drafts?
- No. Both sides live in this tab until you close or refresh it.
- Does it highlight changed words inside a line?
- No. Changes are shown per line. Split long paragraphs into sentences to narrow down where an edit is.
- Can I compare Word or PDF files?
- Paste their text. To get text out of a DOCX, use File Converter to export TXT first.
Related guides
Operator: Souren Das, Bengaluru. Guides: filetoolskit.com/guides. Privacy: Privacy. Support: support@filetoolskit.com.