📄 Text Diff Checker

Paste two texts into side-by-side boxes. See additions, deletions, and changes highlighted.

Last updated: November 8, 2026 · By the BoltQuickTools team

Spot what changed between two versions of a text

A config file works on one server and fails on another, or an edited contract comes back with no change list. Reading both copies line by line is slow and misses small edits, so this page lines them up and marks every difference.

Running a comparison

  1. Paste the older text into Original Text and the newer text into Modified Text.
  2. Set the checkboxes: Word-level highlighting (on by default), Ignore whitespace and Ignore case.
  3. Press Compare. Removed lines are red with a minus sign, added lines are green with a plus sign, and a summary above the result counts additions, deletions and unchanged lines.

Nothing updates by itself. After you change a checkbox or press Swap, press Compare again. Clear empties both boxes and the result.

Example: a changed port and a new setting

Original Text:

host: localhost
port: 8080
debug: false

Modified Text:

host: localhost
port: 9090
debug: false
retries: 3

Compare produces this list, with only 8080 and 9090 carrying the darker word highlight on the two port lines:

1  host: localhost
2 -port: 8080
2 +port: 9090
3  debug: false
4 +retries: 3

The summary reads 2 additions, 1 deletion, 2 unchanged, plus the time taken. The number on a removed or unchanged line comes from the original text. The number on an added line comes from the modified text.

Where the output can surprise you

For source code with syntax colouring and character-level marks, use the code diff viewer. For JSON, where key order and formatting should not count as changes, the JSON diff compares the data rather than the lines.

Identical texts, line endings and uploads

Why is there no "identical" message when both texts match?

Matching texts produce the full list of lines with no colour and a summary of 0 additions and 0 deletions. Check the summary rather than waiting for a message.

Which line endings and encodings does it handle?

Browsers convert line endings in a text box to a single newline, so Windows and Unix line endings do not show up as differences. Comparison is exact on characters, so a curly quote and a straight quote are different unless you normalise them first.

Is what I paste uploaded?

The comparison script makes no network requests and only reads the two boxes. The page does load advertising and analytics scripts, as the rest of the site does, but the diff code does not pass your text to them.

Can I clean the text before comparing?

Yes. Sorting or deduplicating both copies first makes reordered lists comparable, and the text tools page does both with one click each.