No Sign-Up

See Exactly What Changed, Line by Line

Paste the before and after text. The diff runs locally in your browser and highlights added, removed, and modified lines as you type.

100% in-browserNo loginFree forever
Line-by-Line Diff+0 added · −0 removed · ~4 changed
1Server configuration guide v2.0.
2Port: 8443 (TLS enabled)
3Max connections: 2000
4Database driver: pgx v5 with pool metrics

What Line-Based Diff Can and Cannot See

This tool compares lines by position: line 1 with line 1, line 2 with line 2, and so on. It is excellent for configuration changes, copy edits, and small refactors where the structure stays stable. It is not a semantic diff: if you move a paragraph, it will report the old position as removed and the new position as added rather than recognising a move.

Character-level highlighting inside a changed line is intentionally omitted. Character diffs look impressive in demos but are hard to read in practice, especially for prose. If you need to know exactly which word changed, open both versions side by side in Photonix and use Ctrl+K AI diff, which shows word-level changes with accept/reject controls.

Whitespace matters. Trailing spaces, tabs versus spaces, and CRLF versus LF all count as differences. That is useful when debugging build scripts and painful when comparing prose. Normalise the inputs first if you only care about content, or use a tool that offers a "ignore whitespace" toggle.

Practical Uses: Config, Copy, Code Review

Configuration review is the strongest use case. Paste the old and new `nginx.conf`, `docker-compose.yml`, or `.env` file and scan for changed ports, volumes, and limits before applying. The positional view makes it obvious when a line was edited in place versus appended, which is exactly what you need for a rollback plan.

Copy editing benefits from line diff when the structure is stable. Paste the editor's revision and your original; changed lines show the edits, added lines show insertions. For long prose, review the diff in chunks rather than all at once, because a wall of amber rows is as unreadable as no diff at all.

Code review works best for small diffs. If the change spans hundreds of lines, use your repository's diff viewer, which understands file history and language syntax. This page is for the case where you have two text blobs and no repository: a vendor's config, a support ticket, a pasted stack trace, or a generated file.

Privacy and Data Handling

The comparison runs entirely in JavaScript in your browser. There is no API call, no server-side diff, and no analytics event that includes the text. The page can keep working after you disconnect from the network, which is a simple way to verify the claim.

That matters for contracts, incident reports, and unpublished drafts. Most free online diff tools upload both texts to a backend and return a rendered diff; convenient, but unnecessary for a computation this small. Line comparison is cheap enough to run locally on any device.

The page does not persist your text. Reloading clears the textareas unless your browser restores form state, which is a browser feature you can disable. If you need an audit trail of what changed, copy the result into your ticket or commit the before/after files to version control.

Reading a Diff Without Missing the Important Line

Read deletions before additions. Deletions tell you what capability disappeared; additions tell you what replaced it. Reviewers often skim green lines and miss a removed safeguard. In this viewer, red rows are deletions, green are additions, and amber marks in-place changes.

Check boundaries. A diff that starts or ends mid-block often means the paste was truncated. Scroll to the first and last changed line and confirm the surrounding context matches what you expected. If the boundaries look wrong, the comparison is not trustworthy.

For high-stakes changes, reproduce the diff twice: once with the original files and once with copies normalised to LF. If the result changes, whitespace or line endings are influencing what you see. That is useful information, not an inconvenience.

A Three-Pass Review Loop

Pass one is structural: scan for removed lines, moved blocks, and boundary problems. Do not read the new wording yet. The goal is to confirm that the shape of the document still matches your intent. Most serious mistakes, such as a deleted safeguard or a truncated paste, are visible at this level.

Pass two is factual: read every changed line that contains a number, a name, a date, or a link. Verify each one against the source of truth, not against the other version of the text. Two copies can agree with each other and both be wrong, which is exactly how a stale draft becomes a published error.

Pass three is stylistic: read the additions as prose and ask whether they belong in this document at all. A line can be correct, relevant, and still wrong for the section it landed in. If you find yourself rewriting more than a third of the additions, the diff is telling you that the revision needs a different approach, not more edits.

Frequently Asked Questions

Is the text I paste stored anywhere?

No. The diff runs in browser memory and the page does not persist your text. Refreshing clears the inputs unless your browser restores form state locally.

Does it highlight character-level changes?

Not on this page. It highlights changed lines. For word-level diffs with accept/reject controls, use Ctrl+K in Photonix or NexusNote, which compares the rewrite against your original text.

Can I compare very large files?

The textareas are practical for thousands of lines, not millions. For large files, use Photonix or your repository's diff viewer. Pasting millions of lines into a browser tab will freeze the tab long before the algorithm finishes.

Why does the diff show changes when the text looks identical?

Invisible differences: trailing spaces, tabs versus spaces, or CRLF versus LF. Normalise line endings and trailing whitespace, or use an editor that can display whitespace characters.

Continue Reading

100% Free Desktop App · Windows 11/10

Need more than the browser version? Try Photonix

Native performance, full file editing, SIMD search, and local Ollama — all offline. Includes 100 free cloud AI credits per day.