inyourbrowser.com

Compare Two Texts

Paste two versions of any text and see them compared column by column with added, removed, and unchanged lines clearly marked. Useful for proofreading edits, reviewing translations, and checking config differences. All processing runs in your browser.

Original
Drop a text file or click to choose
Updated
Drop a text file or click to choose
+ 0 added0 removed= 0 unchanged
Original
Updated
Paste text in both panes above to see the diff.

ACTIONS

Runs entirely in your browser

How it works

The diff algorithm runs in a Web Worker inside your browser, so the page stays responsive even for large files. All processing runs locally.

Processing runs in your browser

All diffing is done locally using browser APIs. Our servers are not involved at any point.

Frequently asked questions

Can I compare any kind of text?
Yes. Paste prose, code, configuration, logs, or any other text. The diff algorithm works on lines and words, so it handles any content your browser can display.
How accurate is the comparison?
The diff uses a well-tested line-based algorithm with word-level highlighting inside changed lines. Every difference is reported, none are skipped.
Is there an input size limit?
The limit is your browser's memory. Files of several megabytes diff in a few seconds. Very long inputs are handled by a Web Worker so the page stays responsive.
Is my text sent to a server?
All diffing runs in your browser using JavaScript. Our servers are not involved at any point.

Related operations

For making the same change everywhere in one file, try find and replace. To put both inputs in matching order before comparing, use sort lines. For diffing two JSON payloads after pretty-printing, see the JSON formatter.

Related tools

Word counter
Count words, characters, sentences, and paragraphs. All processing runs in your browser.
Readability checker
Flesch reading ease, grade level, and estimated reading time. Paste any text and see the score.
Case converter
Convert text between camelCase, snake_case, kebab-case, PascalCase and more.
Find & replace
Find and replace text with plain search or regular expressions. Supports case-sensitive and whole-word matching.