An edited sentence (by words)
The quick brown fox. vs The slow brown fox!: quick → slow and . → ! — 2 words added, 2 removed.
Compare two texts and highlight what was added, removed or changed, line by line or word by word.
Runs in your browser — nothing you enter is sent to a server.
Paste the original and the changed version, then select Compare texts. Added text is marked with + and highlighted in green; removed text is marked with − and highlighted in red. Choose Lines for documents, lists and code, or Words to see exactly which words changed inside a paragraph.
The comparison uses the Myers diff algorithm — the same approach as git diff — which finds the smallest set of additions and deletions that turns one text into the other. Both texts stay in your browser; nothing is uploaded, so it's safe for contracts, drafts and private code.
The quick brown fox. vs The slow brown fox!: quick → slow and . → ! — 2 words added, 2 removed.
one, two, three vs one, 2, three, four (one per line): 2 lines added, 1 removed, 2 unchanged.
In line mode, a line is the smallest unit: any change inside it removes the old line and adds the new one. Switch to Words to see the exact change within the line.
Yes. Ignore case treats “Hello” and “hello” as equal; Ignore spacing ignores extra, leading and trailing spaces. Unchanged parts are shown as they appear in the changed text.
Long texts are fine when they are mostly similar. If the two versions differ in more than 2,000 places, the tool asks you to compare smaller sections, so your browser stays responsive.
Delete repeated lines from a list, keeping the first occurrence and the original order.
Text Tools
Count words, characters, sentences and paragraphs as you type, with reading and speaking time.
Text Tools
Format, validate and minify JSON, with the exact line and column of any error.
Developer Tools
Also in Tools for Students and Tools for Writers.