AI Tools Alat telah dikemas kini 1 bulan yang lepas

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.

Sentiasa Percuma Mudah digunakan Keputusan segera Peribadi dan selamat

Gunakan Prompt Variable Replacer

Pemganti Perubahan Segera

Isi penanda tempat dalam sebarang templat arahan dan salin arahan yang siap. Segalanya berjalan dalam pelayar anda — tiada apa-apa yang dihantar ke pelayan.

1 · Pilih templat
Templat kosong
2 · Isi ruang kosong
0 / 0 diisi

Klik cip untuk mengisinya. Masukkan simpanan, Esc membatalkan.

3 · Permintaan anda
Incomplete
Penanda tempat yang diisi diserlahkan hijau, manakala yang kosong diserlahkan jingga. Nilai kosong mengekalkan pembolehubah kelihatan dalam keluaran.

Baca Kandungan

Pelajari cara alat ini berfungsi dan bila hendak menggunakannya.

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

Soalan Lazim

Jawapan ringkas untuk soalan yang ditanya pengguna sebelum mempercayai keputusan.

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.

Komen (0)

Untuk perbincangan pengguna, kes sempadan, dan petua susulan.
Tinggalkan komen
Komen anda akan dipaparkan secara terbuka selepas dihantar.
Tiada komen lagi. Jadilah yang pertama untuk memberi komen!
Beritahu kami!
Laporkan masalah dengan alat ini

Terangkan masalah yang anda hadapi supaya kami dapat menyiasat dan memperbaiki alat tersebut.

Apa yang paling membantu
Sertakan input, hasil yang dijangkakan, hasil sebenar, pelayar/peranti, dan tangkapan skrin jika membantu.
Butang tangkapan skrin merakam halaman dalam pelayar dan melampirkan imej yang dijana pada borang ini.
Skrinshot penuh halaman
Direkod dalam pelayar anda dengan newisty.
Tiada tangkapan skrin yang diambil lagi.
Alat Laporan