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 استفاده کنید.

ابزارهای مرتبط

ابزارهای توسعه‌دهنده →