Restore Previous Versions of a File on Mac
You pasted over the wrong section, saved, and closed the file. On a Mac that is often recoverable without any backup: macOS quietly keeps a version history for documents in apps that support it — Pages, Numbers, Keynote, TextEdit, Preview, and many third-party editors. The feature is called Versions, and it hides behind one menu command.
Browse and restore old versions
- Open the document in the app that edits it.
- Choose File → Revert To → Browse All Versions… (If the Revert To item is missing, the app does not support Versions — skip to the backup section.)
- The screen splits: the current document on the left, a stack of past versions on the right, with a timeline of tick marks along the right edge. Click the ticks, the title bars in the stack, or the arrows to page back through time. The versions are fully readable — scroll them, check they contain what you lost.
- With the right version showing, click Restore. The document reverts to that version.
Restoring is itself non-destructive: the state you just replaced becomes another version, so if you restored the wrong one, go straight back into Browse All Versions and pick again. For quick cases, the same menu offers Revert To → Last Saved (or Last Opened) without entering the browser at all.
Restore a copy instead of replacing
Often you want both: the current file and the paragraph from last Tuesday. In the version browser, hold Option and the Restore button becomes Restore a Copy — clicking it opens the old version as a new untitled document, leaving the current file untouched. Save the copy wherever you like and merge by hand.
You can also select content inside a past version — text in TextEdit or Pages, say — copy it with Cmd+C, click Done, and paste into the current document. For recovering one lost paragraph, that is faster than any restore.
What Versions does and doesn't cover
- Versions are created automatically — on save, roughly hourly while you work, and before big changes. You can force one any time with File → Save (
Cmd+S). - History is stored in a hidden database on the same disk as the file (macOS keeps it in a
.DocumentRevisions-V100folder at the volume root). Consequences: versions do not travel when you copy a file to a USB stick or send it to someone, and a dead disk takes the versions with it. Versions complement backups; they do not replace them. - Apps must opt in. Apple's document apps all do; Microsoft Office and many cross-platform apps use their own AutoRecover systems instead — check their File menus for version or history features.
When there is no version to restore
Fall back through the safety nets in order. Time Machine: open the folder containing the file, launch Time Machine from the menu bar icon (or Spotlight), and page back to a date when the file was intact — restoring from a backup recovers files Versions never saw, including deleted ones. iCloud Drive: for files that live in iCloud, sign in at iCloud.com and check Data Recovery → Restore Files for recently deleted items. And for next time: apps with autosave make risky edits safe if you start them with File → Duplicate, working on the copy while the original stays put.
Versions gives documents an undo history; Mainspring gives macOS one. Every one of its 90+ hidden-setting power-ups is reversible — flip a toggle back and your Mac is exactly as it was.
Try Mainspring free →Signed & notarized by Apple · 1-day free trial · $29 once
No backup running yet?
Versions saved you this time; a dead SSD is less forgiving. If Time Machine is not backing up yet — or has quietly stopped — our guide to fixing Time Machine backups gets it running again.