Text Compare / Diff

See exactly what changed between two texts.

Text Compare highlights every difference between two blocks of text — line by line and word by word inside changed lines — using a proper Myers diff rather than a naive comparison. Options let you ignore whitespace, case or punctuation. Both texts stay in your browser, which matters for contracts and code.

Loading Text Compare / Diff…

Runs entirely on your device. No file or text you enter here is uploaded. How to verify it.

How to use Text Compare / Diff

  1. Paste the original text on the left and the new one on the right.
  2. Choose side-by-side or unified view and any ignore options.
  3. Read the highlighted differences and the change summary.

Questions about Text Compare / Diff

Which diff algorithm is used?
Myers' O(ND) difference algorithm — the same family used by git — which finds the shortest edit script rather than the first plausible one. Changed lines are then diffed again at word level so you can see the actual edit.
Can I ignore formatting noise?
Yes: ignore leading and trailing whitespace, all whitespace, case, or punctuation, independently. That turns a reformatting diff back into a content diff.
Is my text sent anywhere?
No. This is one of the tools people paste contracts, medical letters and unreleased code into, so it runs locally with no network request. Open your developer tools and check.
Is it safe to compare confidential contracts here?
Nothing leaves the browser — there is no upload step and no request is made while you diff, so the text is never handled by a server. The ordinary caveats about your own device still apply: the text sits in the page until you close the tab.
How large a text can it compare?
A few thousand lines compare in well under a second. Myers diff cost grows with the number of differences rather than the length, so two texts that are almost entirely different take longer than two near-identical drafts of the same size.
Is Text Compare / Diff really free, with no limits?
Yes. There is no account, no daily cap, no file-size tier and no watermark, because there is no server cost to recover. The site is funded by clearly disclosed partner recommendations on the Partners page, never by metering the tools.
Are my files or text uploaded when I use Text Compare / Diff?
No. Everything is processed by JavaScript running in your browser, on your device. You can verify it: open your browser's developer tools, switch to the Network tab, and use the tool. You will see no request carrying your data — because there is nowhere for it to go.