Text Diff — The text diff tool compares two versions of a document line by line and marks each line as added, removed, or unchanged — the same idea as the diff command developers use, but for any text.
Comparison runs locally in your browser. Neither text is uploaded.
Was Text Diff useful?
What is Text Diff?
The text diff tool compares two versions of a document line by line and marks each line as added, removed, or unchanged — the same idea as the diff command developers use, but for any text.
It is useful for reviewing edits to articles, contracts, configuration files, or notes, and for spotting what changed between two drafts at a glance.
How to use it
-
Paste the original
Left panel: the older version of the text.
-
Paste the changed version
Right panel: the newer version.
-
Read the diff
Green lines were added, red lines removed, plain lines are unchanged.
Examples
One-line edit
Changing a single line shows one removal and one addition.
a b c → a c d
Result: a − b c + d
Frequently asked questions
Related guides
How to Explore a JSON File Visually (and Stop Scrolling)
Navigate large JSON files and API responses without endless scrolling using collapsible tree views, key/value search, and RFC 6901 pointers.
What Is Regex, and When Should You Actually Use It?
Learn the core regular expression operators, capture groups, flavor differences, and four signs a proper parser is safer than regex.
How to Convert SRT to VTT or SUB (and Why You Might Need To)
Convert between SRT, WebVTT, and MicroDVD SUB subtitles locally—plus fix timing drift with millisecond shifts and FPS scaling.