Text Diff Checker

Compare two texts and highlight differences between them.

Compare two versions of a text and see exactly what changed. Paste the original and the new version, then compare by lines, words or characters: additions are highlighted in green and deletions in red and struck through. You can ignore differences in case and whitespace. It's useful for contracts, essays, code snippets and any text where you need to spot edits. Both texts stay in your browser.

Common use cases

  • See what changed between two drafts of a document
  • Compare two versions of a config file or code snippet
  • Check what an editor or colleague changed

How to use

  1. Paste the original text on the left and the changed text on the right.
  2. Choose lines, words or characters.
  3. Tick ignore case or whitespace if needed.
  4. Read the highlighted differences.

FAQ

Lines, words or characters?

Lines suit code and lists, words suit prose, and characters find tiny changes such as a single digit or a missing comma.

Can I compare JSON?

Yes, but the JSON diff tool compares the data itself, so key order and formatting don't show up as changes.