AI Tools Strumento aggiornato 3 giorni fa

Prompt Variable Replacer

Fill {{variables}} in prompt templates with a live preview. Paste a template, fill the detected variables, and copy the final prompt instantly. Everything runs in your browser — nothing is sent to a server.

Sempre gratuito Facile da usare Risultati immediati Riservato e sicuro

Utilizzo Prompt Variable Replacer

Prompt Variable Replacer

Fill the placeholders in any prompt template and copy the finished prompt. Everything runs in your browser — nothing is sent to a server.

1 · Choose a template
Empty template
2 · Fill the blanks
0 / 0 filled

Click a chip to fill it. Enter saves, Esc cancels.

3 · Your prompt
Incomplete
Filled placeholders are highlighted green, empty ones amber. Empty values keep the variable visible in the output.

Link agli strumenti

Copiato negli appunti.

Aiutaci a migliorare questo strumento

Leggi il contenuto

Scopri come funziona lo strumento e quando utilizzarlo.

How to Use This Tool

Paste any prompt template that uses {{variable}} placeholders, or click Load sample to try a ready-made example. The tool detects every placeholder and builds a list of fields below.

1. Paste your template

Write or paste a prompt with placeholders such as {{role}}, {{topic}} or {{length}}. Placeholders must contain only letters, digits and underscores, and must start with a letter or underscore.

2. Fill the variables

Each detected variable gets its own input field. Type a value for each one, or click Fill all with sample to add realistic values instantly. Use Bulk paste to paste many values at once in a name=value format, one per line.

3. Copy the final prompt

The final prompt updates live as you type. Filled placeholders are highlighted in green; empty ones stay visible in amber. Copy the result, copy the raw template, or save the output as a .txt file.

Features

  • Live token and character counter for the final prompt
  • Malformed placeholder warnings (empty, invalid names, unclosed braces)
  • Per-variable usage count when a placeholder appears more than once
  • Auto-save: your template and values are saved in the browser
  • Presets: save and reload template versions
  • Undo after clearing values

Domande frequenti

Risposte concise alle domande che gli utenti si pongono prima di fidarsi del risultato.

A prompt variable is a placeholder such as {{topic}} inside a template. It lets you reuse the same template for many prompts by swapping in different values, which is especially useful for LLM workflows.

No. Everything runs in your browser. Your template and values are stored only in your browser's local storage and are never transmitted to any server.

Double curly braces with a name, like {{role}} or {{num_examples}}. Names can contain letters, digits and underscores, and must start with a letter or underscore.

Yes. Your current template and values are auto-saved in the browser, and you can also save named presets to switch between different templates.

Empty placeholders stay visible in the output and are highlighted in amber so you can see exactly what is still missing before you copy the final prompt.

Commenti (0)

Per discussioni tra utenti, casi limite e consigli aggiuntivi.
Lascia un commento
Il tuo commento sarà visibile a tutti una volta inviato.
Non ci sono ancora commenti. Lascia il primo commento!
Facci sapere!

Segnala un problema con questo strumento

Descrivi il problema che hai riscontrato, in modo che possiamo analizzarlo e migliorare lo strumento.

Ciò che aiuta di più
Includi i dati inseriti, il risultato atteso, il risultato effettivo, il browser/dispositivo utilizzato e, se utile, uno screenshot.
Il pulsante "Screenshot" acquisisce la pagina nel browser e allega l'immagine generata a questo modulo.
Screenshot a tutta pagina
Realizzato nel tuo browser con html2canvas.
Non è stato ancora acquisito alcun screenshot.
Strumento Relazione