How to use prompt templates
- Write your prompt once, with placeholders in double curly braces, such as
{{company}}or{{message}}. Add a default after a bar:{{tone|friendly}}. - A form field appears for every variable. Fill them in and the finished prompt updates live, with a token estimate.
- Copy the prompt into ChatGPT, Claude, Gemini or your own code. For many prompts at once, paste a CSV whose columns match the variable names and download one prompt per row as JSONL or text.
Why templates make better prompts
Good prompts are rarely written from scratch each time. Teams that use language models seriously keep a set of tested prompts for recurring jobs, such as support replies, product descriptions, summaries, code review and data extraction, and change only the details. Templates make results consistent, let you improve a prompt in one place, and stop important instructions from being forgotten when someone is in a hurry.
The double-brace syntax is the same style used by Mustache, Handlebars, Jinja and most prompt-management tools, so templates are easy to move into code later. Wrapping long inputs in triple quotes or XML-style tags, as in the example, helps the model tell your instructions apart from the user's text, which also makes prompt injection less likely. The CSV batch mode produces JSONL in the chat "messages" format used by OpenAI's Batch API and many evaluation tools. Templates and values are saved only in this browser.
What happens to an empty variable?
Its default is used if it has one. Otherwise the placeholder stays in the prompt and is listed as still empty.
Can I use the same variable twice?
Yes. Every occurrence is replaced with the same value.
Is my data sent to an AI?
No. This page only assembles text; nothing is sent to any model or server.