Free · Runs in your browser · Side-by-side or unified

Diff Checker

Compare two files or snippets and see exactly what changed.

Original
Changed

Frequently asked questions

Is my code uploaded anywhere?

No — the comparison runs entirely in your browser. Neither file is sent to a server.

What's the difference between side-by-side and unified view?

Side-by-side shows both versions in two columns, aligned line by line — good for spotting exactly what changed on each side. Unified view shows a single column with +/- markers, closer to what you'd see in a git diff or patch file.

What does word-level highlighting do?

For lines that were modified (not purely added or removed), it highlights exactly which words changed within the line, rather than just marking the whole line as different.

Can I compare whole files, not just pasted text?

Yes — use the "Upload file" button on either panel to load a file's contents in, then edit or compare as normal.

Does this work for any file type?

It works on any plain text — code in any language, config files, JSON, markdown, prose. It's a text diff, not a language-aware one, so it won't understand code structure, just line and word differences.