டெவலப்பர் கருவிகள்
உரை வேறுபாடு சரிபார்ப்பி
உரையின் இரண்டு பதிப்புகளை வரிக்கு வரி அல்லது சொல்லுக்குச் சொல் ஒப்பிட்டு, என்ன சேர்க்கப்பட்டது அல்லது நீக்கப்பட்டது, எவ்வளவு ஒத்துள்ளன என்று பாருங்கள்.
விரைவான பதில்கள்
How do I compare two texts?
Paste the old version in Original and the new one in Changed. The tool marks every line or word that was added or removed, and shows how similar the two texts are. It works in your browser, so nothing is uploaded.
Should I compare lines or words?
Compare lines for code, lists and documents where whole lines change. Compare words for a paragraph or an essay where a few words were edited.
About the Text Diff Checker
The Text Diff Checker compares two versions of a text and shows exactly what was removed (−, red), added (+, green) or kept the same. Compare by line for documents and code, or by word to see small edits inside a sentence, and see a similarity score at a glance.
What you can do with the Text Diff Checker
- Clear colours: Removed lines in red (−), added in green (+).
- Line or word mode: By line for documents and code, by word for small edits.
- Similarity score: See how alike the two versions are at a glance.
- Side-by-side input: Paste the old and new versions and compare instantly.
How the comparison works
The tool finds the longest sequence shared by both versions, the same idea used by version-control tools like Git. If a line is inserted near the top, only that line is marked as added, rather than every line after it showing as changed.
Lines or words?
"Compare lines" is best for code, lists and documents: an edited line shows as one removed line and one added line. "Compare words" highlights the exact words that changed inside the text, which suits essays, contracts and messages.
Hidden differences
Two lines that look identical can differ by a trailing space or a capital letter. "Ignore extra spaces" is on by default; switch on "Ignore capitals" too if capitalization doesn't matter.
Related tools
நிஜ வாழ்க்கை உதாரணங்கள்
Two versions of an agreement
Paste the old draft on one side and the new draft on the other to see exactly which lines were added or removed.
Checking an edited assignment
Compare your draft with the version a friend corrected, word by word, to see every change.
Frequently Asked Questions
Does it compare words or lines?
Both. Choose "Compare lines" or "Compare words".
Is my text uploaded?
No. The comparison runs entirely in your browser, which makes it safe for confidential documents.
How long can the texts be?
Up to a few thousand lines each. Very large documents may need to be compared section by section.
How do I compare two versions of a document online?
Paste the older text into the Original box and the newer text into the Changed box. The result updates as you type: removed lines are marked with a minus in red, added lines with a plus in green, and the counts above show how many lines were added, removed or kept.
How is the similarity percentage worked out?
It is twice the number of matching lines (or words) divided by the total number of lines in both versions, times 100. In the sample, 2 of 4 lines match on each side, so 2 x 2 / 8 = 50% similar. It measures shared lines or words, not meaning.
Why does a line show as removed and added when I only changed one word?
In line mode a line counts as the same only if it matches exactly, so any edit makes it a removed line plus an added line. Switch to Compare words to see the exact words that changed inside the sentence.
How do I ignore differences in spacing or capital letters?
Turn on Ignore extra spaces to treat runs of spaces and leading or trailing spaces as equal, which is on by default. Turn on Ignore capitals so "Invoice" and "invoice" count as the same. Both toggles update the result immediately.
Can I use it to compare code or config files?
Yes. Line mode suits code, JSON, CSV and config files because each line is compared as a unit using the longest common subsequence, so an inserted line does not make every line after it look changed. Keep Ignore extra spaces off if indentation matters.
What does Swap sides do?
It moves the Changed text into the Original box and the Original text into the Changed box, then compares again. Added lines become removed lines and the other way round, which helps if you pasted the two versions into the wrong boxes.
How do I share or save the differences?
Use the Copy as diff button. It copies the comparison as plain text, with a plus before added lines, a minus before removed lines and two spaces before unchanged lines, so you can paste it into an email, chat message or ticket.
Is this useful for checking changes in a contract or agreement?
It is a quick way to spot wording that was added, removed or reworded between two drafts, such as a rent agreement or offer letter. Paste plain text, use Compare words for small edits, and still read the final version fully before you sign.
More developer tools
- Regex சோதனை: Test a regular expression on your own text: every match is marked as you type, with groups, a plain-English explanation and find-and-replace.
- CSV இலிருந்து JSON மாற்றி: Turn CSV or Excel data into JSON, or JSON into CSV that opens correctly in Excel, with a table preview, any separator and nested JSON flattened into columns.
- Cron வெளிப்பாடு விளக்கம்: Paste a cron schedule like 0 9 * * 1-5 and see what it means in plain English, the next 10 run times in IST, UTC or your own time, and each part explained.
- கோட் மினிஃபையர்: Minify HTML, CSS and JavaScript: remove comments, spaces and line breaks to make files smaller and pages faster, and see the size saved before and after gzip.
- Markdown இலிருந்து HTML மாற்றி: Write or paste Markdown and see it as a formatted page, then copy the HTML or download a full web page. Supports tables, task lists and code blocks.
- மெட்டா டேக் ஜெனரேட்டர்: Make the meta tags for a web page: title, description, Open Graph and Twitter cards, with a live Google result preview and WhatsApp share preview.