इस टूल में कोई समस्या है?
«टेक्स्ट डिफ (एकीकृत) ऑनलाइन» के बारे में
यह टूल टेक्स्ट के दो टुकड़ों की तुलना करता है और उनके बीच के अंतरों को हाइलाइट करता है: जो लाइनें जोड़ी गईं, हटाई गईं या बदली गईं।
किसी लेख के मसौदा संस्करणों की तुलना करने, कॉन्फ़िगरेशन फ़ाइल या अनुबंध में परिवर्तनों की समीक्षा करने, कोड में आउटपुट बेमेल को डिबग करने के लिए उपयोगी।
टूल लाइन-दर-लाइन और कैरेक्टर-स्तर डिफ दोनों का समर्थन करता है।
इस टूल का उपयोग कैसे करें
How to compare two pieces of text line-by-line
Paste both versions
Drop the old version into "Left" and the new into "Right". The tool compares line by line — within-line word-level differences are NOT highlighted; that's a different (and more expensive) algorithm.
Press Run
Result returns an array of `diff` entries with `op` (`equal`, `added`, `removed`) and `text`. The order reflects the merged sequence — equals first, then any insertion/deletion runs, in source order.
Reading the output
Lines marked `added` exist only in Right, `removed` only in Left. Editor UIs typically render added in green and removed in red; the data structure is the same. Trailing newline differences may show up as a single `added`/`removed` line.
When line-level is too coarse
Long unchanged paragraphs with a single word edited will look as one removed + one added pair, not as a word-level diff. For prose review use a dedicated word-diff or character-diff library; line-diff is best for code.