Developer utility

Text Diff Checker

Compare two text blocks line by line. Differences are calculated locally and shown with text labels, not color alone.

Import original file
No file selected
Import modified file
No file selected

Line endings CRLF and CR are normalized to LF. Whitespace is compared exactly unless an option below is selected. Each input is limited to 400 lines and 20,000 characters. File imports are explicit, local, and strict UTF-8.

Comparison options

Comparison summary

Compare two inputs to see line counts.

No comparison yet.

How to use Text Diff Checker

This tool uses a deterministic longest-common-subsequence comparison of normalized lines. It preserves original text for display, while optional whitespace, case, or blank-line rules affect only matching. Added and removed lines are labeled explicitly; adjacent removals and additions are summarized as changed lines and change blocks.

The download is a human-readable +/- comparison for inspection, not a patch-compatible unified diff: it does not include file headers or @@ hunk metadata. This is not a semantic document, binary, folder, or programming-language comparison. Inputs are bounded to keep the quadratic LCS table predictable, and very large line products are rejected rather than processed without limit. Processing is designed to stay local; do not paste sensitive material, and note that runtime privacy verification remains a release gate.

Frequently asked questions

Are spaces and line endings ignored?

Line endings are normalized to LF, but whitespace within each line is compared exactly. A trailing newline can create a final empty line.

Does this compare meaning or code behavior?

No. It compares bounded text line by line and does not parse programming languages, documents, or semantic changes.

Related tools: JSON Formatter & Validator and Regex Tester.