# Plantilla de variables para prompts

> Rellena variables con nombre sin ejecutar código de plantilla.

[Open tool](https://www.toolcabana.com/es/prompt-template) · [IA y herramientas de prompts](https://www.toolcabana.com/es/category/ai-and-prompt-tools)

Tool ID: prompt-template. Requested language: es. Description language: es. Complete guide translation: yes.

## Overview (en)

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.

## Supported tasks (es)

Rellena variables con nombre sin ejecutar código de plantilla.

## Steps (es)

1. Pega la fuente en el editor de entrada o carga el ejemplo integrado.
2. Configura las variables (objeto JSON).
3. Ejecuta la plantilla de variables para prompts, revisa la salida y usa los controles disponibles para copiar o descargar.

## Settings

- Variables (objeto JSON) (es; key: variables; type: textarea)

## Limitations (es)

Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.

## Example input

```text
Explain {{topic}} to {{audience}} with one example.
```

## Privacy and connections (es)

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

## Questions (es)

### 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.

### ¿Dónde se procesa mi entrada?

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

### ¿Cuáles son los límites de entrada?

Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.

## Related tools

- [System prompt builder](https://www.toolcabana.com/es/system-prompt)
- [Prompt comparison checklist](https://www.toolcabana.com/es/prompt-checker)
- [Resume prompt builder](https://www.toolcabana.com/es/resume-prompt)
- [SEO prompt builder](https://www.toolcabana.com/es/seo-prompt)
