ToolCabana

Prompt-Variablen-Templater

Füllt benannte Variablen, ohne Vorlagencode auszuführen.

Favorites are saved in this browser. Find them in My favorites.

Prompt-Variablen-Templater

Your input stays in this browser unless stated otherwise
Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

So verwendest du Prompt-Variablen-Templater

Prompt variable templater fills {{placeholders}} in a prompt with values from a JSON object you provide, using plain text substitution with no template code executed. Placeholder names start with a letter or underscore and may contain dots or hyphens, spaces inside the braces are allowed, and any placeholder without a matching key stops the run with a list of the missing names.

  1. Füge die Quelle in den Eingabe-Editor ein oder lade das integrierte Beispiel.
  2. Lege die Variablen fest (JSON-Objekt).
  3. Führe den Prompt-Variablen-Templater aus, prüfe die Ausgabe und verwende dann die verfügbaren Bedienelemente zum Kopieren oder Herunterladen.

Was dieses Tool unterstützt

Füllt benannte Variablen, ohne Vorlagencode auszuführen.

Variablen (JSON-Objekt)
Set this value for your task.

Grenzen und Verarbeitung

Textvorgänge akzeptieren im Allgemeinen bis zu 2.000.000 Zeichen. Einzelne Parser, Generatoren und Formeln haben zusätzliche Grenzen, die in ihren Bedienelementen angezeigt werden.

Beispielquelle
Explain {{topic}} to {{audience}} with one example.

Häufige Fragen

How do I format variables for the prompt templater?

Enter a single JSON object whose keys match your placeholder names, for example topic and audience keys for {{topic}} and {{audience}}. Arrays, plain strings and invalid JSON are rejected with the message that variables must be a JSON object.

What happens if a variable is missing from the JSON?

The tool lists every placeholder that has no matching key, for example Missing variables: audience, and produces no output until you add them. Extra keys that do not appear in the template are ignored.

Can I use nested objects or dotted names like {{user.name}}?

Dotted names are allowed but matched literally, so {{user.name}} needs a top-level key named user.name; nested lookup is not performed. If a value is itself an object or array, it is inserted as compact JSON text.

Wo wird meine Eingabe verarbeitet?

Dieser Vorgang verarbeitet seine Quelle in deinem Browser. Kopieren und Herunterladen sind ausdrückliche Aktionen; die Quelleingabe wird nicht in einem Konto oder Verlauf gespeichert.

Welche Eingabelimits gelten?

Textvorgänge akzeptieren im Allgemeinen bis zu 2.000.000 Zeichen. Einzelne Parser, Generatoren und Formeln haben zusätzliche Grenzen, die in ihren Bedienelementen angezeigt werden.