Tracked changes from Word, as data. A contract’s tracked changes record who changed what, and when. Parsers that work from a PDF or from plain text lose that record. AILANG Parse reads the revision marks in the DOCX and returns every insertion, deletion and move with its author and date, so a review tool or an LLM sees the negotiation and not only the final text.
The Problem
Track changes are the negotiation history of a document. In contract review, every insertion and deletion matters: who changed what, and when.
Most document parsers drop them.
How It Works
A DOCX file is a ZIP archive of XML files that follow the Office Open XML standard (OOXML, ECMA-376). Word stores each tracked change as a revision mark inside the document text (word/document.xml).
AILANG Parse reads these marks directly:
w:ins: insertions. It wraps the inserted text and carries the author (w:author) and date (w:date).w:del: deletions. It wraps the deleted text, which Word keeps in the file even though it shows it struck through.w:rPrChange: formatting changes (bold, italic, font size, color), with the formatting before and after.
Each mark carries the author name and an ISO 8601 timestamp, and both are returned exactly as written. AILANG Parse does not accept or reject the changes. It returns them as data, so your application decides what to do with them.
Changes in the output
AILANG Parse returns a document as a flat list of blocks. There are 9 block types: Text, Heading, Table, Image, Audio, Video, List, Section, and Change.
Each tracked change becomes a Change block, which carries:
- type:
"insertion","deletion", or"formatChange" - author: the author name from the revision mark
- date: the ISO 8601 timestamp
- content: the text that changed
A change is a block like any other, not a note attached to a text block. It appears in the JSON and in converted output, including Quarto Markdown, where it is written as CriticMarkup.
What Gets Extracted
| Change type | OOXML element | What you get |
|---|---|---|
| Insertions | w:ins | Author, date, inserted text |
| Deletions | w:del | Author, date, deleted text |
| Formatting | w:rPrChange | Author, date, description of the formatting change |
| Move from | w:moveFrom | Author, date, the text at its original position |
| Move to | w:moveTo | Author, date, the text at its new position |
| Section settings | w:sectPrChange | Author, date, the section setting that changed |
| Paragraph formatting | w:pPrChange | Author, date, the paragraph formatting that changed |
Every change type keeps the full author name and ISO 8601 date from the file. Nothing is guessed.
Example Output
For a DOCX contract with tracked edits from two authors, AILANG Parse returns output like this:
[
{
"type": "Heading",
"level": 1,
"content": "Service Agreement"
},
{
"type": "Text",
"content": "This agreement is entered into between Party A and Party B."
},
{
"type": "Change",
"changeType": "deletion",
"author": "Sarah Chen",
"date": "2026-03-15T14:32:00Z",
"content": "30 calendar days"
},
{
"type": "Change",
"changeType": "insertion",
"author": "Sarah Chen",
"date": "2026-03-15T14:32:00Z",
"content": "45 business days"
},
{
"type": "Text",
"content": "written notice to the other party."
},
{
"type": "Change",
"changeType": "insertion",
"author": "James Park",
"date": "2026-03-17T09:15:00Z",
"content": "Termination for cause requires documented breach with a 15-day cure period."
},
{
"type": "Change",
"changeType": "formatChange",
"author": "James Park",
"date": "2026-03-17T09:16:00Z",
"content": "Indemnification clause modified (bold applied)"
}
]
Every change is its own block with its own author and timestamp. You can filter by author, sort by date, or show the changes visually, as AILANG Parse does when it converts to Quarto Markdown with CriticMarkup.
Other Parsers
OfficeDocBench includes Word files with tracked changes. This is how many of them each parser returned the changes for:
| Parser | Tracked changes returned |
|---|---|
| AILANG Parse | 3 of 3 files |
| Pandoc | 3 of 3 files |
| Extend | 3 of 3 files |
| Unstructured | 0 of 3 files |
| Docling | 0 of 3 files |
| LlamaParse | 0 of 3 files |
| MarkItDown | 0 of 3 files |
| Kreuzberg | 0 of 3 files |
| LiteParse | 0 of 3 files |
Read from the published OfficeDocBench results. A parser that returns the changes may still return less detail: AILANG Parse gives each change its author, date and type.
Try It
Upload a DOCX with track changes and see the Change blocks in the output. Compare it with what your current parser returns.
Frequently Asked Questions
How do I extract track changes from a DOCX file programmatically?
AILANG Parse reads the revision marks in the DOCX (w:ins, w:del, w:moveTo/w:moveFrom) and returns each change with its author, timestamp and change type.
Do other document parsers preserve track changes from DOCX files?
The four other parsers compared on this page do not. A parser either converts the file to PDF, which removes the changes, or extracts plain text and ignores revision marks. See the comparison page for details.
Can I get track change author and date information from a DOCX?
Yes. Every change comes with its author (w:author) and date (w:date). Dates are ISO 8601 timestamps, so you can filter, sort or build an audit trail.
What does deterministic document parsing mean?
The same file always gives the same output. AILANG Parse reads the file by fixed rules and uses no machine-learning model, so nothing varies between runs.
Format Guides
AILANG Parse reads track changes from DOCX and PPTX files. The format guides list everything else it extracts: