Skip to content

Pedro Ivotools

Text Diff

Compare two versions of a text line by line and see exactly which lines were added or removed, without uploading anything.

Local calculation
The result is calculated in your browser.
Private by default
Nothing you enter leaves your browser.

2 added, 1 removed

  1. apples
  2. removed: bananas
  3. added: blueberries
  4. cherries
  5. added: dates

How it works

The two texts are split into lines and compared with a longest-common-subsequence algorithm, the same idea behind diff tools in version control. Unchanged lines are kept for context.

  • Regex Tester

    Test JavaScript regular expressions against your text, see every match with numbered and named groups, and preview replacements.

  • Remove Duplicate Lines

    Remove repeated lines from a list while keeping the original order, with options to ignore case, trim spaces and drop empty lines.

  • JSON Formatter

    Format, validate and minify JSON in your browser. Pretty-print with your choice of indentation or compact it to one line.

Esc