> For the complete documentation index, see [llms.txt](https://docs.overleaf.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overleaf.com/writing-and-editing/working-offline.md).

# Working offline

Brief internet connectivity issues don't have to prevent progress on your work

{% hint style="info" %}
Overleaf currently offers basic support for working offline. A more advanced offline editing experience is in development.
{% endhint %}

## How to work offline

If you lose internet connection for longer than a moment while working on Overleaf, you'll see the "**You're offline**" message at the top of the editor, and you can continue editing the current file for a short period of time. Any edits you make while offline will automatically be synced back when you reconnect.

<figure><picture><source srcset="/files/srLPKnsIPokYUJcX88em" media="(prefers-color-scheme: dark)"><img src="https://3502988919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVetOkhFZmAC8QCQK0Pi7%2Fuploads%2F43zPCiLjbmnEpSMWRbP3%2Fimage.png?alt=media&amp;token=aa6ad5c3-e89d-4f96-86bf-156951f4fa9b" alt="The &#x22;You&#x27;re offline&#x22; status at the top of the editor"></picture><figcaption></figcaption></figure>

If you're still offline once that time runs out, you'll see the "**Editing paused**" notification banner, and the editor locks to protect your work:

<figure><picture><source srcset="/files/pc30L9YIY7Z6YrqlT1fj" media="(prefers-color-scheme: dark)"><img src="https://3502988919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVetOkhFZmAC8QCQK0Pi7%2Fuploads%2FvF1Ggs0HBDaBtp7IJwpo%2FScreenshot%202026-09-18%20at%2000.47.27.png?alt=media&amp;token=64ac6fa7-2b9a-4793-a5f2-e210d716b79d" alt="The &#x22;Editing paused&#x22; notification banner in the editor" width="563"></picture><figcaption></figcaption></figure>

If you want to create a backup you can copy your content directly from the editor, or use the **Download file** button to save it to your device. Or you can simply wait until your internet connection is restored.

{% hint style="success" %}
Users on any of our [premium plans](https://www.overleaf.com/user/subscription/plans) can edit for up to 10 minutes while offline. Users on the free plan can edit for up to 2 minutes.&#x20;
{% endhint %}

### Syncing your offline edits

When you reconnect:&#x20;

* In most cases, your work will be automatically synced back.
* In some cases, such as when a collaborator has edited the same file in a way that introduces conflicts, you will be informed that your offline edits couldn't be synced. You'll be able to preview what edits you made and given the option to save these as a new file or discard your changes:

<figure><img src="https://3502988919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVetOkhFZmAC8QCQK0Pi7%2Fuploads%2FffA3i4NanMeKH8bjBS01%2Fimage.png?alt=media&amp;token=484010e8-019a-4961-acb1-d70a5931f16f" alt="The &#x22;You&#x27;re offline edits couldn&#x27;t be synced&#x22; modal" width="563"><figcaption></figcaption></figure>

### Limitations

Some actions aren't available while you're offline, including switching files, compiling, adding comments, and AI features.

### Recovering lost edits by restoring your tab

While you're offline we also back your work up in the browser. This means that if you accidentally close your tab, or if your browser crashes, you may be able to recover your work if you restore the tab that you were working in.

{% hint style="warning" %}
You must restore the original tab, e.g. using your browser history, rather than simply navigating to the same project. Tabs can't be restored if you are working in private or incognito browsing mode, so offline editing is not recommended here.&#x20;
{% endhint %}

## Working on your project outside Overleaf

Alternatively, if you know you'll be without internet for a long time period, you can prepare your project for offline editing in a local editor instead using one of the following methods:

* [Sync with Dropbox](https://www.overleaf.com/learn/how-to/Dropbox_Synchronization) to keep a local copy of your project up to date automatically.
* [Sync with Git or GitHub](https://www.overleaf.com/learn/how-to/Using_Git_and_GitHub) to work in your own editor, then push your changes back to Overleaf when you reconnect.
* [Download your project](https://docs.overleaf.com/managing-projects-and-files/downloading-a-project) as a ZIP file, or download a single file, and open it in any text or LaTeX editor. Then copy and paste or re-upload your files when back online. Take care with any tracked changes or comments that could become lost during this process.&#x20;

{% hint style="info" %}
Dropbox, Git and GitHub integrations are premium features, available on paid plans.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.overleaf.com/writing-and-editing/working-offline.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
