Pages, Numbers and Keynote versions: the hidden document revisions folder, measured with a script

By the Zofle team · 15 November 2026 · 4 min read

Hidden document revisions folder on a Mac

Apps built on Apple's document framework (Pages, Numbers, Keynote, TextEdit, Preview and many third-party apps) quietly keep earlier versions of every document you save. They are not inside the document and you cannot see them in Finder. They live in a hidden folder, .DocumentRevisions-V100, at the root of the volume. We could not list that folder (it is root-only), so we measured it with Apple's own API instead, and the result is: each version costs the full size of the document.

Where the versions are, and why you cannot just look

bash
ls -ldO /System/Volumes/Data/.DocumentRevisions-V100
# d--x--x--x  root  wheel
ls /System/Volumes/Data/.DocumentRevisions-V100
# ls: Permission denied

The folder is owned by root with execute-only permission for everyone: you can open a path inside it if you know the exact name, but you cannot list it, and a non-admin du cannot size it. A total therefore needs sudo du -sh /System/Volumes/Data/.DocumentRevisions-V100 (we did not have a password available for this test). It shows up as part of System Data in storage settings.

Measuring it without root: a Swift test

The same framework apps use is open to scripts: NSFileVersion. We wrote a 25-line Swift script that saves a 20 MiB document ten times, each time adding a version through NSFileVersion.addOfItem, and reads free space on the volume as it goes.

bash
// versions.swift  -  swiftc -O versions.swift -o versions
import Foundation
let url = URL(fileURLWithPath: "/tmp/revlab/report.bin")
// ... write 20 MiB of random data to url, then repeat 10 times:
_ = try NSFileVersion.addOfItem(at: url, withContentsOf: url, options: [])
print(NSFileVersion.otherVersionsOfItem(at: url)?.count ?? 0)
AfterVersions keptFree space used
5 saves5about 101,820 KB (99 MiB)
10 saves10about 211,472 KB (206 MiB)
NSFileVersion.removeOtherVersionsOfItem0125,472 KB (122 MiB) came back within 12 s

Two runs gave the same picture: about 20 MiB per version for a 20 MiB document, with no savings from similarity between versions (our test file was random data, the worst case). The API also told us where a version lives: /System/Volumes/Data/.DocumentRevisions-V100/PerUID/501/<hash>/com.apple.documentVersions/<UUID>.bin, 20,971,520 bytes each, the exact size of the document.

Only 122 MiB of the 206 MiB returned in the 12 seconds we waited after removal. We do not know whether the rest is released later or is overhead from our test, so we are not claiming more than we saw.

What that means for real documents

A Keynote file with video can be 1 GB. Edited and autosaved across a project, ten kept versions could be several gigabytes in this hidden folder, and the document itself would still show 1 GB. Apple's support page says the app keeps versions for you to browse; we did not measure how many an app keeps over months, so check with the steps below.

Remove old versions from the app

  • Open the document, then File > Revert To > Browse All Versions…. The timeline shows each saved version. Where the app offers it, you can delete versions you do not need from that view; Apple's support page above lists what each app allows.
  • File > Duplicate or Save a Version make a new copy; check it with Browse All Versions to see whether the history came with it before you rely on that to send a document without its earlier drafts.
  • Do not touch the folder itself. It holds a database next to the files, and deleting files by hand can leave that database pointing at missing files.

If your Mac is still short of space after this, look at what makes up System Data and files that do not go away without a plan, where snapshots and backups are bigger.

Zofle shows your Mac storage by category and lets you move big, old files to the Trash with Undo, so you can see what is worth the effort before you run any command.

Download Zofle for Mac

Sources and method

  • Apple, NSFileVersion (addOfItem, otherVersionsOfItem, removeOtherVersionsOfItem).
  • Apple Support, Browse and restore versions of a document on Mac.
  • Free-space changes measured on 15 November 2026 on macOS 27.0, Apple silicon, boot volume (drift of a few tens of MB between readings), two runs of the script. The real .DocumentRevisions-V100 total was not measured because it needs sudo.

Zofle Pro news

People signing up now will get Zofle Pro, with more features, for free when we launch it.

One email when it's ready. No spam, ever.