Edit counter · Free · Nothing uploaded

Edit Counter

Short answer

An edit counter compares a draft before and after editing and counts what changed. This one shows the words kept, cut, added and moved, not only the net change, so replacing 100 words with 100 others reads as 200 words changed rather than none. It also reads a Word file’s tracked changes.

The example drafts: 57 words to 49, a net change of −8 made of 16 cut, 8 added and 8 moved.

0 words0 cut · 0 added · 0 movedPaste the original and the edited text below, or open a Word file with tracked changes.

Nothing typed yet. Both drafts are kept in this browser only.

Net change
0
Words kept
0
Words cut
0
Words added
0
Words moved
0
Words changed
0
Kept word for word
–
Changed per 1,000
–

Before and after

The two drafts counted, and the change
CountOriginalEditedChange
Words000
Characters000
Without spaces000
Sentences000
Paragraphs000

What changed

Each change is listed here with a few words either side.

Compared in this browser. Both drafts are kept on this device so they survive a reload, and are never sent anywhere: Clear both removes them.

Paste the original and the edited draft, or open a Word file with tracked changes. The words kept, cut, added and moved update as you type, and nothing leaves your browser.

An edit count, for a piece of writing, is how much of it changed between two drafts: the words removed, the words added and the net change in length. A word processor’s count gives only the net, which hides an edit that replaces as much as it removes.

  • No sign-up
  • Nothing uploaded
  • Rule stated
  • Works offline
  • Reads tracked changes

Key facts

Edit counter at a glance
DetailAnswer
PriceFree, no sign-up, nothing to install
CountsWords kept, cut, added and moved, net change and words changed
Compared byMyers’ difference algorithm (1986), word by word
A word isThe word counter’s rule: a run of letters or digits
MovedA sentence of 4 words or more, identical in both drafts
Not a word changePunctuation, spaces, line breaks, curly or straight apostrophes
FilesA .docx’s tracked changes, read on your device
Where drafts are keptThis browser only

How to count the words changed in an edit

Put both drafts in, read the board, then read the list of changes.

  1. Put in the original

    Paste the first draft into the Original box.

  2. Put in the edited draft

    Paste the edited version into the Edited box, or press Copy the original into Edited and edit it there.

  3. Or open a Word file

    A .docx with tracked changes fills both boxes: changes rejected in the first, accepted in the second.

  4. Read the board

    The net change is at the top, with the words cut, added and moved under it.

  5. Check the counts

    The before-and-after table gives words, characters, sentences and paragraphs.

  6. Read the changes

    The list shows each change with the words around it, cut struck through and added underlined.

Who uses an edit counter

Anyone who needs to know how much an edit changed, not only how long the result is.

  • Writers revising

    Progress on a rewrite that cuts as much as it adds, which a running word count shows as standing still.

  • Editors

    The size of an edit to report to a client or to price, in words changed rather than the net.

  • Translators and revisers

    The amended text in a Word file with Track Changes, counted without accepting or rejecting anything.

  • Students

    How far a second draft moved from the first, and whether a cut to a word limit kept the argument.

  • Teams

    What changed between two versions of a policy, a contract clause or a press release.

  • Teachers

    How much a student’s resubmission changed from the first attempt.

Why the net change hides the edit: kept, cut, added and moved

A word processor’s count, and the one edit counter in the search results, give the net change: the words in the edited draft less the words in the original. The net is what a limit cares about, but it hides the editing. Replace a hundred words with a hundred others and the net change is zero. Cut a long sentence and write a short one in its place, and the net shows only the difference between them. As a Scrivener user put it on the Literature & Latte forum, a counter that only shows the net makes cutting look like negative progress and mixed editing barely move the number.

This counter compares the drafts word by word and splits the net into its parts:

  • Kept: words in both drafts, in the same order.

  • Cut: words in the original that are not in the edited draft.

  • Added: words in the edited draft that are not in the original.

  • Moved: whole sentences of four words or more that are word for word the same in both drafts but in a different place.

The parts always add up. The original is kept + cut + moved; the edited draft is kept + added + moved; and the net change is added − cut. Words changed is cut + added, the size of the edit whatever it did to the length.

The example drafts on the tool: the net change and what it is made of
MeasureWordsWhat it says
Original57Six sentences in two paragraphs
Edited49Six sentences in two paragraphs
Net change−8All a net count shows
Kept33Untouched, in order
Cut16Removed, or replaced
Added8New words
Moved8One sentence, from the second paragraph to the first
Words changed24Three times the net change

The example, worked. The original meeting note has 57 words and the edited one 49, a net change of −8. Behind it are 16 words cut and 8 added: numbers became figures, the became three, half past went in, ahead went out, and a 16-word sentence about the meeting running long became the 7-word The meeting is capped at forty minutes, keeping 3 of its words. One 8-word sentence, Anyone can add an item to the agenda, moved up a paragraph and counts as moved rather than as 8 cut and 8 added. 41 of the 57 original words survive word for word, kept or moved: 71%.

How each kind of edit is counted

The drafts are split into words by the word counter’s rule: a word is a run of letters or digits, and an apostrophe, a hyphen or a full stop between two of them joins them. So the totals here are the word counter’s totals for each draft; other tools split hyphens, dashes and numbers differently, as why word counts differ shows, so on ordinary prose their totals can differ by a word or two in a hundred. Then the two lists of words are lined up with Myers’ difference algorithm, published by Eugene W. Myers in 1986 (“An O(ND) Difference Algorithm and Its Variations”, Algorithmica 1) and the default in git. It finds the longest run of words the two drafts share in order, and everything else is cut or added. Of all the ways to explain the difference, it picks one with the fewest words cut and added.

Four choices decide the counts, and they are stated here because a different tool may make them differently:

  • Words are compared exactly. A change of capital letter, the to The, is one word cut and one added: an editor made it, so it counts.

  • Punctuation, spaces and line breaks are not words. A comma added, a full stop turned into an exclamation mark or a paragraph split in two changes no word; the character counts in the before-and-after table show it.

  • A curly and a straight apostrophe are the same. Word processors swap one for the other as you type, so it's and it’s are one word unchanged.

  • A moved sentence is moved. A sentence of four words or more that appears word for word in both drafts, in a different place, counts as moved. The drafts are then compared again without it, so the move does not disturb how the rest lines up. A sentence that moved and was also edited counts as cut and added, and so does a moved sentence under four words, because a short sentence such as Yes. turns up in many places by chance.

How each kind of edit is counted (¶ marks a line break)
The editOriginalEditedCutAddedMovedNet
A word replacedThe numbers were good.The figures were good.1100
A word insertedThe numbers were good.The numbers were very good.010+1
A word deletedThe numbers were good.The were good.100−1
A capital letterthe numbers were good.The numbers were good.1100
Punctuation onlyThe numbers were good.The numbers, were good!0000
A straight apostrophe made curlyIt's done.It’s done.0000
A paragraph split in twoOne two three four. Five six seven eight.One two three four. ¶ Five six seven eight.0000
Two words hyphenated into oneA well known fact.A well-known fact.210−1
A sentence moved unchangedAlpha beta gamma delta. Kept one here now. Kept two here now.Kept one here now. Kept two here now. Alpha beta gamma delta.0040
A sentence moved and editedAlpha beta gamma delta. Kept one here now. Kept two here now.Kept one here now. Kept two here now. Alpha beta gamma epsilon.4400
A short sentence movedYes. Kept one here now. Kept two here now.Kept one here now. Kept two here now. Yes.1100

Two rows have a net change of zero and real edits behind them: the replaced word and the capital letter. Hyphenating well known into well-known is a net change of −1, because two words became one, and it shows as two cut and one added.

Counting a Word file’s tracked changes without uploading it

Editors and translators often work in Microsoft Word with Track Changes on, and the question they ask on forums such as ProZ.com is how to count only the amended text. A word processor counts the document as one text. The usual workaround is to save two copies, accept every change in one and reject every change in the other, and count each.

Open a Word file does that in one step, in this browser. A .docx file is a zip archive; the page opens it on your device, reads the document’s main text and its revision marks, and fills both boxes:

How a .docx file’s tracked changes become the two drafts
In the fileOriginal boxEdited box
Text with no revisionYesYes
A tracked insertionNoYes
A tracked deletionYesNo
A tracked moveAt its old placeAt its new place
A formatting change (bold, font, style)Not a word change: the text is the same in both
Text boxes, footnotes, headers, footers, comments, field codesNot read, as in the word counter

The original box is the document with every change rejected, and the edited box the document with every change accepted. A tracked move of a whole sentence is then counted as moved like any other, and a move of part of a sentence as cut and added. If the file has no tracked changes, both boxes hold the same text and the page says so: paste an earlier version into the first box, or edit the second. Older .doc files, PDFs and .odt files are not read; copy the two versions out of them and paste.

Kept word for word, and words changed per 1,000

Two figures describe the size of an edit rather than its effect on the length:

  • Kept word for word is the share of the original that survives unchanged, kept or moved: (kept + moved) ÷ original words. It is rounded down, so 100% means nothing was cut.

  • Changed per 1,000 is words changed for every thousand words of the original: (cut + added) ÷ original words × 1,000. It lets a 500-word letter and a 50,000-word manuscript be compared.

The two rates for the example drafts
RateSumResult
Kept word for word(33 + 8) ÷ 5771%
Changed per 1,000(16 + 8) ÷ 57 × 1,000421

The changed rate can pass 1,000: rewrite every word of a draft and each one is cut once and its replacement added once, 2,000 per 1,000. There is no standard figure for a light or a heavy edit; publishers, agencies and journals each set their own, and they measure it in different ways, often by the hour or by the page. Use the rates to compare your own drafts and edits with each other, and if a contract prices by words changed, agree with the client first what counts as a change, using the table above.

What this edit counter does not do

Counting your edits on Wikipedia? That is a different edit counter: the number of edits an account has made to a wiki. Wikipedia shows it in your preferences, and the XTools Edit Counter breaks it down; Wikipedia’s article on edit count explains it. This page counts the words that changed between two drafts of a text.

What the edit counter does and does not do
It doesIt does not
Count the words kept, cut, added and moved between two draftsCount edits to a wiki, or keystrokes and time spent editing
List each change with a few words either sideShow the two drafts side by side in full, as a document comparison does
Treat a whole sentence moved unchanged as movedRecognise a sentence that was moved and reworded, or a paraphrase: those count as cut and added
Read a .docx file’s tracked changes on your deviceRead .doc, PDF or .odt files, or send your drafts anywhere
Measure how much changedJudge whether the edit made the writing better

This edit counter, a net edit counter, Track Changes or two word counts

Four ways to see what an edit did to a draft, and where each stops.

Edit counter compared with the other ways to measure an edit
 This edit counterA net edit counterTrack ChangesTwo word counts
Net changeYesYesCount each version yourselfYes, by subtracting
Words cut and addedYes, separatelyNoMarked, not countedNo
Moved sentencesCounted as movedNoMarked as movedNo
Two drafts you already havePaste bothOnly edits made in its boxWord’s Compare documentsYes
Rule statedWord rule, diff and movesNoNot documentedEach tool’s own
Where your text goesNowhere: this browser onlyOften an accountYour computer, or the provider’s cloudDepends on the tool

Frequently asked questions

How do I count the words I changed between two drafts?

Paste the first draft into the Original box and the second into the Edited box. The board shows the net change, and under it the words cut, added and moved, which add up to the two totals. Words changed, cut plus added, is the size of the edit. The list below the table shows each change with the words around it.

Why does my word count barely change after a heavy edit?

Because a word count shows only the net: the words added less the words cut. A rewrite that replaces about as much as it removes leaves the total nearly where it was. The example drafts here lose 8 words net, but 16 were cut and 8 added, 24 words changed. Counting cut and added separately shows the work.

Does a moved paragraph count as an edit?

Here, a sentence of four words or more that is word for word the same in both drafts, but in a different place, counts as moved, not as cut and added. A moved paragraph counts as moved, a sentence at a time. A sentence that was moved and also reworded counts as cut and added, because it is no longer the same sentence.

How do I count only the tracked changes in a Word document?

Open the .docx file here. The page reads it on your device and fills the Original box with every change rejected and the Edited box with every change accepted, then counts the words cut, added and moved between them. Inserted text counts as added, deleted text as cut, and a tracked move of a whole sentence as moved.

Does changing a capital letter or a comma count as an edited word?

A capital letter does: the to The is one word cut and one added, because the word changed. A comma, a full stop or any other punctuation does not, and neither do spaces or line breaks, because they are not words. They do change the character counts, which the before-and-after table shows. Swapping a straight apostrophe for a curly one changes nothing.

What is the difference between net change and words changed?

Net change is the edited draft’s words less the original’s: it says whether the text got longer or shorter. Words changed is the words cut plus the words added: it says how much editing was done. Replacing 10 words with 10 others is a net change of 0 and 20 words changed.

How is the difference between the two texts found?

With Myers’ difference algorithm, published in 1986 and the default in git. It lines up the longest run of words the two drafts share in order, and counts the rest as cut or added, choosing the fewest changes that explain the difference. Words are split by the word counter’s stated rule, so each total matches the word counter.

Is this the Wikipedia edit counter?

No. Wikipedia’s edit counters, such as XTools, count how many edits an account has made to a wiki. This edit counter counts the words that changed between two drafts of a piece of writing: kept, cut, added and moved. For a wiki account, look at your preferences on the wiki or at XTools.

Are my drafts uploaded or saved?

They are saved in this browser’s storage on your device, so a reload does not lose them, and they are never uploaded: the comparison, and reading a .docx file, happen on your device. Clear both deletes them. On a shared computer, clear the boxes when you finish, as you would close a document.

Open the edit counter

Free, no sign-up, and what you enter stays in your own browser.