InTab

Diff Finder

Compare two texts or JSON documents line by line or word by word.

Formatters: Pretty-print, minify, validate and compare. It runs in your browser, so nothing you enter is uploaded.

What it does

The Diff Finder compares two versions of a text, code or JSON and shows exactly what was added, removed or changed. You can compare line by line, word by word or character by character, and view the result side by side or as a single unified list.

How to use it

  1. Paste the old version into Original and the new version into Changed (or click Load sample).
  2. Click Compare.
  3. Choose the detail: Lines, Words or Chars.
  4. Choose the view: Side by side or Unified.
  5. Use Swap to reverse the direction, or Edit to go back and change the texts.

Example

Original:

Delivery within 5 working days.
Payment due in 30 days.

Changed:

Delivery within 3 working days.
Payment due in 14 days.
Prices include VAT.

Word by word, the diff marks 5 → 3 and 30 → 14, and shows the last line as added.

Good to know

  • Lines is best for code and configuration, Words for documents and contracts, Chars for IDs, keys and short strings.
  • To compare JSON reliably, first format both sides with the same settings in the JSON Formatter, with Sort keys on, so only real differences show.
  • For prose, the Text Diff Checker opens with word-level comparison already selected.

FAQ

Can it ignore whitespace changes? Formatting both texts the same way first gives the cleanest result.

Are my documents uploaded to compare them? No, the comparison runs in your browser.

More Formatters tools

  • JSON Formatter: Beautify, minify, validate and sort JSON. Handles escaped/stringified JSON.
  • XML Formatter: Beautify, minify and validate XML documents.
  • SQL Formatter: Format SQL for MySQL, PostgreSQL, T-SQL, SQLite and more.
  • Text Diff Checker: Paste two versions of a text and see exactly which words changed.
  • JSON Validator: Check JSON is valid and see the exact line, column and a fix hint when it is not.
  • JavaScript Formatter: Beautify minified or messy JavaScript with your choice of indentation.
  • JavaScript Minifier: Minify JavaScript with Terser: compress, shorten names and see the size saved.
  • HTML Formatter: Indent and tidy HTML, or minify it for production.
  • CSS Formatter: Beautify CSS with one rule per block and consistent indentation.
  • CSS Minifier: Minify CSS with CSSO: remove whitespace, merge rules and shorten values.
  • YAML Formatter: Validate and re-indent YAML, keeping comments, with optional key sorting.