Compare Word documents

Compare the paragraph text of two DOCX Word documents on your device. Download an HTML report of additions and removals.

or drop them here · files stay on your device · pick at least 2
We count formats and sizes. Filenames stay private unless you opt in.

Downloads a small public example. Your own files are not used.

Include unchanged paragraphs
Processed on this device
  • Runs on your device
  • No sign-up or watermark
  • No fixed file size cap

The short answer

To compare two Word documents without uploading, select both DOCX files together, check that the original is first and the revision second in the displayed list, then press Compare the two. Download comparison.html to see removed paragraphs in red and added paragraphs in green. A one-word edit marks the whole paragraph as removed and added. Formatting-only changes are not reported.

A worked example

See a real input and result

This synthetic sample produced 1 output file from 2 input files. These are synthetic demonstration files, not someone’s documents.

Input sample

Actual output

Input count
2
Output count
1
Paragraphs added
1
Paragraphs removed
1
Input 1 paragraphs
["one","two"]
Input 2 paragraphs
["one","TWO"]
Comparison scope
Paragraph-level: unchanged "one"; removed "two"; added "TWO". Unchanged context is omitted from this HTML output.
Input bytes
2010
Downloadable output bytes
546

Settings used: context: false

This synthetic sample only; results depend on the input. DOCX inputs only in this sample. Paragraph-level text example; review the output before use.

Ran through this tool on . Use “Try sample files” above to run it yourself.

How to compare two Word documents and see the differences

  1. STEP 1

    Choose the two documents

    Select both .docx files in one picker operation. Check that the original is first and the revision second in the displayed list. A new selection replaces the old one.

  2. STEP 2

    Choose how much to show

    Leave "Include unchanged paragraphs" off to see only the differences, or turn it on to read changes in context.

  3. STEP 3

    Press Compare the two

    The report shows how many paragraphs were added and removed, with zero in both counts when the extracted text matches.

  4. STEP 4

    Open comparison.html

    Download the report and open it in any browser to read, print or save it as a PDF.

What document comparison does

Compare two versions of a report, letter or draft to see which paragraph text was added or removed. The first file is the original; the second is the revision. Reversing them swaps additions and removals.

Comparisons work at a chosen granularity: by line, by paragraph, by word or by character. Coarser levels are easier to read for heavily rewritten documents; finer levels catch a single changed figure. This tool compares whole paragraphs, so a paragraph with any change is shown as the old version removed and the new version added.

What survives, and what does not

Each .docx is unzipped and read into a list of paragraphs with whitespace normalised. The two lists are aligned with a longest-common-subsequence algorithm, the same idea behind diff tools for code, so an inserted or deleted paragraph does not throw the rest of the comparison out of step. The output is a self-contained HTML page showing both file names and a count of paragraphs added and removed.

What you keep

Every added paragraph, marked + on a green background

Every removed paragraph, marked - on a red background

Counts of paragraphs added and removed

Optionally, the unchanged paragraphs for context

Text in tables, compared one row at a time where each table sits

What you lose

Word-level highlighting: a one-word edit shows the whole paragraph as removed and re-added

Formatting-only changes such as bold, font or colour

Changes in images, headers, footers, footnotes and comments

PDF and .doc files, which this tool does not read

Honest limits are published on every tool page. If a tool cannot do something well, it says so here rather than letting you find out after the download.

Compare Word documents at a glance

InputTwo DOCX files
OutputHTML report (comparison.html)
GranularityParagraph level
AlgorithmLongest common subsequence
Runs onYour device, in the browser
Works offlineAfter the first use

If something goes wrong

A tiny edit shows a whole paragraph as changed

That is how a paragraph-level comparison reports it. Read the red and green versions together to spot the edit, or save both as plain text and use Diff two files for a line-by-line view.

Nothing changed, but I know the formatting is different

Only text is compared. Formatting changes, such as a phrase made bold, do not show. A zero-change result does not mean that the files have identical formatting or layout.

Very long documents are slow

The alignment compares every paragraph against every other one, so two documents with thousands of paragraphs each use a lot of memory. Split very large files into sections and compare those.

Compare Word documents questions

How do I compare two documents online for free?

Pick both .docx files on this page and press Compare the two. It is free with no sign-up. Only DOCX is supported, and comparison runs inside your browser. The download is an HTML paragraph report, not a Word document with tracked changes.

Can I compare two Word documents and highlight the differences?

Yes. The report highlights added paragraphs in green with a + and removed paragraphs in red with a -. Highlighting is per paragraph rather than per word, so look at each red and green pair to find the exact change.

Are my documents uploaded to compare them?

No. Both files are unzipped and compared by JavaScript in your browser tab, and the report is generated there. You can disconnect from the internet after the page loads and the comparison still runs.

Can I compare PDF files with this tool?

No, it reads .docx only. For PDFs, use Compare two PDFs on this site, which also runs on your device. For plain text or code, Diff two files compares line by line.

Does it compare formatting or only text?

Only text. Two documents whose words are identical but whose fonts, bold or layout differ will be reported as identical.

Can I download the comparison as a Word document?

No. The output is comparison.html, which opens in a browser. It shows added and removed paragraphs, not tracked changes in a DOCX. Your two source files are not modified.

One of 153 file tools and planned additions. Built and tested by Arin Prajapati, last checked against the code on . canonical: https://damnfiles.com/compare-documents
Analytics preferences

Help us understand which tools and file types people use. File contents always stay on your device.

Filename sharing is optional and off by default. Names can contain personal information. Changes apply to future events; disabling sharing does not delete earlier records.

Read our privacy policy