Prompt builder
Build a structured prompt from role, task, context, examples, constraints and output format, with {{variables}}, a live preview, token count and saved drafts.
Questions
Markdown, XML tags or plain?
All three hold the same sections. XML tags such as <context> make section boundaries very clear to a model, which Anthropic's prompting guide suggests; Markdown headings read well for people and work with most models.
Where are drafts saved?
In this browser's local storage. They are not uploaded or synced. Download as JSON to keep a copy or move it to another device, and open it again here.
What happens to variables without a value?
They stay as {{name}} in the preview, and the count of variables left tells you how many are still open. To fill one template with many rows of values, use the prompt template filler.