Prompt Diff — For Fine-Tuning Datasets
Compare two prompts side-by-side with word-level diff highlighting. Shows added/removed words plus the token count delta — useful when iterating on a prompt and you need to confirm a change shrank or grew the token budget. Built on the same Myers algorithm git uses.
How to use the Prompt Diff — For Fine-Tuning Datasets
Paste two prompt versions. The diff highlights word-level changes and reports the character / estimated-token delta. For exact token counts, run each version through the OpenAI Token Counter separately.
Seeing what changed between two prompts
Prompt engineering is iterative: you tweak a wording, add a constraint, drop a sentence, and rerun. After a few rounds it's hard to remember exactly what changed between the version that worked and the one that didn't — and small edits can quietly push the prompt over a token budget.
This diff compares two prompt versions with word-level highlighting, marking what was added and removed, and reports the character and estimated-token delta so you can see at a glance whether a change grew or shrank the prompt. It uses the same Myers diff algorithm git relies on. For an exact token count of either version, run it through the OpenAI token counter.
Common use cases
- Prompt iteration — confirm exactly which words changed between two attempts.
- Token budgeting — check whether an edit grew or shrank the prompt size.
- Reviewing edits — see a teammate's prompt change as a clear added and removed diff.
- Regression hunting — compare a working version against one that started failing.
- Documenting changes — capture what a prompt revision actually altered.