About this tool
Diff Checker compares two versions of any text and shows what changed between them. Paste the original on the left and the new version on the right, or drop in two text files, and the differences appear straight away: removed lines marked with a minus, added lines with a plus, and edited lines shown side by side with the changed words highlighted inside them.
It is useful for checking what an editor changed in your article, spotting the one edited clause in a contract, comparing two configuration files, or reviewing code without a Git client. Long stretches of identical text fold away so you can focus on the changes, and the arrow buttons jump from one change to the next.
The comparison uses the Myers difference algorithm, the same method behind Git and the classic diff command, so it finds the smallest set of changes rather than guessing. It runs in a background worker inside your browser, which keeps the page smooth with texts of many thousands of lines. Nothing you paste is uploaded or saved.
How to use Diff Checker
- Paste the older version into “Original text” and the newer one into “Changed text”. You can also press “Open” or drop a file on either box.
- Read the summary above the result: lines added, removed and changed.
- Choose “Side by side” or “Unified”, and highlight changes by “Words” or “Characters”.
- Tick “Ignore whitespace” or “Ignore case” if spacing or capitals don’t matter to you.
- Use the ↑ and ↓ buttons (or the N and P keys) to step through each change.
- Press “Copy patch” or “Download .diff” to save the changes as a standard unified diff.
Original “The quick brown fox jumps over the lazy dog.” and changed “The quick red fox jumped over the lazy dog.” give one changed line, with “brown” and “jumps” highlighted on the left and “red” and “jumped” on the right.
Features
- Line-by-line comparison with the Myers algorithm, finding the smallest set of changes.
- Word-level or character-level highlights inside each changed line.
- Edited lines are matched to their closest counterpart, so a moved or reworded line isn’t mistaken for something else.
- Side-by-side and unified views, with line numbers for both versions and + / − markers, so changes never rely on colour alone.
- Ignore whitespace and ignore case options.
- Long unchanged stretches fold away, with one tap to show them or a switch to show everything.
- Previous and next change buttons with a “Change 3 of 12” position, plus keyboard shortcuts.
- Copy or download the result as a unified diff (patch) that git apply and patch understand.
- Swap the two sides, paste, clear with undo, and open or drop text files up to 50 MB.
Tips and good to know
- If almost every line shows as changed, the files may use different line endings or indentation. Tick “Ignore whitespace” to see the real edits.
- Character highlights are best for short lines such as codes, names and numbers. For prose, word highlights are easier to read.
- A patch made with “Ignore whitespace” or “Ignore case” switched on leaves out the differences you told it to ignore, so turn both off before saving a patch you plan to apply.
- One line break at the very end of a text is not counted as an extra empty line, because most files end with one.
- For Word documents or PDFs, copy the text out first and paste it in. The checker compares plain text, not formatting.
Frequently asked questions
Is my text uploaded anywhere?
No. Both texts stay in your browser and are compared there in a background worker. Nothing is sent to AroraTools or anyone else, which makes it safe for contracts, private notes and unreleased code.
Is it free? How big can the texts be?
It is free with no sign-up. Files can be up to 50 MB each. Texts of several thousand lines compare in well under a second on a typical laptop; very large or completely different files take longer and use more memory.
Does it work on a phone or offline?
Yes. On a phone it starts in the unified view, which fits a narrow screen better. Once the page has loaded, comparing keeps working without an internet connection.
What is the difference between side by side and unified?
Side by side puts the original on the left and the changed version on the right, row by row. Unified shows one column, listing each removed line with a minus followed by its replacement with a plus, like a Git diff.
What counts as a “changed” line?
A removed line and an added line that are clearly versions of each other (they share much of their text) are shown together as one changed line, with the edited words highlighted. Lines with little in common are counted as one removal and one addition.
Can I compare Word or PDF files?
Not directly. Open them, copy the text, and paste it into the two boxes. Plain text files such as .txt, .csv, .json, .html and source code can be opened or dropped straight in.
Page last reviewed
