Text Studio · Windows 10 and 11
Compare two texts and see what changed
A diff checker built into Text Studio: your text sits on the left, and you paste the other version into the panel on the right. Text Studio lines them up and marks every line that is only in one of them, so a changed clause, a removed setting or a new list item stands out.
How to compare two texts
- 1
Put in your version
Paste one version into Text Studio, or Open its file.
- 2
Open Compare
Press Compare in the bar along the top. A panel opens beside your text.
- 3
Paste the other version
Paste the second version into the box that says Paste the other version here. The differences appear under it straight away.
- 4
Read the result
Lines marked + are only in the other version, lines marked − only in yours. The counts at the top say how many of each.
How a line-by-line comparison works
Text Studio looks for the longest series of lines that both versions share in the same order, the idea classic diff tools are built on. Those lines are shown plain. Every other line is marked: − if it is only in your text, + if it is only in the other version.
- An edited line shows twice: the old one with −, then the new one with +.
- A moved line shows as removed where it was and added where it went.
- Unchanged lines stay in the list, so you read the whole text in order with the changes marked inside it.
Lines must match exactly to count as the same. A trailing space, a curly quote where there was a straight one, or a single capital letter is enough to mark a line as changed. Empty lines are lines too, so an extra gap between two paragraphs shows up as a row of its own.
Made for lists, code and data
Because the unit is a whole line, comparing shines where each line means something on its own: configuration files, code, CSV exports, word lists, translation files, checklists and subtitles. A changed setting or one new row stands out at once. In a subtitle file, the timing lines show exactly which captions were moved.
Prose is harder. A paragraph is usually a single long line, so one changed comma marks the whole paragraph with − and +, and you read the pair to find the change. Text Studio does not highlight the changed words inside a line.
When the two versions come from different places, tidy each the same way before comparing: Collapse extra spaces and Straighten quotes in Clean remove differences nobody cares about, so only the real changes are left marked.
Comparing two files
The left side is Text Studio's page itself, and the panel takes a paste, so comparing two files takes one extra step:
- Open the other version with Open and press Copy all.
- Open your own version.
- Press Compare and paste into the panel with Ctrl V.
Any file Text Studio opens works: .txt, .md, .csv, .json, .xml, .html, .yaml, .ini, .srt and the rest. The panel keeps what you pasted while you open files and edit your own side. A version that arrived in a chat or an email can go straight into the panel without being saved as a file first.
Comparing two exports of the same list, where the rows may come out in a different order each time? Sort each version with A to Z before you bring them together, so a row that only moved does not show up as removed and added.
Other ways on Windows
Command Prompt has fc, short for file compare: fc old.txt new.txt prints the blocks of lines that differ between two files, and its /c and /w switches ignore capitals and runs of spaces, two things Text Studio's comparison always counts. PowerShell's Compare-Object lists the lines found in only one of two inputs. For Word documents, the Compare command on Word's Review tab marks changes word by word as tracked changes, and programmers have diff built into Git and their code editors.
Text Studio sits in between: no command to remember, one version can come straight from the clipboard, and the whole text stays readable with the changes marked in place. It shows differences rather than merging them, so when you want a line from the other version, copy it across by hand.
Questions, answered
Does it show which words changed inside a line?
No, it marks whole lines. When a long line appears as − and then +, compare the two by eye, or split the paragraph into shorter lines and compare again.
What do the + and − numbers mean?
+N only in the other counts lines found only in the version you pasted, and −N only in yours counts lines found only in your text. An edited line adds one to each.
How long can the texts be?
If the two line counts multiplied together pass four million, two texts of 2,001 lines each for example, no result is shown. Compare long files a section at a time.
Can it ignore spaces or capital letters?
No, lines must match exactly. If those differences do not matter, clean both versions the same way first, for example with Collapse extra spaces or a change in Case.
Can I edit while comparing?
Yes. Change your text on the left and the comparison updates as you type, so you can copy a missing line across and watch the counts fall.
Are the two versions kept private?
Yes. Both stay in Text Studio on your computer, so contract drafts or config files with passwords in them can be compared without pasting them into a website.
Compare text, and 16 more apps.
Download for Windows7 days free, then from $3.99 a month for all 17 apps. Windows 10 and 11.