freesozoFree tools, no sign-up (home)
All tools
Language: English
Tool number 15

Prompt Template Form

Turn just the parts of your go-to prompts that change each time into input fields. Write the template once, then fill in the values and copy.

You've opened a template from a URL. It wasn't written by this site. It isn't kept in this browser until you edit or save it.

Manage saved templates (0)

Import an exported file on another computer or browser to move your templates there. Templates with the same name are replaced by the imported ones.

What to do next

What a template makes easier

Requests to AI tend to repeat the same shape: drafting an email, summarising a text, tidying up meeting notes. The instructions are almost the same every time, and only the recipient's name or the source text changes.

If you dig out last time's prompt, copy it and fix the changing parts by hand, sooner or later a fix gets missed, and the message goes out with the previous recipient's name still in it. Turn the changing parts into fields, and any left empty stay marked in yellow, so you notice what you forgot.

How to write variables

Written asFieldUse it for
{{recipient}}A free-text fieldThings that differ every time: names, source text, what to say
{{length=about 150 words}}A field with a value already in itThings that are usually the same but sometimes change
{{tone|polite|casual}}A choicePicking from a fixed set
  • However many times you write the same name, there's only one field. Its value goes into every place with that name.
  • Names can use any language and include spaces. Line breaks and the marks themselves can't be used. A name can be up to 120 characters.
  • The full-width = used in Japanese works in place of =.
  • If a value you enter contains something in the {{name}} form, it isn't replaced again. What you typed goes in as it is.

Making a variable without typing the marks

After pasting your usual prompt, select a part you want to change (a name, a word count and so on) and press "Make the selection a variable". The selected text stays as the starting value. Then just type a clear name over name.

Press it with nothing selected, and {{name}} goes in at the cursor. That lets you add variables even on keyboards where symbols are awkward to type, such as on a phone.

Changing the marks

If your prompt already contains text in the {{ }} form, change "Variable marks". You can choose {name}, [name], 【name】 or <name>. For templates that include program code, 【name】 is safe because it doesn't appear in code.

Writing variables in double curly braces is the style used by Mustache and many other text templating systems. Templates made with other tools in the same style can be pasted in and used as they are.

Tips for good templates

  • Make only the changing parts variables: too many variables make every use tedious, and you'll stop using it. For things that are usually the same, write a starting value.
  • Name variables after what goes in them: {{A}} or {{input 1}} will confuse you a month from now. Write something like {{client company name}}.
  • Turn fixed options into choices: tone, length, output format. Typos disappear and the results come out consistent.
  • Separate the instructions from the material: wrap variables that hold source text in headings or tags, so the AI is less likely to mix up what's instruction and what's material.

On separating, the guide from Anthropic (the makers of Claude) says that in prompts that mix instructions, context, examples and input, wrapping each in its own tags cuts down on mix-ups. For long documents of more than about 20,000 tokens, it also recommends putting the documents first and the instructions and question after them.

Saving and sharing

Saving in your browser

"Save in browser" keeps the template in this browser. You can save up to 200. Your work in progress and the values you entered are also kept automatically, so after closing the page you can pick up where you left off.

They're kept in the storage each browser sets aside for a site. Clearing your browsing data deletes them too, and in a private (incognito) window they're gone when you close the window. Keep any template you can't afford to lose with "Export to a file".

Sharing by URL

"Copy share link" makes a URL with the template you're writing inside it. Whoever opens the URL gets this tool with the same template already in it.

  • The template goes after the # in the URL. Anything after # is only used inside the browser and isn't sent to the server, so this site never receives the template either.
  • The values you entered aren't in the URL. Only the template text, its name and the marks go.
  • Anyone with the URL can read the template. Don't write anything confidential in it.
  • A long template makes a long URL. Some places cut long URLs off, so for long templates, sending an exported file is more reliable.

What it can't do

  • Send to an AI directly: this tool isn't connected to any AI. You copy the finished prompt and paste it yourself, which also means it works with any AI.
  • Show or hide text depending on conditions: branching such as "drop this paragraph if that field is empty" isn't possible. There's only the option to leave out empty variables, names and all.
  • Keep your computer and phone in sync automatically: each browser keeps its own copy. To move templates, export a file or share a URL.

FAQ

Are my templates or the values I enter sent anywhere?
No. Both are put together inside your browser. This site is set up so it can't connect to anything once it's open, so there's no way for it to send them.
Is it OK to use on a shared computer, such as at work?
Your work in progress and the values you entered stay in that browser. On a computer others use, press "Clear values" when you're done, or use a private window.
Does it work with AIs other than ChatGPT?
Yes. The result is plain text, so it works with any AI you can paste text into, such as Claude, Gemini or Copilot.
What happens if I copy with fields left empty?
By default, they stay in the {{name}} form, so you can still spot what you forgot after pasting. To remove empty variables, turn on "Leave out empty variables, names and all, when copying".
Can I add line breaks in a field?
Yes. Fields grow downwards to fit what's in them, so you can paste long texts or several lines of code.
If I open a URL someone sent me, is my work in progress lost?
Not right away. A template from a URL isn't kept in your browser until you edit or save it. Even after opening it, "Undo" takes you back to what you were writing.

Sources

ChatGPT, Claude, Gemini and Copilot are trademarks of their respective companies. This site is run by an individual with no connection to any of these companies.

More tools