RevealTheme logo

مقارنة النصوص (Diff)

قارن بين كتلتين نصيتين سطرًا بسطر. شاهد الإضافات والحذف والأسطر غير المتغيرة بترميز لوني.

كيفية استخدام هذه الأداة

  1. 1

    Paste or type the original version into the left textarea labeled Original.

  2. 2

    Paste or type the changed version into the right textarea labeled Modified.

  3. 3

    Read the result panel below: lines prefixed with a minus and shown in red were removed, lines prefixed with a plus and shown in green were added, and lines prefixed with an equals sign are unchanged.

  4. 4

    Edit either box to refine your input; the diff recomputes instantly as you type.

ما هي أداة مقارنة النصوص (Diff)؟

تقارن أدوات الاختلاف (diff) بين نسختين من نص وتُبرز ما تغيّر. وهي مفيدة لمقارنة ملفات الإعداد، أو العقود، أو مراجعات الكود، أو أي نسختين من مستند. تعمل هذه الأداة بالكامل في متصفحك: لا تُرفع أي بيانات.

حالات الاستخدام الشائعة

  • Spot which keys changed between two versions of a .env or config file pasted side by side.

  • Compare two revisions of a short paragraph or email draft before sending the edited version.

  • Check what a teammate altered in a snippet they pasted into chat versus your local copy.

  • Verify that a find-and-replace did exactly what you intended across a block of text.

  • Review line-level differences between two SQL queries or log excerpts of similar length.

  • Confirm two lists (allowlists, redirect rules, CSV rows) are identical or see exactly where they diverge.

الأسئلة الشائعة

هل المقارنة على مستوى الكلمة؟
هذه على مستوى السطر. للإبراز على مستوى الكلمة، استخدم أداة متخصصة مثل Meld أو VS Code.

أدوات ذات صلة