Skip to content

Text utility

Compare texts

Paste, type, or open two text files to see exactly what changed. Keep original line numbers, refine changed lines by word, and choose how case or whitespace should affect equivalence.

  • Readable line and word changes
  • Case and whitespace controls
  • Text stays in this browser

Compare

Add the two versions

Edits are compared automatically after a short pause. Opening a file replaces only that editor and keeps a recoverable in-memory snapshot of the previous inputs.

Original text

Paste or type the earlier version.

{{ t('editor.lineCount', { count: formatNumber(leftLineCount) }) }}
Files must be valid UTF-8. Nothing is uploaded.

Revised text

Paste or type the version to compare.

{{ t('editor.lineCount', { count: formatNumber(rightLineCount) }) }}
Files must be valid UTF-8. Nothing is uploaded.
Comparison options
Comparison options

CRLF and CR line endings are compared as LF. Displayed and reported text stays original. A final-newline difference is still reported unless all whitespace is ignored.

Result

Comparison

{{ statusTitle }}

{{ statusBody }}

{{ resultStale ? t('result.updating') : t('result.processing') }}

Comparison cancelled. The last settled result is still available.

This comparison was too complex for detailed line alignment within the bounded browser work limit, so the original lines are shown as coarse removals and additions.

Word-level refinement was bounded for some very large or complex changed lines; their full original lines remain visible.

Removed Added Ignored by options
Plain-text report

The report records the selected options and nearby original line context. With normalization enabled, it is a comparison summary, not a patch guaranteed to reconstruct either original.

{{ announcement }}
{{ toast }}