ThisCalculator

Everyday

Revert File Last Saved Version Mac OS X

Updated · Standard formula, shown below

Revert File Last Saved Version Mac OS X

To revert a file to its last saved version on macOS, use the built-in Versions feature: open the file, go to File > Revert To > Last Saved (or Browse All Versions to pick an earlier one). This works in Apple apps like Pages, Numbers, Keynote, TextEdit, and many third-party apps that support the Versions API, and it does not require Time Machine or any extra software.

How Versions Works on macOS

Versions was introduced in Mac OS X Lion (10.7) and has been part of macOS ever since. It automatically saves a snapshot of a document every hour while you work, and also saves a version when you open the file, when you save, and before certain operations. These snapshots are stored locally on your Mac, so you don’t need an internet connection or a backup drive. The feature is integrated into the system, which is why it appears in the File menu of supported apps.

When you choose Revert To, you are not deleting your current work. Instead, macOS replaces the current content with the selected older version. If you later change your mind, you can undo the revert (Command-Z) or browse again to pick another version, as long as the app hasn’t closed and the snapshots still exist.

Step-by-Step: Revert to Last Saved Version

  1. Open the file in the app you used to create it (e.g., Pages, TextEdit).
  2. Click the File menu in the menu bar at the top of the screen.
  3. Hover over Revert To.
  4. Choose Last Saved – this immediately restores the most recent saved version, discarding changes made since the last save.
  5. If you want an older version, choose Browse All Versions instead.

In Browse All Versions, the screen shows a timeline on the right side of the window. You can click on any version to preview it, then click Restore to bring it back. The current version is shown on the left for comparison.

What If the File Menu Doesn’t Show Revert To?

Not every app supports Versions. If you don’t see Revert To in the File menu, the app may not have enabled the feature. In that case, you can try:

  • Check if the app has its own “Historyâ€� or “Undoâ€� feature (some apps like Microsoft Word use their own versioning).
  • Use Time Machine if you have it set up – open the file, then enter Time Machine from the menu bar and restore an older copy.
  • Look for autosaved files in the app’s backup folder (e.g., TextEdit stores unsaved versions in ~/Library/Containers/com.apple.TextEdit/Data/Library/Autosaved Information/).

Common Misconception: “Last Saved� vs. “Last Opened�

Many users confuse “last saved version� with “last opened version.� The last saved version is the one that was written to disk when you last pressed Command-S. The last opened version is the state of the file when you opened it – which could be older if you’ve made changes since. When you choose Revert To > Last Saved, you get the version that was on disk before your current editing session, not necessarily the version from the last time you opened the file. If you haven’t saved since opening, those two are the same.

How to Recover Unsaved Changes After Reverting

If you revert and then realize you needed a change you made after that version, you have a few options:

  • Undo immediately: Press Command-Z right after reverting to undo the revert itself.
  • Browse All Versions again: The reverted version may still appear in the timeline, so you can restore it.
  • Check the app’s autosave: Some apps keep a separate autosaved copy that might contain your unsaved edits.

Note that Versions snapshots are not kept forever. macOS deletes old versions after a period, often 30 days for hourly versions, and may remove them sooner if disk space is low. So if you need an old version, act quickly.

Versions vs. Time Machine: What’s the Difference?

Versions is a local, per-file history that works only with apps that support it. Time Machine is a full-system backup that you set up with an external drive or network storage. Time Machine can restore entire files, folders, or your whole system, and it keeps backups going back much further. For a quick revert of a single document, Versions is faster and doesn’t require a backup drive. For disaster recovery or retrieving a file that was deleted, Time Machine is the tool.

You can also use Time Machine to restore an older version of a file even if the app doesn’t support Versions: open the file, enter Time Machine, and navigate to the date you want.

Frequently Asked Questions

Does Revert To Last Saved delete my current unsaved changes?

Yes, it replaces the current document with the last saved version, so any unsaved changes are lost. However, you can undo the revert with Command-Z immediately, and the unsaved changes might still be in the app’s undo history if you haven’t done anything else.

Can I revert a file that I already closed?

Yes, if the app supports Versions, the snapshots are stored on disk. Reopen the file and use Revert To > Browse All Versions to see the history. If the app doesn’t support Versions, you’ll need Time Machine or another backup.

Why don’t I see Revert To in my app’s File menu?

Most likely the app doesn’t use the Versions API. Some apps like Adobe Photoshop use their own versioning or rely on cloud sync. Check the app’s documentation or look for a “Version History� option. For unsupported apps, Time Machine is your best bet.

How long are Versions kept?

macOS keeps hourly versions for 24 hours, daily versions for a month, and weekly versions until disk space is low. But these retention rules are not officially documented and can vary by system version and storage pressure, so don’t rely on them for long-term archiving.

Can I revert a file on an external drive or network drive?

Versions works on files stored locally or on drives that support the required file system features (APFS or HFS+). Some network drives may not support Versions. If you can’t use Revert To, check if the drive is formatted with a compatible file system.

Is there a way to revert without opening the file?

Yes, in some apps you can right-click the file in Finder and select Versions > Browse All Versions, but this is not available for all file types. Alternatively, use Time Machine from the Finder to restore an older copy without opening the app.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.