Build your AI Agent and let it work for your business 24/7 →

AI Prompt Generator

Build a clear, structured prompt for ChatGPT, Claude or Gemini. Pick a proven framework, fill in the fields and copy a prompt with every section labelled.

  • 100% free
  • No sign-up
  • Runs in your browser

Framework

Role, Action, Context, Expectation. Adds a role and background to APE. Use it when the answer depends on expertise or on details only you know.

RACE fields (0/4 filled)

Who the AI should act as.

The task, starting with a verb.

Background, facts and the situation.

Format, length and what success looks like.

Optional extras

Leave empty to use the language you write in.

One per line.

Your prompt

0 characters · 0 words

Fill in a field or load the example to build your prompt.

Why structured prompts get better answers

Chat assistants fill gaps with guesses. A one-line request leaves them to guess who the answer is for, how long it should be and what a good result looks like. A framework is a checklist that makes you write those details down, in an order the model can follow.

This tool does not use AI. It is a builder: it arranges what you type under clear labels and adds your formatting rules. The quality of the answer still depends on the detail you give, so be specific.

The frameworks in this tool

  • APE (Action, Purpose, Expectation). The shortest framework. Say what to do, why you need it and what a good answer looks like. Good for quick, everyday requests.
  • RACE (Role, Action, Context, Expectation). Adds a role and background to APE. Use it when the answer depends on expertise or on details only you know.
  • CO-STAR (Context, Objective, Style, Tone, Audience, Response). Separates style, tone and audience, so it works well for writing tasks where the voice matters as much as the content.
  • CREATE (Character, Request, Examples, Adjustments, Type of output, Extras). The most complete framework. Examples show the AI what good looks like, which helps most when you need a specific voice or structure.
  • SPARK (Situation, Problem, Aspiration, Result, Kismet). Built for problem solving. Describe where you are, what is wrong and where you want to be, then leave room (kismet) for ideas you had not thought of.
  • RTF (Role, Task, Format). Three parts and done. Use it when the task is clear and you mainly care about who answers and how the answer is laid out.

Tips that help with any framework

  • Start the task with a verb: write, list, compare, plan, summarise.
  • Give numbers instead of adjectives: "under 120 words" works better than "short".
  • Paste a real example of output you like. Models copy structure and voice very well.
  • Say what to avoid. Rules like "no jargon" or "don't mention competitors" are followed reliably.

How it works

How to use it

  1. Step 1

    Pick a framework

    Choose APE, RACE, CO-STAR, CREATE, SPARK or RTF. Each one shows the fields that framework needs, with an example you can load.

  2. Step 2

    Fill in the fields

    Describe your task in each field and add optional extras such as output format, length, language and rules.

  3. Step 3

    Copy or open the prompt

    Copy the assembled prompt, download it as a text file or open it straight in ChatGPT or Claude.

FAQs

Frequently asked questions

Answers to common questions about the AI Prompt Generator.

No. It is a structured builder. It takes what you type into each field, puts it in the order of the framework you chose and adds clear section labels. Nothing is sent to an AI model or a server.

Use APE or RTF for quick, simple requests. Use RACE when the answer depends on expertise or background details. Use CO-STAR for writing where tone, style and audience matter. Use CREATE when you can show an example of what you want, and SPARK when you are trying to solve a problem.

Yes. The output is plain text, so you can paste it into any chat assistant. Markdown headings work well everywhere. Claude in particular follows XML-style tags well, which is why that option is included.

The links pass your prompt in the web address. Very long addresses can be cut off by browsers or by the chat app, so the links only appear when the prompt is under 6,000 characters. For longer prompts, copy the text and paste it in.

It adds an instruction telling the assistant to ask clarifying questions and wait for your answers before it writes the final response. This usually gives better results for complex tasks where you might have left out a detail.

No. Everything stays in your browser tab and is cleared when you close or reload the page.

More free tools

Try another tool

Let an AI agent answer your Instagram DMs

Hypello's AI agents reply to Instagram DMs in seconds, collect names, emails and phone numbers, share discount codes and hand over to your team when needed.