Text compare & diff
See exactly what changed between two versions of your text, right in your browser. Nothing is uploaded.
Files are processed in your browser and never uploaded.
How to use Text compare & diff
Add your text
Type or paste your text into the input box. Everything is handled by your own browser, so nothing is sent to a server.
Set the options
Choose Ignore case and Ignore whitespace. The options are visible from the start, not hidden until you paste something.
Run it and keep a copy
Press Compare them, Don to produce the result. Copy diff puts the result on your clipboard and Download diff saves it as a file.
What this tool does
Line-by-line comparison
Paste the two versions and the differences are highlighted line by line, so you can see exactly what moved and what changed.
Ignore case when it does not matter
Ignore case stops a capitalisation change being reported as a difference, which is usually noise rather than signal.
Ignore whitespace differences
Ignore whitespace skips indentation and trailing spaces, which is what makes a reformatted file look completely rewritten.
Both versions side by side
Original and changed sit next to each other, so the diff can be read in context rather than as a list of line numbers.
Download the diff
Save the comparison as a file to attach to a ticket, a review or an email.
Runs fully in your browser with no upload and no sign-up
Both versions stay in your browser. Nothing is uploaded and there is no sign-up.
Frequently asked questions
Is my text uploaded anywhere?
No. Both texts are compared entirely in your browser and are never sent to a server.
How does the comparison work?
It compares the two texts line by line and finds the smallest set of changes. Lines only in the original are marked as removed in red, lines only in the changed version are added in green, and matching lines are shown in grey.
What do Ignore case and Ignore whitespace do?
Ignore case treats capital and small letters as the same, and Ignore whitespace ignores differences in spaces and tabs, so only real content changes show up. Your original text is still displayed unchanged.
Can I save the differences?
Yes. After comparing you can copy or download the diff, where added lines start with a plus, removed lines with a minus, and unchanged lines are indented.
Does it compare word by word?
The comparison is line by line, which is clear and fast for documents, lists and code. A whole line that changed shows as one line removed and one added.
Is there a size limit?
Each side can be up to about 4000 lines. Larger texts are better compared in smaller sections so your browser stays responsive.
Last updated: