> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/knowledge-base/142-use-grammarly-with-overleaf.md).

# Use Grammarly with Overleaf

## How to use Grammarly with Overleaf

Follow these steps to use Grammarly with Overleaf:

1. Install a [browser extension provided by Grammarly](https://support.grammarly.com/hc/en-us/articles/115000091552-How-to-instal). We refer readers to [Grammarly’s support pages](https://support.grammarly.com/hc/en-us/articles/115000091592-How-does-the-Gramma) for further information.
2. After installing your preferred browser extension, you need to register for a [Grammarly account](https://www.grammarly.com/plans).

Here’s a screenshot showing the Grammarly extension for Chrome pinned to Chrome’s toolbar:

![Image showing Grammarly extension installed in Chrome](/files/VWbrZxkgI6XmRQ6VLlsh)

* **Note**: To avoid potential conflicts with Grammarly’s suggestions, you may wish to switch off Overleaf’s built-in spell check via the project’s Menu:

![Image showing how to switch off Overleaf's spell checker feature](/files/esjajKx7AiSweA93URQN)

The Grammarly extension will always check the file that’s currently open in the editor, and it will present itself at the bottom of the document.

![Image showing available settings in Grammarly Chrome extension](/files/zaiR7yEtxXvHUjV4jyj1)

The screenshot above shows the Grammarly Premium icon indicating 4 suggestions for this text, an extract of [Moby-Dick; or, The Whale](https://en.wikipedia.org/wiki/Moby-Dick) copied from [Project Gutenberg](https://www.gutenberg.org/files/2701/2701-h/2701-h.htm).

## How to temporarily disable Grammarly

1. Open an Overleaf project in your browser and make sure it is the currently active browser tab.
2. Select the Grammarly icon (![Graamarly icon](/files/zbgz7i3LRMm2A3mfOtkM)) located on your browser toolbar.
3. Make sure the **overleaf.com** domain is displayed in Grammarly’s menu.
4. Set the toggle switch to Off to disable Grammarly on **overleaf.com**

These steps are summarised in the following graphic:

![How to disable Grammarly on Overleaf](/files/plW47kWZUPtSN3niT1cJ)

## Known limitations

Our testing highlighted the following points:

1. Grammarly is unaware of LaTeX markup, occasionally resulting in erroneous suggestions and words not being spell-checked. For example, the text just after an opening brace `{` is not checked by Grammarly:

![Screenshot showing LaTeX text/markup that Grammarly does not check](/files/mmhTCu63CSowzP6cHxaX)

3. In the Visual Editor, the error count reported by the Grammarly extension might be underestimated, particularly for large documents.
4. Browser extensions such as Grammarly can sometimes affect performance when working on long documents. If you are experiencing lag when typing or scrolling, try disabling Grammarly temporarily to test whether this improves the behavior.

## Grammarly premium feature: Snippets

Users of Grammarly Premium have access to a [“snippets” feature](https://support.grammarly.com/hc/en-us/articles/4403077145485-Introducing-snippets#h_01FNP7HWZAR3E7EMXS6N539QS6) which, by default, is triggered using the backslash (\\) character (as its shortcut). This feature could conflict with Overleaf’s autocomplete for LaTeX commands but, fortunately, the snippets shortcut character can be changed or disabled using [advice from Grammarly support](https://support.grammarly.com/hc/en-us/articles/4403077145485-Introducing-snippets#:~:text=their%20personal%20snippets.-,How%20do%20I%20customize%20my%20keyboard%20shortcut%3F,-To%20use%20a).


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/knowledge-base/142-use-grammarly-with-overleaf.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
