Online Diff Checker

Compare two text blocks and highlight every added or removed line.

Processed locally — nothing is uploaded

About Online Diff Checker

Comparison is line by line, so an edited line reads as one removal plus one addition rather than a character-level patch. That suits config reviews and copy revisions, where which lines changed matters more than which characters did.

Compare two blocks of text side by side and highlight every line that was added, removed or changed. It is the fast way to review edits to copy, configuration files, code snippets, contracts or any two versions of a document without installing a desktop diff tool.

Paste the old version on one side and the new on the other for a colour-coded breakdown of exactly what moved. A reordered block shows as a deletion plus an insertion rather than a move, which is worth knowing before reading a long diff.

Learn how this works

Frequently asked questions

Is my text uploaded to compare it?

No. Everything runs locally in your browser using standard web APIs — your text, files and inputs are never uploaded to a server, so the tool works even offline once the page has loaded.

Can it compare code and config files?

Yes — it works on any plain text, including source code, JSON, YAML, logs and prose. It compares line by line and marks each difference, with added lines highlighted in green, removed lines in red, and modified lines shown side-by-side. This makes it ideal for code reviews before committing to version control, reviewing configuration changes in production environments, or auditing changes to deployment scripts. The line-by-line granularity catches all structural changes while remaining readable for both code and human-readable formats.

Does it do word-level differences?

It highlights changes at the line level, which is the clearest view for most reviews. Lines that differ are marked as added or removed, making it easy to spot which entire lines were added, deleted, or modified between the two versions. While word-level diffs can sometimes obscure the overall structure of changes, line-level comparison gives you the context you need to understand the scope of modifications. For text and code reviews, line-level comparison is typically the best balance between detail and readability, especially when tracking changes across multiple sections of a file.

More Online Diff Checker tools

Related tools