Data · Text & JSON

Side-by-Side Diff Checker

Paste two snippets to see line-by-line additions and removals. JSON mode parses and pretty-prints both sides first, so key order and indentation noise disappears.

OriginalModified
Is my text or JSON uploaded anywhere?

No. Parsing, normalization and diffing all run in your browser with plain JavaScript — nothing is sent over the network, so pasting production config or secrets is safe.

How does JSON mode differ from plain text mode?

JSON mode parses both sides and re-serializes them with two-space indentation, so formatting-only differences vanish. With “Sort JSON keys” enabled, object keys are ordered recursively, which means only real value changes are highlighted. If either side is not valid JSON, the error is reported and the raw text is diffed instead.