DevDesk

TEXT / DEVDESK

Text Diff

Compare two text blocks line by line and highlight additions and removals. The comparison runs in your browser.

Compares line by line. Combined input is limited to 1 MB and each side to 5,000 lines. Expensive comparisons stop safely. Input stays in this browser.

Original
Modified

Input and output examples

Example 1

Input

before: title=Hello
status=draft

Output

after: title=Hello
status=published

Example 2

Input

one
two
three

Output

one
two changed
three
four

How to use it

  1. Enter the original and changed text.
  2. Run the comparison and review the change summary.
  3. Inspect the marked lines and copy the result.

Frequently asked questions

Does it show word-level differences?

The initial version shows line-level changes. Inspect the affected lines directly for word-level details.

Are spaces and line endings compared?

Yes. CRLF and LF endings are normalized, while spaces within each line are preserved.

Can pasted HTML execute?

No. Input and output are rendered as text, so pasted tags and scripts are not executed.