Text Diff

Paste two texts to see line-by-line differences instantly. Great for configs, log snippets, copy edits, and code changes.

Privacy: processed locally, never uploaded.

↓ Paste in the input area below to see results instantly

Line-by-line diff with added and removed lines highlighted.

Original text (left)

Compare text (right)

Diff view

Line one
βˆ’Line two
+Line 2 updated
Line three
+Line four

Notes

Reading the diff

Green + marks lines added on the right; red βˆ’ marks lines removed from the left; gray lines are unchanged.

Paste two texts to see line-by-line differences instantly. Great for configs, log snippets, copy edits, and code changes.

Quick start

  1. Paste left and right

    Left is the original; right is the version to compare.

  2. Read the diff view

    + marks lines added on the right; βˆ’ marks lines removed from the left.

Features and use cases

Side-by-side or inline diff for code, configs, and copy revisions with optional whitespace ignore.

Use before merges, contract reviews, translation diffs, and API response comparisons.

vs JSON diff

This tool compares raw text lines; use JSON Diff for structured field-level JSON changes.

Typical Workflow

After opening the text diff tool, paste the original text (e.g. old config file) in the left box and the modified version on the right. Click 'Compare' to see additions (green), deletions (red) and modified lines highlighted instantly. No registration or file uploads needed – all processing happens in your browser, perfect for quick code or document reviews.

Use line numbers to navigate long texts. Click any highlighted line to expand context for detailed inspection. When comparing logs, removing timestamps first helps focus on key changes. You can copy the colored results or take screenshots for records.

Examples

Example

Input

Line one
Line two

Output

Line one
Line 2 updated

FAQ

Word-level diff?

Currently line-level; lines must match exactly to count as unchanged.

Why are some identical lines marked as modified?

This often happens due to spaces, tabs or line breaks. Enable 'Show whitespace' to reveal these hidden differences, or normalize text format before comparing.