Text Compare

Compare two texts and highlight added or removed lines. It runs directly in your browser.

Local processingProcessed locally in your browser

0 UTF-16 units

0 UTF-16 units

Ignore spaces, tabs and other whitespace within each line. Blank lines and line order still count; line ending styles (CRLF, CR, LF) are treated equally.

Each side: up to 50,000 UTF-16 units and 1,000 lines. Shorten longer texts before comparing.

Paste two versions, or leave one side empty to see all additions or removals.

Good for

Compare drafts, configuration files and copied text locally, with original line numbers and an option to ignore whitespace within lines.

Limits

Each side is limited to 50,000 UTF-16 code units and 1,000 lines. This is a line comparison, not a semantic JSON or document comparison. Line ending styles are treated equally; blank lines and trailing newlines are preserved.