Prompt Diff
Compare two prompts or texts and see word-level and character-level differences highlighted, entirely in your browser.
Enter text in both fields to see the diff.
How to use
- Put the original text on the left and the revised text on the right.
- Choose the diff unit: words, characters or lines.
- Additions appear in green, removals in red, with counts and a similarity percentage.
Notes
The diff is computed in your browser with the diff library; your texts are never sent to a server. Similarity here means unchanged units divided by the larger text's unit count — a surface-level measure of how much changed, not of meaning.
FAQ
- Which unit is best for comparing prompts?
- Words for sentence-level edits, characters for fine wording tweaks, and lines for spotting added or removed instructions.