Text Diff Checker
Compare two texts line by line and spot every change
Enter text in both boxes above to see the differences…
The comparison runs line by line, entirely in your browser. Nothing is sent or stored anywhere.
About this tool
When a document goes through revisions, a contract, an essay, a config file, reading both versions top to bottom to find what changed is slow and error-prone. The JoliTools text diff checker compares your two texts line by line and highlights exactly what was added, removed, or left untouched, the moment you paste them in.
Added lines appear in green and removed lines in red in a familiar unified view, with a live count of added, removed and unchanged lines up top. An optional whitespace-insensitive mode lets you compare meaning rather than formatting, and the swap button flips the comparison direction with one click.
How to use the text diff checker
- 1Paste the original version of your text into the left box.
- 2Paste the modified version into the right box.
- 3Watch the line-by-line diff highlight added (green) and removed (red) lines live.
- 4Optionally tick “Ignore leading/trailing whitespace” to compare content only.
- 5Use “Swap texts” to reverse the comparison direction.
Good to know
Unlike server-side diff tools, everything happens locally in your browser with plain JavaScript, no uploads, no accounts, no waiting. Drafts, source code, legal text and private notes stay on your device while you review every difference.
Frequently asked questions
Related tools
More free tools you might find useful.
Word Counter
Count words, characters, sentences and reading time live
Text ToolsRemove Duplicate Lines
Delete repeated lines instantly, live.
Text ToolsMarkdown Preview
Write Markdown and watch it render live, side by side
Developer ToolsText to Speech
Hear any text read aloud in your browser.
Text ToolsPart of Text Tools on JoliTools, free tools, no sign-up.