Text Diff Checker

Paste two versions and see what was added or removed, by line, word or character. Handy for contracts, drafts and config files.

Text Diff Checker

Text Tools

Runs locally in your browser.

About the Text Diff Checker

Having to manually spot the subtlest changes between two iterations of a document is a grueling, error-prone task. For developers trying to track down a missing semicolon, editors trying to review a contract, or writers trying to examine their drafts, finding additions and deletions takes a great amount of precision.

With this Text Diff Checker, you can automatically highlight the precise modifications between two texts for easy review.

Both texts are compared in your browser, so code, legal documents and drafts stay on your device.

Key Features of Text Diff Checker

  • Side-by-Side Comparison
  • Easily spot modifications using this text diff tool's dual panel, which features text fields for the "Original text" and "Changed text"
  • Customizable Comparison Logic
  • Choose how you want your texts to be compared using the "Compare by" dropdown menu (e.g. compare texts "By lines") and the optional "Ignore case" checkbox.
  • Real-Time Statistics
  • Get live statistics as you build your comparison request, including cards counting the number of "ADDED", "REMOVED", and "UNCHANGED" elements between your texts.
  • Fully Local Processing
  • A security icon in the header shows you that this text comparison tool always run locally in your browser, keeping your private data safe and secure.
  • Instant Compare Button
  • Hit the purple "Compare" button to instantly compare your texts, or use the "Clear" button to wipe your input fields.

How to Use Text Diff Checker

  1. Paste the older version of your document or code into the "Original text" textarea.
  2. Paste the newer version of your document or code into the "Changed text" textarea.
  3. Use the "Compare by" dropdown to set your preferred method of comparison (e.g. "By lines")
  4. Tick the "Ignore case" checkbox if you'd like your comparison to be case-insensitive.
  5. Click the purple "Compare" button to perform your comparison.
  6. Use the statistics cards to see how many elements were "ADDED", "REMOVED", or "UNCHANGED" between your texts.
  7. Click "Clear" to wipe your text fields for another comparison.

Text Diff Checker Examples

Two short configurations compared line by line: only the port line changed.

Input
Original:
port: 80
host: a
debug: true

Changed:
port: 8080
host: a
debug: true
Result
Added: 1
Removed: 1
Unchanged: 2

Text Diff Checker — Frequently Asked Questions

What does "Compare by lines" mean?
Comparing by lines evaluates the texts horizontally, line-by-line. Any modification detected within a text row will mark the entire line as modified. This is useful for comparing code commits and script modifications.
Why would I use the "Ignore case" option?
If you're comparing documents where you don't care about case sensitivity, checking "Ignore case" will prevent the text comparator from marking words as different simply because of their capitalization.
Is my document secure?
Your privacy is important to us. This text diff checker always runs locally in your browser, which means your documents are only processed by your computer's local memory. We'll never receive or store your documents.