police-boxHistory and versioning

Sometimes you need to travel back in time.

The History feature lets you label and manage different versions of your project. You can view, download and compare project versions, restore previously deleted files, and see content added by collaborators at a glance.

Using the full History feature

circle-check

The project owner needs to be on a premium subscription in order for them and their collaborators to access the full history.

How to access a project’s history

Select the History icon Image of the History icon, located above the preview panel, to access the History feature. You can then select:

  • All history to view all available history versions.

  • Labels to access the list of labels you have created.

How to return to editing mode

To exit the History mode and return to normal editing mode, select the Back to editor button located in the top left.

What happens to the history if you copy a project?

A copied project starts with a completely new, fresh history—the original project’s history is not copied to the new project.

Downloading an older version of your project

When you download a project using the Download as source (.zip) option in the File menu, you are downloading the current version of the project. Sometimes you may wish to download an earlier version of the project.

To label or download a project version:

1

Switch to the All history view in History mode.

2

Select the three-dot menu Image of the three-dot icon, labeled "More Actions" within the version you wish to download.

3

Choose Download this version.

Image of the Download This Version option of the three-dot menu of a project version.

A .zip file containing your project files is generated and downloaded to your device.

Labeling a project version

Version labels allow you to identify key milestones in a project and make it easier to find those versions to compare them with other versions, download them, or restore the project to that particular state.

circle-info

The current version of a project is labeled Current state.

To label a project version:

1

Switch to the All history view.

2

Select the three-dot menu Image of the three-dot icon, labeled "More Actions" within the version you wish to label.

3

Choose Label this version.

Image of the Label Version flow
4

Type the desired label into the pop-up window and select Add label.

Image of the Add Label modal
circle-check

Comparing versions

To select a range of versions to compare, use the icons Align End icon, Align Space Even icon, or Align Start icon located on each project version. Noting that project versions are listed in chronological order, with the newest at the top and older versions lower down the list, these icons perform the following actions:

  • Align Start icon: compare up to this version

  • Align End icon: compare from this version

  • Align Space Even icon: compare up to this version or compare from this version

circle-info

Align Space Even icon provides a drop-down menu offering either of the two options. This icon appears for versions in the middle of the current comparison range.

How to restore a single file to a previous version

Follow these steps to restore a single file to a previous version. This process restores the file’s content, plus any comments and tracked changes, to the state it was in at the selected date and time.

1

Switch to the All history view.

2

Select the file version you wish to restore.

3

Select Restore this version to reinstate the file.

Image of the history view with steps to restore a file version
Steps to restore a file version
4

You are asked to confirm that you want to Restore this version of the chosen file. Select Restore to confirm.

Image of the Restore File modal
Pop-up modal checking if you want to restore a file

Overleaf restores the file and switches your project out of History mode and back to editing mode.

Recovering deleted files

To recover a deleted file:

1

Switch to the All history view.

2

Select the project version in which the file was deleted.

3

Select the deleted file from the list of project files (it will be in strikethrough).

4

Select Restore this version to recover the file.

Image showing the flow for restoring a deleted file
Image showing how to restore a deleted project file using the new History user interface.
5

You are asked to confirm that you want to Restore this version of the chosen file. Select Restore to confirm.

Image of the Restore File modal
Pop-up modal checking if you want to restore a file

Overleaf restores the file and switches your project out of History mode and back to editing mode.

Restoring an earlier version of the project

Follow these steps to restore an entire project to a previous version. This process restores the project’s content, plus any comments and tracked changes, to the state it was in at the selected date and time.

1

Switch to the All history view.

2

Select the three-dot menu Image of the three-dot icon, labeled "More Actions" within the project version you wish to restore.

3

Choose Restore project to this version.

Image of the Restore Project flow
How to restore an Overleaf project version
4

You are asked to confirm whether you want to restore the entire project to its state at the specified time and date—including any comments and tracked changes. Select Restore to confirm.

Image of the Restore Project modal
Pop-up modal checking if you want to restore your project

Overleaf restores your project, switches out of History mode and back to editing mode. You will need to select the file you want to continue editing.

Last updated

Was this helpful?