SYSTEM TIME --:--:-- IST · 152 TOOLS LIVE · RUNS IN YOUR BROWSER — NOTHING UPLOADED
← Back to DEVELOPER
DEVELOPER

Text Diff Checker

Compare two blocks of text and see what changed, line by line.

About this tool

This tool compares two blocks of text line by line and highlights what was added, removed, or left unchanged — the same idea as a code diff, run entirely in your browser with no text sent anywhere.

It is useful for comparing two versions of a config file, checking what changed between drafts of a document, or spotting a small edit buried in a large block of text that would be tedious to review by eye.

The comparison is line-based using a longest-common-subsequence approach, so it works best on text that is naturally split into lines (code, lists, paragraphs with line breaks) rather than a single unbroken paragraph, where it will treat the whole thing as one line.

Frequently asked questions

Does this compare word-by-word or line-by-line?

Line by line. For best results, make sure each logical unit (a sentence, a config entry, a line of code) is on its own line in both boxes.

Is my text uploaded anywhere?

No — the comparison runs entirely in JavaScript in your browser using a standard diff algorithm. Neither block of text is sent to a server, which matters if you’re comparing something sensitive like a contract draft or a config file with credentials in it.

Can I compare two files directly?

This version accepts pasted text only. Copy the contents of each file into the two boxes.

Related tools