Text Diff Checker

Paste two versions and see exactly what changed.

FreeNo sign-upRuns in your browser

Compare

lines
Original
Changed

Differences

Paste two texts to compare them

How to use it

  1. Paste both versions

    Put the old text on the left and the new text on the right.

  2. Pick how to compare

    Lines, words or characters. Ignore case or spaces if they are not real changes.

  3. Read the highlights

    Green is new, red with a line through it is gone. The counts show how big the change is.

This text diff checker compares an old and a new version and highlights every addition and deletion. Compare by line for code and lists, by word for articles and contracts, or by character for short strings. It runs in your browser, so drafts and private files stay on your device.

When a diff checker helps

Edited drafts

See what an editor or a teammate changed in your article without hunting through it line by line.

Contracts and terms

Compare two versions of an agreement. A single changed word, such as "may" to "must", is easy to miss by eye.

Code and config

Check what differs between two config files or two copies of a script before you deploy.

Prompts

Working on an AI prompt? Compare version one and version two to see which wording change moved the result.

Common questions

How does the comparison work?
The tool finds the longest run of text the two versions share, then marks everything else. Green is text that was added in the new version, red with a line through it is text that was removed from the old one.
Should I compare by lines or by words?
Compare by lines for code, lists and config files. Compare by words for articles, emails and contracts, where a small edit inside a sentence matters. Characters mode is best for short strings such as names or codes.
Are my texts uploaded?
No. Both texts stay in your browser and the comparison runs on your device. That makes it safe for drafts, contracts and private code.
Can I ignore capital letters or extra spaces?
Yes. Turn on Ignore case to treat "Hello" and "hello" as the same, and Ignore whitespace to skip differences in spaces and tabs.
Is there a size limit?
Each text can be up to about 3,000 lines, words or characters per side in the chosen mode. Beyond that the page would slow down, so split a very large file and compare it in parts.

More free tools

All free tools
JSON Formatter and Validator

Paste JSON to format, check or minify it. Shows the line and column of any error.

Runs in your browser
Word & Character Counter

Analyze text with real-time word, character, sentence, paragraph, and reading time statistics.

Runs in your browser
Text Case Converter

Switch text to upper, lower, title, sentence, camel, snake or kebab case.

Runs in your browser
Robots.txt Generator

Build and validate syntax-correct robots.txt files with custom user-agent crawl directives and sitemaps.

Runs in your browser