AI Tools เครื่องมือได้รับการอัปเดตแล้ว 1 เดือนที่แล้ว

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.

ฟรีเสมอ ใช้งานง่าย ผลลัพธ์ทันที ส่วนตัวและปลอดภัย

ใช้ Prompt Variable Replacer

เครื่องมือแทนที่ตัวแปรแบบทันที

กรอกข้อมูลลงในช่องว่างของแม่แบบคำสั่งใดก็ได้ แล้วคัดลอกคำสั่งที่เสร็จเรียบร้อย ทุกอย่างทำงานในเบราว์เซอร์ของคุณ — ไม่มีข้อมูลใดถูกส่งไปยังเซิร์ฟเวอร์

1 · เลือกแม่แบบ
แม่แบบว่าง
2 · กรอกคำที่ขาด
0 / 0 เต็ม

คลิกชิปเพื่อเติมให้เต็ม กด Enter เพื่อบันทึก กด Esc เพื่อยกเลิก

3 · คำขอของคุณ
Incomplete
ตัวแทนที่กรอกข้อมูลแล้วจะถูกเน้นด้วยสีเขียว ส่วนที่ว่างจะถูกเน้นด้วยสีเหลืองอ่อน ค่าที่ว่างจะทำให้ตัวแปรยังคงปรากฏในผลลัพธ์
ลิงก์เครื่องมือ
คัดลอกไปยังคลิปบอร์ดแล้ว
ช่วยปรับปรุงเครื่องมือนี้

อ่านเนื้อหา

เรียนรู้วิธีการทำงานของเครื่องมือนี้และเมื่อใดควรใช้มัน

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

คำถามที่พบบ่อย

คำตอบสั้นๆ สำหรับคำถามที่ผู้ใช้มักถามก่อนที่จะเชื่อถือผลลัพธ์

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.

ความคิดเห็น (0)

เพื่อการอภิปรายของผู้ใช้ กรณีพิเศษ และคำแนะนำเพิ่มเติม
แสดงความคิดเห็น
ความคิดเห็นของคุณจะปรากฏให้ทุกคนเห็นได้หลังจากส่งไปแล้ว
ยังไม่มีความคิดเห็นใดเลย เป็นคนแรกที่แสดงความคิดเห็น!
แจ้งให้เราทราบ!
แจ้งปัญหาเกี่ยวกับเครื่องมือนี้

โปรดอธิบายปัญหาที่คุณพบ เพื่อให้เราสามารถตรวจสอบและปรับปรุงเครื่องมือได้

สิ่งที่มีประโยชน์ที่สุดคืออะไร
โปรดระบุข้อมูลที่ป้อน ผลลัพธ์ที่คาดไว้ ผลลัพธ์จริง เบราว์เซอร์/อุปกรณ์ และภาพหน้าจอหากมีประโยชน์
ปุ่มจับภาพหน้าจอจะจับภาพหน้าเว็บในเบราว์เซอร์และแนบภาพที่สร้างขึ้นไปยังแบบฟอร์มนี้
ภาพหน้าจอเต็มหน้า
บันทึกไว้ในเบราว์เซอร์ของคุณด้วย newisty.
ยังไม่มีภาพหน้าจอที่บันทึกไว้
เครื่องมือ รายงาน