Document Diff

Perform a complete line-by-line diff between two documents showing all additions, removals, and common content.

Example

Input

Line 1
Line 2
Line 3

Output

=== COMMON ===
Line 1
Line 2

+++ ADDED +++
Line 4

How Document Diff Works

Perform a complete line-by-line diff between two documents showing all additions, removals, and common content.

This tool runs entirely in your browser — no data is sent to any server. Paste your text, click Run, and get your result instantly. You can also chain this tool with others using the pipeline feature: run Document Diff, then continue with a related tool to build a multi-step text workflow.

TextRefinery is a free, open-source text processing toolkit. Learn more about regular expressions and text processing on the web.