All tools Developer Tools

Diff Checker

Compare two texts and get a unified diff like Git.

Your details

100 of 100 free uses left today

Your result will appear here

Fill in the details on the left and press the button. You will see the answer right here, without the page reloading.

About this tool

Compare two versions of a text or code and get the differences in the unified diff format used by Git and patch, with the amount of context you choose. It finds the shortest set of changes (Myers' algorithm), handles up to 5000 lines per text, and can ignore case and spacing. Your text is processed for this request only and is never stored.

Frequently asked questions

What does it show?

The differences between two texts as a unified diff, like Git.

What do the + and − lines mean?

Lines starting with + were added and lines starting with − were removed.

Can I compare files?

Paste the contents of the two files into the boxes.

Related tools