Prompt Template Playground
Render reusable prompt templates with automatically discovered variables and local token estimates.
Ready. Variables are discovered as you type.
Enable JavaScript to render locally.
Variables, not expressions.
Use double braces around an ASCII identifier, such as {{user_name}}. Each unique name gets one field. Single braces are literal; malformed double-brace placeholders are rejected. No functions, conditions, loops, imports or recursive expansion are supported.
Missing values stay visible.
An absent or empty value preserves its placeholder and appears in the unresolved list. Whitespace values remain literal. Counts include preserved placeholders. Template edits discard fields that no longer exist; reset and leaving the page clear content.
Local estimates with explicit limits.
Template: 16 KiB UTF-8, 32 unique variables and 128 occurrences. Each value: 8 KiB; rendered output: 64 KiB. Characters count Unicode code points and words are whitespace-delimited. Token estimates reuse the Token Counter heuristic; they are not exact or guaranteed bounds. Copy sends text only to your clipboard.