en

Prompt generator

Build structured AI prompts from goal, context, constraints and output format, with variables and templates - rule-based and local in your browser.

Running locally on your device ...

Write variables as {{name}} inside any block.

Building blocks

Load an example:
Structure

Variables

No variables yet. Write, for example, {{topic}} inside a block.

Finished prompt

Fill in at least one block and your prompt appears here.

Library in this tab

Nothing is saved: reloading or closing the tab clears everything. Export the library as a JSON file if you want to keep it.

Templates

    No template in the library yet.

    Variants

      This template has no variant left.

      Deleting removes a template with all its variants for good and clears the history. It cannot be undone.

      Is my file uploaded?

      No. Everything runs in your browser - your file never leaves your device. How this is verifiable

      No upload100% local
      Your content stays with youno third-party access
      Hosted in GermanyGlobal Content Delivery
      Independently auditedTLS A+ · HTTP headers A+

      A good prompt tells a language model four things: what to do, what it needs to know, what it must not do and what the answer should look like. This tool gives you exactly four blocks for that (goal, context, constraints, output format) plus a free part for anything else, such as the text in question. Empty blocks are left out; the filled ones become a cleanly structured prompt that you copy or save as a TXT or Markdown file. Three examples per language show the structure on real tasks: summarising a text, drafting an email, explaining code.

      Recurring parts become a variable in double curly braces, for example {{topic}} or {{recipient}}. The tool detects every variable automatically, including names with accents, Arabic or Japanese letters, and shows an input field for it. Values may contain line breaks and are inserted exactly as you type them; a value that itself looks like a variable stays plain text. If a value is missing you do not get a half-finished prompt but a clear list of the variables still open. As structure you choose Markdown sections, XML tags with fixed English names or plain headings.

      Templates and named variants go into a library that lives only in the memory of this browser tab. Nothing is stored in the browser and nothing leaves your device: after a reload everything is gone unless you export the library as a JSON file first. You can import that file again later; names, blocks, variable values and structure are kept, and HTML or script code inside a prompt stays plain text. Deleting removes a template with all its variants and clears the undo and redo history, so deleted prompts do not linger in memory.

      Free as often as you like: no daily cap, no account, no paywall - your input stays on your device. Many online services limit free use to a few runs per day or require an account; here everything runs locally in your browser - with no daily quota and no sign-up.

      Specifications

      Specifications
      Output formatTXT
      Batch processingNo
      ProcessingLocally in your browser (JavaScript)
      File uploadNone

      In 3 steps

      1. Load an example or fill in goal, context, constraints and output format, writing variables as {{name}}.
      2. Enter values for the detected variables and choose the structure.
      3. Copy the prompt or save it as TXT, Markdown or library (JSON).

      Limitations: A rule-based builder without AI: the tool does not rephrase anything, does not grade answers and cannot predict how well a model will respond to your prompt. A longer prompt is no proof of a better one. The library lives only in the current tab and is lost on reload unless you export it as JSON. Import supports TXT, Markdown and this tool's own JSON library only (up to 2 million characters).

      FAQ

      Is my prompt uploaded or sent to an AI?

      No. Everything runs locally in your browser; the tool calls no language model and sends no content to any server. You paste the finished prompt into the AI tool of your choice yourself.

      Is my library saved?

      No, only in the memory of this tab. After a reload or closing the tab it is gone. To keep it, export it as a JSON file and import it again next time.

      How do variables work?

      Write a name in double curly braces, such as {{customer}}. A field appears for each name; the value is inserted everywhere, even across several lines. If a value is missing, the tool shows which variables are still open. A backslash in front (\{{x}}) keeps the braces as literal text.

      Which structure should I choose?

      Markdown sections are easy to read and widely used, XML tags separate the parts most clearly, plain headings fit simple input boxes. The content is the same in all three; try what your model understands best.

      What happens when I import a file with HTML or scripts?

      They stay plain text. The tool only ever displays content as text and executes nothing. A JSON file that does not match the library format exactly is rejected as a whole rather than half imported.

      Is Prompt generator free - are there any limits?

      Yes. You can use Prompt generator as often as you like: no daily cap, no account, no paywall. Fixed bounds: import files up to 8 MB and 2,000,000 characters with up to 500 templates, 200 variants per template, 200 variables per variant and 200,000 characters per text.

      Related tools

      Reading time · Clean whitespace · Word frequency · Lorem ipsum generator · Word counter · Compare prompts