Compare Text Line by Line
See which lines were added, removed, or changed. Changed lines also highlight the exact words that differ, so you can spot small edits quickly.
Compare two texts and see every difference highlighted line by line, word by word or character by character. Fast, free and no signup.
Everything happens in your browser. Your text and files are never uploaded or stored.
Paste or type the original and the changed text, or upload two text files.
Compare by lines, words or characters, and ignore case or spaces if you like.
Added text is green and removed text is red. Copy the result in one click.
Looking for a free text diff checker? Compare two pieces of text and see exactly what changed between them. Paste an original and a changed version, and the tool highlights every added and removed line, word, or character. You can view the result side by side or inline, ignore differences in case or spacing, and copy the diff with one click. Everything runs in your browser, so your text is never uploaded, and there is no signup or watermark.
See which lines were added, removed, or changed. Changed lines also highlight the exact words that differ, so you can spot small edits quickly.
Switch to word or character mode to compare running text such as paragraphs, sentences, and short snippets, where line breaks do not matter.
Added text is shown in green and removed text in red, with line numbers and a summary of how many lines or words changed.
You do not need to install a diff program to find the differences between two texts. Use the online text diff checker by following these simple steps.
The result updates automatically as you type. You can compare up to 500,000 characters on each side, and uploaded files can be up to 2 MB.
In the side-by-side view the original text is on the left and the changed text is on the right, so you can read both versions at the same time. The inline view shows one column, with removed lines marked by a minus sign and added lines marked by a plus sign, which suits narrow screens and long lines.
A diff shows the differences between texts, so a change that moves a paragraph to another place appears as one removal and one addition rather than as a move.
Our free text diff checker makes it easy to compare two texts and see every change in seconds. Paste your texts, pick a comparison mode, and review the highlighted result. The tool is designed for convenient text comparison without signup or a watermark, and it works on desktop and on mobile browsers.
Find answers to common questions about comparing two texts and reading the differences.
Paste the original text into the first box and the changed text into the second box. The differences appear below right away, with added text in green and removed text in red.
Red marks text that exists in the original but not in the changed version, so it was removed. Green marks text that exists only in the changed version, so it was added. Text without color is the same in both.
Line mode compares whole lines and also highlights the changed words inside each changed line. Word mode compares the text word by word and ignores where the lines break. Character mode compares every single character, which is useful for short strings.
Turn on Ignore case to treat uppercase and lowercase letters as the same, and Ignore whitespace to ignore differences in spaces, tabs, and extra spaces at the start and end of lines.
Side by side shows the original on the left and the changed text on the right. Inline shows a single column where removed lines start with a minus sign and added lines start with a plus sign. Inline is easier to read on a phone.
Yes. Click Upload file above each box to load a text file, such as a TXT, CSV, JSON, HTML, CSS, JS, PHP, or Markdown file, with up to 2 MB per file. Binary files such as images, PDFs, and Word documents are not supported.
Yes. Line mode works well for code and configuration files, and changed lines highlight the exact words that differ. Use Show only changes to hide long stretches of unchanged code.
It hides long runs of unchanged lines and keeps a few lines of context around each change. You can click a gap to show the hidden lines again.
You can compare up to 500,000 characters in each box, and uploaded files can be up to 2 MB. Character mode works best for texts up to about 30,000 characters. For larger texts, use line or word mode.
When two texts share almost nothing, a detailed comparison would be slow, so the tool shows the whole original as removed and the whole new text as added. Try comparing smaller parts, or use word mode.
No. The comparison runs in your browser, and your text and files are not uploaded or stored.
Yes. You can compare texts online for free, with no signup and no watermark.
Merge, split, compress and convert files in seconds. Explore everything in one place.
All Tools