DevToolRoomLocal-first developer utility
Home / Detailed Text Diff

Detailed Text Diff Checker

Compare two blocks of text with stable line alignment and precise character-level highlights. Added, removed and changed content is easier to spot in code, JSON, configuration and documentation.

Stable line alignment

Inserted or deleted lines no longer make every later line look changed. Matching lines stay aligned while additions and removals receive their own row.

Character highlights

When two corresponding lines differ, the changed characters are highlighted inside each line. The result keeps the old and new text visible side by side.

Accessible output

Plus, minus and tilde markers supplement colour, and the mobile layout stacks the old and new cells so the comparison remains readable on a phone.

Frequently asked questions

Does it compare individual characters?

Yes. The tool first aligns lines and then highlights changed graphemes inside changed line pairs. Long inputs use a safe coarse fallback to keep the browser responsive.

Can I compare JSON?

Yes. Format both JSON blocks first, then compare them to make structural and value changes easier to inspect.

Is my text uploaded?

The comparison runs in your browser. Do not paste secrets into any web page unless you understand the surrounding browser, extension and third-party risks.