Developer tools
Text diff
Paste two texts to compare them and see exactly what changed - added, removed, and modified lines, with the differing words highlighted. Everything runs in your browser - nothing is uploaded.
How it works
Paste the original text on the left and the changed version on the right, and the tool compares them line by line and shows exactly what is different. Removed lines are marked in red, added lines in green, and lines that were edited are paired up so you can read the before and after together. Inside an edited line the individual words that changed are highlighted, so you can spot a single renamed variable or a reworded sentence at a glance rather than scanning the whole line. The comparison updates live as you type or paste, with no button to press.
Choose a side-by-side view to see the two versions in aligned columns, or a unified view that stacks the changes into a single column the way a code review or git diff does. Options let you ignore case, trim whitespace from the ends of each line, or ignore whitespace entirely, which is handy when only indentation or trailing spaces changed. Everything runs in your browser, so the two texts are never uploaded, logged, or stored, making it safe to compare private documents, contracts, or source code.
Example. Paste two versions of a paragraph where one word was swapped and a line was added. The tool keeps the unchanged lines plain, highlights just the swapped word inside the edited line, and shows the new line in green with a plus in the unified view. Switch on "Ignore all" whitespace and a copy that only reindented some lines shows no differences at all.
FAQ
How does the text comparison work?
The tool splits both texts into lines and finds the longest run of lines they have in common, then marks the rest as added or removed. When a removed line is followed by an added line it treats them as an edit and pairs them so you see the old and new side by side, with the exact words that changed highlighted. It is the same kind of line diff used by version control tools, run entirely in your browser.
What is the difference between the side-by-side and unified views?
Side by side shows the original and changed texts in two aligned columns, which makes it easy to read each version on its own and see edits line up. Unified stacks everything into one column, with removed lines marked by a minus and added lines by a plus, the way a git diff or code review reads. Both show the same differences; pick whichever is easier to follow for your text.
Can I ignore case or whitespace differences?
Yes. Turn on "Ignore case" to treat upper and lower case as the same, so Hello and hello no longer count as different. The whitespace control offers three modes: compare exactly, trim the leading and trailing spaces from each line, or ignore whitespace completely. Ignoring whitespace is useful when only the indentation or trailing spaces changed and you want to focus on real edits.
Are my texts sent anywhere?
No. The whole comparison happens locally in your browser as you type. Neither text is uploaded, logged, or stored on a server, so it is safe to diff sensitive material such as private documents, legal text, or proprietary source code.