Compare Document Versions in Apple Pages

Ways to compare two versions of a Pages document, including Track Changes, version history, Word export and plain-text diffs, and how each handles moved passages.

If you need to compare two documents in Pages, the first thing to know is that Apple does not generally document Pages as having a two-file "Compare" command like the one in Microsoft Word. Instead, you have a few separate workflows. Some record changes while you edit. Some let you look back at earlier versions. Others work by exporting both files and comparing them with another tool. Each one shows a different kind of difference, and they handle rearranged or moved passages very differently. This guide explains what each approach shows and where it falls short, so you can pick the one that fits your situation.

What a document comparison actually shows

A comparison never changes either document. It reports how the stored text in one version differs from the other: inserted, deleted or replaced characters and words, and with some tools, formatting changes. The tools reach that result in three different ways, and the method decides what you can learn from it.

  • Recorded changes: edits are captured as they happen, so the record shows who changed what. This only works if recording was turned on before the edits were made.
  • Computed differences: a tool reads two finished files and works out the differences afterward. It needs no setup, but it has to guess at intent. For example, it must decide whether a paragraph was moved, or deleted in one place and retyped in another.
  • Visual review: you open an older version next to the current one and compare them by eye. Nothing is highlighted for you.

Moved passages are where these methods diverge most. A basic computed comparison reports a moved paragraph as a deletion in its old position plus an insertion in its new one. That can make a simple reorganization look like a large rewrite. Only tools with explicit move detection label the passage as moved.

Your options for comparing Pages documents

Track Changes inside Pages

Pages includes change tracking, usually found in the Edit menu on Mac. While it is on, insertions, deletions and formatting edits are marked in the document, and each one can be accepted or rejected. It is the most precise option for collaborative editing because it records actual edits rather than inferring them. Its main limitation is that it only works going forward. It cannot compare two files that already exist without tracking. A cut-and-paste move is typically recorded as a separate deletion and insertion rather than as a single move. Menu names and placement can vary between Pages versions and between Mac, iPad and iPhone, so check your own version.

Version history

On a Mac, documents saved locally or in iCloud can usually be reverted to earlier versions through the File menu's Revert To option, which includes a browser of past versions. This is useful when you never made a separate copy and want to see what an earlier draft looked like. You can also restore that draft or copy text out of it. It shows versions side by side, but it does not highlight differences. Finding a small wording change or a moved section means reading both versions closely.

Export to Word and use Word's Compare

Pages can export documents in Word format. If you have Microsoft Word, you can export both versions and open its Compare feature from the Review tab, which produces a single marked-up document. Word's comparison settings include an option for detecting moves, so relocated passages can be marked as moves rather than as deletions and insertions. The tradeoff is conversion. Layout, fonts, text boxes and some Pages-specific elements may not export exactly, and the comparison can flag differences caused by the conversion itself. For text-heavy documents this is usually manageable. For layout-heavy ones, treat formatting differences in the result with caution.

Export to plain text and run a diff

Pages can also export to plain text. Once both versions are text files, any diff tool can compare them on your own machine. This option is fast, precise about wording and free. It also gives you the most control over how moved passages are handled. All formatting is lost, however. Bold, styles, images and layout disappear, and content such as tables, footnotes or floating text boxes may end up in a different order in the text file than on the page.

Side-by-side comparison of the approaches

Approach | Works on existing files | Highlights differences | Handles moved passages | Keeps formatting | Text leaves your device
Track Changes in Pages | No, must be on before editing | Yes | Typically as delete plus insert | Yes | Only if the document is shared
Version history | Yes, if versions were saved | No, visual review only | You must spot them yourself | Yes | No, beyond your existing iCloud or local storage
Word export plus Compare | Yes | Yes | Move detection available in Word's settings | Partly, depends on export fidelity | No, if Word runs locally
Plain-text export plus local diff | Yes | Yes | Depends on the tool; some detect moves | No | No
Plain-text export plus online diff site | Yes | Yes | Depends on the site | No | Yes

Which approach fits your situation

  • You are about to send a document out for edits: turn on Track Changes first. It gives the clearest record and lets you accept or reject each change.
  • You only have one file and want to see an older draft: use version history, then copy out or restore what you need.
  • You have two separate files and need a marked-up result with formatting: export both to Word format and use Word's Compare with move detection enabled.
  • You care only about wording, or you suspect sections were reorganized: export both to plain text and use a diff tool that detects moved lines.
  • The document is confidential: stay with local tools and avoid pasting text into a website.

Comparing documents with moved passages

When a reorganization is the main change, choose a tool that recognizes moves. Two local options are Word's Compare with moves enabled, or Git's diff command run outside a repository. Git can color moved lines separately from true insertions and deletions, and it can show changes word by word instead of line by line. Git must be installed for this to work. The commands below are examples, not tested output, and they assume the two versions were exported as draft-v1.txt and draft-v2.txt.

# Line-by-line comparison with moved lines colored separately
git diff --no-index --color-moved=zebra draft-v1.txt draft-v2.txt

# Word-level comparison, useful when each paragraph is one long line
git diff --no-index --word-diff draft-v1.txt draft-v2.txt

# Standard Unix diff, available on macOS, with no move detection
diff -u draft-v1.txt draft-v2.txt

Plain-text exports usually put each paragraph on a single line. A line-based diff will therefore mark a whole paragraph as changed even if only one word differs, which is why the word-level option is often easier to read. Move detection also works best when a moved passage is identical in both versions. If it was edited after being moved, most tools report it as a deletion and an insertion again.

Will the comparison result be readable and usable?

  • Formatting fidelity: a Word-format export can shift layout. A comparison of exported files may flag differences that come from the conversion, not from anyone's edits. Check flagged formatting changes against the original Pages files.
  • Plain text loses structure: headings, lists and tables become plain lines, and the order of elements outside the main text flow may change. Confirm anything surprising in the original document.
  • Color-only cues: colored diff output, including moved-line coloring, relies on color to carry meaning. Readers who cannot distinguish the colors, or who use a screen reader, will get more from the plus and minus markers in unified diff output or from Word's explicit change labels.
  • Copying results elsewhere: highlights in Track Changes and Word's Compare are document markup. Pasting the text into another app may drop them, so share the marked-up document itself or a PDF export if the markup must survive.
  • Online comparison sites: pasting text into a website sends it to a third party, where it may be stored or logged. For contracts, personal data or unpublished work, use a local tool instead.

Gaps and things to verify

This guide is based on generally described features of Pages, Word and common diff tools. No specific Pages version, device or test documents were evaluated for it. Menu locations, export options and how tracked changes carry over into Word format can differ between Pages releases and between Mac, iPad and iPhone. Before you rely on a result, run a short trial with a copy of your own document and confirm the output in the app where it will be used.