Skip to content
DocxChanges

Export Word tracked changes and comments to a CSV table, one row per change — Step-by-step guide

Word keeps tracked changes and comments inside the .docx file, where they are hard to sort, filter or total by author. DocxChanges reads the file in your browser and gives you a CSV with one row per insertion, deletion, move, formatting change and comment, with the author, date, paragraph number, heading, changed text and 40 characters of context on each side. A second CSV totals the changes per author. Nothing is uploaded.

What the sample produces

The sample is a Word file written by a script, with insertions, deletions, a move, two formatting changes, a table cell change, two comments and a reply. The check compares every row with values worked out by hand from the sample design, and it counts the same elements in the raw XML with Python's zipfile and xml.etree, which share no code with the engine.

Rows in the changes file
11
Insertions and deletions
3 insertions, 1 deletion
Moves and formatting
2 moves, 2 formatting changes
Comments and replies
2 comments, 1 reply

How to use it

  1. In Word, save the document as .docx with its tracked changes and comments still in it. Do not accept or reject them first, or they will be gone from the file.
  2. Choose one or more .docx files here. The changes CSV lists one row per change or comment, in paragraph order, with the author, date, paragraph number, heading, changed text and context. Download it and open it in Excel or Google Sheets.
  3. Download the authors CSV too. It totals insertions, deletions, moves, formatting changes, comments and replies for each author, so you can see who changed what at a glance.

Supported files

Reads the .docx files saved by Word: the body in word/document.xml, the comments in word/comments.xml and the replies in word/commentsExtended.xml when that part is present. It lists one row per insertion, deletion, moved-from and moved-to element, per formatting change and per paragraph property change, and one row per comment and per reply. Paragraph mark insertions and deletions are not listed. The context is 40 characters before and after the change in its paragraph, and it shows deleted and inserted text as Word stores them. The paragraph number counts the body paragraphs in order, table cells included, and the location is the last heading before the change. Page numbers are not read, and headers, footers and footnotes are separate parts that are not read. Cells that start with =, +, - or @ get an apostrophe in front so Excel does not run them as formulas. Up to 20 files and 50 MB each, read in browser memory. Checked on a generated file, not one saved by Word.

Open DocxChanges

Compare DocxChanges with alternatives