Spot what actually changed between two prompts.
How to use Prompt Diff
Paste the original prompt. Put the earlier version in the Before box.
Paste the new prompt. Put the changed version in the After box.
Read the summary line. See the percent unchanged and the counts of words added and removed.
Review the highlighted diff. Removed text is struck through and added text is highlighted. The diff updates as you edit either box.
Limits and privacy
- The diff is word-level, using a longest-common-subsequence algorithm. Whitespace runs count as their own tokens, so whitespace-only changes are highlighted too.
- If either text splits into more than 4,000 tokens (words plus whitespace runs), the tool skips the detailed diff and shows a coarse comparison: the whole before text as removed and the whole after text as added, unless they are identical.
- Added, removed and unchanged counts ignore whitespace. The percent unchanged is unchanged words divided by the larger of the two word counts.
- Comparison runs in your browser. Nothing is uploaded.
Frequently asked questions
How do I compare two versions of a prompt?
Paste the old prompt in Before and the new one in After. The diff shows exactly which words were removed and added.
Does it diff by line or by word?
By word, with whitespace tracked as separate tokens, so small edits inside a long line are visible.
Why does my long prompt show a coarse comparison?
Above 4,000 tokens the exact algorithm is skipped to keep the page responsive, and the tool shows the whole text as removed and added instead.
Is my prompt stored or sent anywhere?
No. The comparison runs in your browser.