AI Prompt Generator

An AI prompt generator turns a few short answers, such as the task, the role, the context, the tone and the format, into one clear, structured prompt you can paste into ChatGPT, Claude or Gemini. Pick a task, edit the example, then copy the prompt. It uses templates only, so nothing you type is sent to an AI.

  • 100% free
  • No sign-up
  • Runs in your browser
  • Updated
1. Pick a task

Changing the task loads a new example. Edit any field to make it yours.

Who the AI should act as, for example: experienced copywriter.

Background the AI cannot guess: who you are, the situation, what has happened.

Prompt layout

Sections with ## headings. Works well in ChatGPT and Gemini.

Words
126
Characters
693
Tokens (approx.)
174

The prompt is built from templates in your browser. Nothing you type is sent to ChatGPT, Claude or any server. Paste it into the AI chat of your choice.

Key takeaways

  • A strong prompt usually has five parts: a role, the task, the context, the requirements (tone, length, format) and any input text.
  • The example email prompt on this page is 126 words, about 174 tokens, a tiny share of any modern context window.
  • OpenAI, Anthropic and Google all advise separating the parts of a prompt with Markdown headings or XML tags.
  • There are 6 starting templates: email, blog post, summary, code review, image prompt and a general one for anything else.

How to use the AI Prompt Generator

  1. 1Pick a task: Email, Blog post, Summary, Code review, Image prompt or Anything else. An example loads straight away.
  2. 2Replace the example with your own task, then add the role, the context and who will read the result.
  3. 3Choose a tone and format, set a length and add any extra rules, one per line.
  4. 4Pick a layout: Markdown for ChatGPT or Gemini, XML tags for Claude, or plain text.
  5. 5Press Copy prompt and paste it into the chat. Fill in any [placeholder] before you send it.

What is an AI prompt generator?

An AI prompt generator is a form that writes the prompt for you. You fill in what you want, and it arranges your answers in the order and layout that language models follow best. The result is a reusable block of instructions rather than a one-line question.

This one is template based: it never calls ChatGPT or any other model, so it works offline, costs nothing and keeps your text on your device. It is a prompt generator with no AI in the loop, and the same inputs always give the same prompt.

What makes a good prompt for ChatGPT, Claude or Gemini?

A good prompt says exactly what you want, gives the background the model cannot guess, and describes what the answer should look like. Anthropic's guide puts it simply: show your prompt to a colleague with little context, and if they would be confused, the model will be too.

In practice that means five parts. A role sets the expertise and voice. The task is one or two sentences that start with a verb. Context covers who you are, the situation and the reader. Requirements fix the tone, length and format, plus any rules. Input is the text or code to work on, kept apart from your instructions so the model does not mix them up.

Markdown or XML tags: which prompt layout should you use?

Use XML tags for Claude and Markdown headings for ChatGPT or Gemini, though all three models handle either. Anthropic's documentation recommends wrapping each part in its own tag, such as <context> and <task>, because it helps Claude tell instructions from input. OpenAI's and Google's guides show both Markdown and XML-style sections.

What matters more is picking one layout and using it the whole way through. Google's guide makes the same point: choose one format and keep it consistent. Plain text with simple labels works too, and is the safest choice for tools that strip formatting, such as a form field in another app.

How do you write a prompt for an AI image generator?

Describe the image in one sentence that starts with the style and subject, then add the lighting, the mood, the camera angle and the shape. Image models read a prompt as a list of visual details rather than as instructions, so the Image prompt task skips the role and tone and writes a single descriptive line instead.

The default gives a 45 word prompt that opens with "Watercolor painting of a small red fox" and ends with the aspect ratio, followed by a short list of things to leave out. Some image tools have their own syntax for aspect ratio, so check their help page.

Tips to get better answers from your prompt

Give an example of the output you want when the format is unusual. Google calls this few-shot prompting, and its guide notes that models can often pick up a pattern from just a few examples, which is quicker than describing it in words. Paste it into the input box or the extra rules.

Keep long prompts lean. Every word costs tokens on paid APIs, and the tool shows a rough count as you type. For an exact figure, paste the finished prompt into the AI token counter.

Running the same prompt thousands of times through an API? Work out the monthly bill first with the AI API cost calculator, since a few extra lines of instructions add up across every request.

Clean up what comes back. AI answers often arrive with stray asterisks and hidden characters, and the AI text cleaner strips them out before you paste the text into an email or a form.

If you plan to send records or tables to a model, convert them with the JSON to TOON converter first, which usually cuts the data's token count by about a third.

Worked example

Worked example: a customer email prompt

A small candle shop needs to answer a customer whose order arrived two weeks late. The inputs are the default Email example: role "customer support lead at a small online shop", a friendly tone, paragraphs, under 150 words and two extra rules.

With the Markdown layout, the generator writes 15 lines, 126 words and 693 characters, which is about 174 tokens using the rule of four characters per token. It opens with "You are a customer support lead at a small online shop.", then has a Task, a Context and a Requirements section, each under its own ## heading. The requirements list starts with "- Tone: friendly." and ends with the two extra rules.

The tool added three checklist lines that good support emails need. Switch the layout to XML tags and the same content comes to 725 characters, wrapped in <task>, <context> and <requirements> tags for Claude.

Paste it into the chat, and if the first answer is too long or too formal, change one field and copy again. Once you are happy, the ChatGPT to Word converter turns the answer into a .docx file if you need to save or share it.

The parts of a prompt at a glance

PartWhat to writeExample
RoleWho the AI should act asYou are a senior Python developer.
TaskOne or two sentences that start with a verbReview this function for bugs.
ContextBackground the model cannot guessIt runs on Python 3.12 in a Flask app.
RequirementsTone, length, format and rulesNumbered steps, as short as possible.
InputThe text or code to work on, kept separateThe function, inside its own block

Only the task is required. Each extra part makes the answer more predictable.

Built-in checklist for each task

Lines the generator adds to every prompt of that type, so you do not have to remember them.

TaskLines added
EmailStart with a short, specific subject line. Make the main point in the first two sentences. End with one clear next step for the reader.
Blog postSuggest a title under 60 characters that includes the main topic. Answer the main question in the first two sentences. Use a subheading every 200 to 300 words. Only state facts you are sure of, and mark anything I should check with [check].
SummaryKeep the original meaning and do not add new facts. Keep important numbers, names and dates exactly as written. If the text is unclear or contradicts itself, say so instead of guessing.
Code reviewList bugs first, then security problems, then readability. For each issue, quote the line, explain the problem and show the fix. Say clearly if you find no real problems instead of inventing minor ones.
Image promptNone. Image prompts are one descriptive line plus a list of things to leave out.
Anything elseBefore the answer, list any assumptions you made in one or two lines.

Frequently asked questions

Is this AI prompt generator free?

Yes. The AI prompt generator is free with no sign-up and no limits. It builds prompts from templates inside your browser, so there are no AI costs to pass on. You can generate as many prompts as you like for ChatGPT, Claude, Gemini or any other chat assistant, and use them for personal or work tasks.

Does the prompt generator use AI?

No. It is a prompt generator with no AI: it fills in a template from your answers and never calls a language model. That means the same inputs always give the same prompt, and nothing you type, including pasted code or emails, is sent to any server. The AI only sees the prompt once you paste it into a chat yourself.

Can I use these prompts in Claude and Gemini, not just ChatGPT?

Yes. The prompts are plain text and work in ChatGPT, Claude, Gemini, Copilot and most other assistants. Choose the XML tags layout for Claude, since Anthropic recommends tags to separate instructions from input. Markdown headings suit ChatGPT and Gemini, and plain text works anywhere that strips formatting.

How long should an AI prompt be?

Most everyday prompts work well at 50 to 200 words, enough to state the task, the context and the format without padding. Long input text, such as an article to summarise, can add thousands more. Clarity matters more than length: one specific sentence beats three vague ones, and repeated instructions only add cost.

What does the token estimate mean?

The token figure divides the prompt's characters by 4, a common rule of thumb for English text. It is an estimate: real counts vary by model, language and formatting, and code or non-English text usually needs more tokens. Paste the prompt into a tokenizer for an exact count before budgeting API costs.

Sources

Last reviewed by the ToolsFiesta team.

Related tools