html69// dev utilities

Diff tool

Text Diff Checker

A text diff that is also a JSON diff checker. Paste original and changed, or drop files, then copy a unified patch. Nothing leaves your device.

Like the tool? Find a bug?Share with us

Diff checker

Paste original (left) and changed (right) text, or drop files. Line-by-line text diff. Copy a unified patch when you are done.

Supported files: .txt, .json, .md, .csv, .html, .htm, .js, .ts, .css, .yaml, .yml, .xml, .diff, .patch
0 / 50,000
Supported files: .txt, .json, .md, .csv, .html, .htm, .js, .ts, .css, .yaml, .yml, .xml, .diff, .patch
0 / 50,000

Unified diff

The unified diff will appear here.

Guide

How this text diff checker works

01

Two sides, one patch

Original on the left, changed on the right. A rose − line exists only in original. A green + line exists only in changed. The checker then builds a unified .patch you can copy or download.

02

JSON is not just text

JSON mode parses both sides, sorts object keys, and pretty-prints before the diff. Key order alone is not a change. Invalid JSON stays listed on that side.

03

Runs in your tab

Paste, drop, and copy stay in the browser. Each side is capped at 50,000 characters so a huge dump cannot freeze the page.

Use it

What to paste

Plain text, logs, HTML, or JSON. Use Sample for a short text diff, or JSON for two objects with shuffled keys. Ignore space treats extra whitespace as equal. Swap flips the two sides.

FAQ

Questions

Does this upload my text?

No. The diff check runs in this tab. There is no account and no API call. Files stay on your device.

Text or JSON?

Text compares lines as written. JSON parses both sides first so a key moved in the object is not a diff. If a side is not valid JSON, fix it and the checker runs again.

Which file is a highlighted line from?

Rose lines with − are only in original (the left pane). Green lines with + are only in changed (the right pane). The two line-number columns match those panes: original on the left, changed on the right.

What is the unified patch?

A diff -u style file with ---, +++, and @@ hunks. Copy it into git, a review, or a .patch download.

Is there a size limit?

Each side is capped at 50,000 characters so a huge dump cannot freeze the tab.