AI Tools تم تحديث الأداة منذ شهر

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.
لم يتم التقاط أي لقطة شاشة حتى الآن.
أداة تقرير