devpocket.dev

Prompt Template Filler

Detect prompt variables, generate fields, fill templates, and import or export values as JSON.

Runs locally
Loading tool…

How to use

Paste a template and leave syntax on Auto or choose {{var}}, {var}, or ${var} explicitly. The tool extracts unique variables in template order and creates one field for each. The rendered prompt updates as you type; blank values remain as placeholders and are reported as missing.

Switch the variable editor to JSON to paste an object instead. The JSON view is also copyable for saving a reusable value set. Warnings distinguish missing template variables from extra JSON keys that the current template never uses.

FAQ

Can one variable appear more than once?

Yes. It is listed once in the editor and every matching placeholder is replaced with the same value.

What JSON values are accepted?

Strings, numbers, booleans, null, arrays, and objects are accepted. Non-string values are converted to compact JSON text.

Are variable values stored locally?

Yes, the template and values persist in browser storage for convenience. Do not enter secrets you do not want stored on this device.

Related tools