1. Home
  2. Documents
  3. Compare Documents

Compare Documents

Show the text differences between two Word or Hangul documents side by side.

Runs in your browser · No upload
Left (original)
Right (changed)
Add one file on each side to see the differences in their text.

How to use

  1. Put the original on the left and the changed file on the right. Formats may differ (for example HWP against DOCX, or PDF against DOCX).
  2. As soon as both files are read, the comparison appears. For a password-protected document, enter the password in its box.
  3. Choose the compare unit (lines, words, characters) and the view (side by side or inline). In side-by-side line mode, the words that changed inside a modified line are highlighted too.
  4. Check the added and removed line and word counts at the top, then save with Save diff as text or Save HTML report.

Normalization options

Option Effect Default
Collapse runs of spaces Several spaces or tabs count as one On
Ignore blank lines Differences in the number of blank lines are ignored On
Ignore leading/trailing spaces Indentation differences are ignored Off
Ignore case Letter case is ignored Off

Each format breaks lines and spaces differently (a PDF, for instance, breaks lines wherever the page layout does), so without these options identical content can show many differences. Keep the defaults when comparing two different formats.

What is compared

  • Text only. Fonts, sizes, colors, pictures and table layout are not compared. Text inside tables is read in sequence with the body.
  • Page numbers do not matter: documents are compared by where the text sits, so a paragraph added in the middle that shifts the pagination causes no trouble.
  • For example, if 계약금은 100만원으로 한다. becomes 계약금은 200만원으로 한다. and a 제4조 해지 line is added, the totals are 2 added and 1 removed by lines, and 3 added and 1 removed by words.
  • Diff text prefixes unchanged lines with spaces, removed lines with - and added lines with + in line mode. Word and character modes use [-removed-]{+added+}.
  • The HTML report is a static file with every piece of document text escaped. It contains no script and loads no external resources.

Limits

  • Over 500,000 characters per document, only line comparison is used and the word totals are skipped.
  • When there are too many differences the comparison stops after 1.5 seconds; switch the unit to lines.
  • A file with no text, such as a scanned PDF, has nothing to compare. Old .doc files cannot be read.

Related: Text Diff, Compare PDFs, Search Text in Multiple Files, Document Word Count.

Your files are processed only in your browser and never sent to a server.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.