How to compare two texts
Paste the first version into Original text and the second into Revised text, then select Compare texts. The result keeps matching lines together and marks removed lines with a minus sign and added lines with a plus sign. Old and New show the position in each input.
For example, comparing Hello followed by World with Hello followed by Everyone keeps the first line unchanged, removes World, and adds Everyone. A changed line is shown as a removal and an addition, rather than highlighting individual characters.
Select Load example, then Compare texts to try that exact pair. Expect one added line and one removed line. Load example replaces both inputs, turns off the whitespace option and clears any previous report.
Use Swap texts to reverse the comparison direction. Editing either input or changing the whitespace option clears the old result; compare again to see the updated report.
Whitespace and line endings
By default, spaces, tabs, punctuation, and letter case matter. The whitespace option ignores only spaces and tabs at the beginning and end of each line. It does not collapse spaces inside a line, ignore blank lines, or ignore letter case. Matching lines display the original text when edge whitespace is ignored.
Windows and Unix line endings are treated as equivalent. A final newline creates an additional empty line, so adding or removing it is visible in the report. Empty text can be compared with populated text to see all lines as additions or removals.
Copying and downloading the result
Copy report copies a plain-text report with + for additions, - for removals, and spaces for unchanged lines. Download report saves the same content as a .txt file. This is a readable comparison report, not a patch file for Git or another version-control system.
Limits and privacy
Each input supports up to 100,000 UTF-16 code units and 800 lines. Some emoji occupy two code units, so this limit is not a count of visible symbols. The limits keep the comparison responsive and bound its memory use. Larger inputs produce an error without discarding the text; compare smaller sections instead.
Comparison happens in your browser. This tool does not upload or save the entered text. Refreshing or leaving the page clears the tool's in-memory inputs; browser-level form restoration may behave differently. Copy and download create copies only when you choose those actions.
What this comparison does not do
This tool compares plain text by line. It does not determine whether two programs mean the same thing, validate JSON, read Word or PDF formatting, or detect plagiarism. Use JSON Validator to check JSON syntax before comparing two formatted versions. Repeated and moved lines may have more than one valid alignment; movement is represented as removals and additions.
For compact JSON, format each version with JSON Formatter before pasting it here so values occupy readable lines. Formatting does not sort keys or prove semantic equivalence. For repeated records in a single list, Remove Duplicate Lines is the more direct operation.





