DEVELOPMENT · FREE, NO SIGN-UP

Compare text or JSON

Find differences between versions, line by line or with sorted JSON keys.

Maximum 100,000 characters per text.

JSON mode sorts object keys but preserves array order. String values are unchanged. The comparison displays formatted JSON.

Compare text or JSON: how it works

Compare two versions of text or JSON and find added and removed lines. JSON mode sorts object keys so you can focus on changes to values; array order is preserved. Processing takes place in your browser.

  1. Paste the original and modified content.
  2. Choose Text or JSON. Text mode can ignore whitespace differences.
  3. Compare, review lines marked with + and −, and download the result.

Frequently asked questions

What is normalized?

Text line endings are normalized. The whitespace option trims each line and collapses spaces and tabs. JSON mode ignores indentation and object key order, but preserves array order.

Are there limits?

Each input supports 100,000 characters and 1,500 lines, with at most two million line combinations. JSON supports 100 levels. The browser parser keeps the last duplicate key and can round very large numbers: use strings for long identifiers.