Guide · Data Tools / Text & Writing
About Word & Phrase Inline Diff
Compare two text drafts token-by-token to highlight inserted words, removed phrases, and overall Jaccard/sequence similarity percentage.
When to use this tool
Ideal for reviewing copy edits, contract clause revisions, or essay rewrites where line-based code diffs are too coarse.
How to use Word & Phrase Inline Diff
- Paste the baseline copy into Original Text.
- Paste the updated copy into Revised Text.
- Run the diff to inspect added [+word+] and deleted [-word-] markers alongside change counts.
Supported inputs, options, and outputs
- Inputs: Original Text and Revised Text strings.
- Output: Annotated inline diff transcript plus insertion, deletion, and similarity metrics.
Accuracy notes and limitations
- Word tokenization splits on whitespace boundaries, so minor punctuation edits mark the attached word as changed.
- Very long documents (tens of thousands of words) take proportionally longer to compute optimal LCS alignments in a single browser thread.
Privacy and browser processing
All text transformations run strictly in browser JavaScript without sending pasted drafts, identifiers, or transcripts to IJM servers. Hosted pages load cookie-free Vercel Web Analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Data Tools.