Glossary Development

Text diff

A diff compares two texts and lists what was added, removed or left unchanged, usually line by line.

Last reviewed:

AdSense Placeholder
Slot: header_reference_page

In more detail

It finds the longest common subsequence of lines and reports everything else as a change. A modified line shows as one removal plus one addition, so changing 1 of 3 lines gives 1 removed, 1 added and 2 unchanged. Version control tools such as Git are built on this idea.

Try these tools

See also

  • Glossary Git
    Git is a distributed version control system that records snapshots of a project's files so you can track changes, go back and collaborate.
  • Guide How Text Analysis and Editing Tools Work
    How words and reading time are counted, Flesch readability, naming-case styles, line diffs, sorting, de-duplication and escaping for JSON.
AdSense Placeholder
Slot: footer_leaderboard