My Toolbox

Diff Checker: Compare Two Texts

Compare two blocks of text or two files and see what changed, line by line.

About the Difference Checker

Compares two blocks of text, or two uploaded files, and shows the changes line by line: added lines in green and removed lines in red.

How to use it

  1. Paste the original text on the left, or upload a file.
  2. Paste the changed text on the right, or upload the second file.
  3. Read the comparison below: added lines are green with a +, removed lines are red with a −.

Good for

Tip: Format both inputs the same way first (for example, beautify both JSON files) so the diff shows real changes instead of whitespace noise.

Frequently asked questions

Can I compare two files?

Yes. Use Upload File above each box to load a text file into it.

Why does the diff show changes I did not make?

Different whitespace or formatting counts as a change. Format both inputs the same way first, for example by beautifying both JSON files.

Are my files uploaded?

No. Files are read and compared in your browser.

More free tools