Text Compare & Side-by-Side Diff Checker

Compare any text side by side: plain text, JSON, logs, code, configs, or pasted API responses. Tune comparison rules, then inspect line and word changes.

A โ€” original / before
B โ€” revised / after
Result
Nothing to compare yet

Add text in A and B, or load a sample. All string types use the same line diff โ€” JSON gets optional semantic normalization when both sides parse.

๐Ÿ“– How to Use

Paste the original version of your text into Box A. Paste the revised/new version into Box B. The differences will be highlighted automatically. You can switch between Split (side-by-side) and Unified views, customize rules (trim whitespace, ignore casing, normalize JSON), and jump between differences using the floating control bar or keyboard shortcuts.

๐Ÿ›ก๏ธ Why Use This Tool

Comparing codes, logs, or string files manually line by line is slow and error-prone. This tool automatically aligns lines and highlights word-level additions and deletions. JSON data can be normalized so that key order differences do not trigger false diff reports. Processes are executed client-side to keep your code private.

Frequently Asked Questions

When enabled, if both inputs contain valid JSON strings, the tool parses, sorts keys alphabetically, and pretty-prints them before comparison. This filters out formatting discrepancies and helps identify semantic content changes.