TokenPad
Prompts

Prompt Template Filler

Fill a template and see the real prompt, including what did not get filled.

Your input

78 characters1 lines0 tokensor drop a file

Template FillerExact
0Token change
Token change0no change
Input tokens0what you pasted
Output tokens0what you would send
Token cost of this result
Output tokens0
As input$0.00
× 100K requests$0.00

Everything on this page runs in your browser. Nothing you paste is transmitted, because there is no server here to transmit it to.

Result
 

The failure this exists to catch

An unfilled placeholder does not error. The model receives the literal text {{customer_name}} and does its best, which usually means addressing the customer as "customer_name" or inventing something.

It reaches production because the template renders fine when the variable is present and the missing case only occurs on a branch nobody tested. The unfilled report makes it visible immediately.

Previewing the real prompt

What you write is the template. What the model reads is the filled result, and the two can differ in ways that matter — a variable containing a newline, a quote, or a closing tag changes the structure of the prompt around it.

Filling it here and reading the output is the fastest way to notice that a substituted value has broken your delimiters.

Variables move the token count

The filled prompt is what you pay for, and the variable content is often the largest part of it. A template that measures four hundred tokens empty can be four thousand once a retrieved document is substituted in.

Budget against filled prompts with realistic values, never against the template.

Frequently asked questions

Which placeholder syntax should I use?
Whichever your framework already uses. Double curly braces are the most common convention and the least likely to collide with JSON content in the prompt, which single braces frequently do.
What if a variable value contains a placeholder?
It is not re-substituted. Single-pass substitution is deliberate — recursive filling is a template injection vector when any variable comes from user input.

More prompts tools