Developer

Diff Checker

Compare two versions of a config, a prompt, a dataset row or a model card. Differences are shown side by side or inline at line or word granularity; JSON mode formats both documents first so only real changes show; the result exports as a unified diff.

Loading the tool…

How it works

01

Paste both sides

Or drop two files. Whitespace and case can be ignored.

02

Choose granularity

Lines for code and configs, words for prose and prompts, characters for short strings.

03

Export

Unified diff text, or an HTML snippet of the coloured view.

Formats, limits and the numbers that matter

JSON and YAML mode

Both sides are parsed, key-sorted and pretty-printed with the same indent before diffing, so formatting differences disappear.

Algorithm

Myers diff, the same as git; large inputs are diffed in a worker.

Privacy

Nothing leaves the page, which matters for prompts and configs with keys in them.

Common questions

Can it diff two JSONL files row by row?

Yes; JSONL mode pairs rows by index or by a key you choose.

Three-way merge?

Not here; two sides only.

Binary files?

No; text only.