PromptBranch

Local-first prompt versioning

Version control for your AI prompts

A local-first prompt library for your desktop: organize, version, evaluate, and share the prompts you rely on.

The PromptBranch desktop app in dark mode: a prompt library with tagged, versioned prompts, the editor, and the evaluation inspectorThe PromptBranch desktop app in light mode: a prompt library with tagged, versioned prompts, the editor, and the evaluation inspector

The whole prompt lifecycle

From first draft to proven version, every step is tracked.

Branching version history

Sequential versions, branches, diffs, and change notes keep every prompt's full evolution intact.

Evidence over vibes

Ratings, run logs, multi-model runs, and an LLM judge show which version actually performs.

Built for coding agents

The CLI and MCP server let agents fetch prompts, report results, and suggest variations. You approve.

Local-first and private

Your library is one SQLite file on your machine. Offline by default, no account required.

Sharing portal

Share a prompt when you choose

Publish an immutable snapshot, review the secret scan, and revoke the link later if needed.

Learn about sharing

Made to travel

Put your prompts on any website

A little HTML. Your prompt, right where people need it.

Read the guide

Embed a prompt

Give readers the full prompt, with rendered Markdown, source, and one-click copy.

HTML snippet

embed.html
<div
  data-promptbranch-embed="https://promptbranch.app/p/demo_code_review_0001"
></div>
<script defer
  src="https://promptbranch.app/embed.js"
></script>
HTMLReady to paste

Use your published share URL. Include the script once per page.

Add an open button

Turn a public Markdown file into a prompt readers can bring into their own library.

HTML snippet

open-button.html
<a
  href="promptbranch://import-markdown?url=https%3A%2F%2Fpromptbranch.app%2Fexamples%2Fcode-review.md"
  style="display:inline-flex;align-items:center;gap:8px;
         padding:12px 18px;border-radius:8px;
         background:#315ee8;color:#fff;
         font:600 14px system-ui;text-decoration:none"
>
  Open in PromptBranch <span aria-hidden="true">↗</span>
</a>
HTMLReady to paste

Use a public HTTPS Markdown URL. Readers review before importing.

Live preview

code-review.mdPreview
Open in PromptBranch

PromptBranch opens a review dialog. You choose when to fetch and import.

View example Markdown

Download PromptBranch

Downloads are available for macOS, Windows, and Linux. Choose the installer for your operating system.

Want to be first to try a build? Watch the repository

Featured on PromptFrenzy AI DirectoryFeatured on PromptFrenzy AI Directory