PromptDiff catches your forgotten edits

Fresh drop from r/PromptEngineering: a free tool that shows exactly what changed between two versions of a prompt. Its creator, u/VKTDEST, calls it PromptDiff. The reason behind the build is painfully familiar. They kept rewriting prompts and forgetting what they had actually changed.

I know that fog well. You tweak one line, add a rule, and suddenly the output shifts. So which edit did it? If you can’t answer that, you’re mostly guessing.

What’s new

PromptDiff takes two versions of a prompt and compares them word by word. The diff updates live. Added words show up in green, and removed words show up in red.

Think of it as tracked changes for your prompts. You no longer have to reread both drafts and hunt for the one phrase that moved.

Here’s what the author describes:

  • A live, word-by-word diff between two prompt versions
  • A similarity score
  • Counts for what was added, removed, and left unchanged
  • Token and cost estimates
  • 280 built-in examples to try
  • Fill-in test fields created automatically from {{variables}}
  • Free access with no account, and it works on a phone

The twist hides in the curly braces

I expected a plain text comparison, so the variable handling caught my eye. When a prompt contains something like {{audience}}, PromptDiff turns it into a test field you can fill in.

That matters because reusable prompts are really templates. A sentence can look fine with a placeholder sitting in it. Then you drop in actual text and it reads strangely. Filling the field is like trying on a jacket before you buy it.

The examples are a nice bonus. With 280 of them built in, you can poke around before pasting any of your own work.

A quick workflow to try

The creator shared features rather than a tutorial, so these steps are my suggestion for putting them to work.

  1. 📌 Paste your current prompt in as the first version. Leave it alone, because this is your baseline.
  2. ✏️ Paste a copy as the second version and make one focused edit. If you use variables, fill them with realistic sample text.
  3. 🔍 Read the diff. Make sure the green and red words match what you meant to change, with no accidental deletions.
  4. 🧪 Run both versions in your usual AI model with identical inputs. Compare the answers and write down which one wins.

Want something small to test with? Here’s a starting version:

Summarize this article in 5 bullet points for {{audience}}.

And here’s the rewrite:

Summarize this article in 3 bullet points for {{audience}}. Skip the introduction.

The diff should flag the swap from 5 to 3, plus the new sentence at the end. Notice that this pair sneaks in two edits. If the answer improves, you won’t know which one earned it. Split them into two rounds and you will.

Pro tips for cleaner iterations

  • Change one thing per round. If you swap the salt and the oven temperature together, a better cake teaches you very little.
  • Keep a simple change log. Note the edited words, the date, and what happened to the output.
  • Don’t read the similarity score as a quality score. Changing “always” to “never” is a tiny edit that reverses the instruction.
  • Check the token estimate after adding long examples. Then ask whether the extra length is worth paying for.
  • Run each version several times. Model outputs vary, so one great answer can be luck.

What a diff can’t tell you

A diff shows how the words changed. It doesn’t show whether the model behaves any differently. A three-word edit might transform the answer, while a full paragraph rewrite might change almost nothing.

That angle came up in the comments. u/ctenidae8 called the tool handy and mentioned building a test rig to check for behavioral differences between prompt changes. The commenter suggested that adding a diff tracker could make iteration much faster, thanks to a clean record of changes.

I like that pairing. One side records what you edited, and the other checks whether the edit mattered. You can copy the idea by hand with the change log and side-by-side runs above.

The post also leaves a few questions open. It doesn’t explain how the similarity score is calculated or which model prices drive the cost estimate. Treat both as rough guides, and confirm pricing with your AI provider.

It doesn’t say where pasted text goes, either. Until you know, keep client data, passwords, and private business details out of it.

Already comparing drafts another way? Google Docs can compare two documents, and git can show word-level differences between two files. Based on the post, the appeal here is the prompt-focused extras. You get variable fields, token and cost estimates, and ready-made examples in one place.

Give it a spin

Pick one prompt you rewrite often and take it through the four steps. You’ll find the tool’s link in u/VKTDEST’s original post on r/PromptEngineering. Check out the full discussion, then tell the creator what helped and what you’d add. 👇

I built a free tool to compare two prompts side-by-side – with a live word diff
by u/VKTDEST in PromptEngineering

Scroll to Top