Noteonpad
Open the notepad

Text diff

Compare two notepad files or drafts online to see exactly what changed. Paste the original text on one side and the updated text on the other: lines are matched first, and inside changed lines individual edited words are highlighted. Everything runs locally in your browser using the same diff engine as Noteonpad’s version History.

How to use

  1. Paste the original text in “Before” and the new text in “After”.
  2. Press “Compare”. Removed parts are shown in red with a strike-through, added parts in green.
  3. Toggle “Ignore whitespace” if indentation or double spaces should not count as a change.
  4. Copy the summary (lines added, removed, changed) or open either side in the notepad.

What it does

  • Compares line by line using a longest-common-subsequence diff, so moved blocks are shown as removed + added rather than confusing partial matches.
  • Highlights word-level changes inside changed lines, preserving spacing.
  • Keeps right-to-left lines right-to-left: each row follows the direction of its text, and change markers never flip the words.
  • Shows a count of equal, added, removed and changed lines.
  • Works offline, in the browser, with no upload.

What it doesn’t

  • It does not merge the two texts or produce a patch file.
  • It does not detect moved blocks as moves; a paragraph that moved appears as removed in one place and added in another.
  • It does not compare formatting (bold, headings) — paste plain text or Markdown source.

Limits

  • For very large inputs the line comparison switches to a coarse mode (whole blocks marked as changed) to stay responsive.
  • Word-level highlighting is applied only to lines paired as a change, not to long replaced blocks.

Questions

Is this the same diff the notepad uses in History?

Yes. The History compare view in the app and this tool share the same line + word diff model.

How do you handle Persian and Arabic text?

Each row takes its direction from its own text (first strong letter). Removed and added markers are colour and strike-through, so they read correctly in either direction.

What does “Ignore whitespace” do?

Runs of spaces and tabs are collapsed and leading/trailing spaces are trimmed before lines are compared. Line breaks still count.

Are the colours accessible?

Removed text uses a strike-through in addition to red; added text is green with a background. Colour is never the only signal.

Can I compare two files?

Open each file in a text editor, copy the content and paste it into the two boxes. The tool does not read files directly.

Is anything uploaded?

No. Both texts stay in the page; the comparison runs locally.

Read more

Open in notepad