>_
DIFF

Text Diff

Compare two texts or code snippets and highlight the differences by line, word or character. Ideal for comparing prompt versions, AI rewrites, config files and JSON.

Runs locally — your input never leaves this page.

Differences
 

How to use

  1. Paste the original text on the left and the changed text on the right.
  2. Choose the granularity: lines (for code), words (for prose) or characters (for small edits).
  3. Added text is green and removed text is red. Optionally ignore whitespace or letter case.

FAQ

Can I compare two prompts or AI outputs?

Yes — word mode works well for seeing exactly what an AI rewrite changed, or how two versions of a prompt differ.

How do I compare JSON with different key order?

Run both through the JSON Formatter with “Sort keys” enabled first, then compare the results here.

Report a bug or suggest a feature →