Character-level diff: highlights individual changed characters. Best for short text and catching typos.
Automatic: character comparison for short lines (≤400 chars), word comparison for long lines (JSON, code, URLs).
Word/token-level diff: highlights changed words and tokens. Best for JSON, code, and long lines.