Text Diff Checker: Compare Two Texts Online
Paste two versions of a text and see exactly what changed. This free diff checker online compares your texts line by line and highlights added, removed and changed lines — with the changed words inside each line marked too. Switch between a side-by-side view and a single-column inline view, and read the counts at a glance. It handles emoji, accented letters and other scripts, and it works on Windows, Mac and Linux line endings alike.
Paste the original text on the left and the changed text on the right.
How to use it
- Paste the original text into the first box — the earlier version of a document, a paragraph or a list.
- Paste the changed text into the second box.
- Read the diff. Added lines, removed lines and changed lines are highlighted, and the changed words inside a changed line are marked. Counts above the result show how many lines were added, removed, changed and left unchanged.
- Switch views. Side-by-side lines the two versions up in columns; inline shows one column in reading order. Use the swap button if you pasted them the wrong way round.
- Ignore what does not matter. Tick “ignore whitespace” to skip spacing changes, or “ignore case” to skip capitalisation changes.
Tips and limits
- Line-based: the diff compares whole lines first, then highlights the changed words inside lines that were replaced. A single changed word still marks its whole line as changed, so you can spot it fast.
- Line endings: Windows (CRLF) and Mac/Linux (LF) line endings are treated the same, so a file copied between systems does not show every line as changed.
- Unicode and emoji: comparison works on lines and words as typed, so emoji, accented letters and other scripts compare correctly.
- Blank lines count: an added or removed blank line is a real change and is shown as one. Tick “ignore whitespace” if blank-line changes should not count.
- Very large texts: pastes over about 1 MB, or texts with many thousands of lines, may take a moment. For very long documents, compare them section by section.
- What it is not: this is a text comparison, not a file merge tool. It shows differences; it does not write a merged file.
Frequently asked questions
How do I compare two texts online?
Paste the original text in the left box and the changed text in the right box. The diff appears at once: added lines, removed lines and changed lines are highlighted, with a count of each.
What is the difference between side-by-side and inline diff?
Side-by-side shows the original and changed texts in two columns, aligned row by row. Inline shows a single column: removed lines first, then added lines, in reading order.
Does the diff checker work with emoji and other languages?
Yes. The diff works line by line on text as you typed it, so emoji, accented letters and other scripts are compared correctly.
Are my texts uploaded anywhere?
No. The comparison runs entirely in your browser. Your texts never leave your device, and nothing is stored.
Your texts are compared in your browser only. FileBench does not upload, store or see what you paste.