Grammarly does not work with LaTex, but I believe it still can be helpful:

enter image description here

I like to use Grammarly Chrome extension with an online Latex editor. I tried sharelatex, overleaf , authorea and verbosus on Chrome. Even though the Grammarly icon on the top right seems active, it doesn't work:

enter image description here

If you have Grammarly installed and try to write a question/answer or comment while on a StackExchange website, you can see that it works (the small red or green circle on the bottom left of the text frame shows the number of errors and gives the proper hints).

Do you know any way to force Grammarly to work on Chrome or another browser / OS / Website ?


4 Answers 4


I used to copy and paste, as Hamid suggested until recently. I created a chrome extension that copies the .tex content; filters the commands/keywords and pastes the plain text in a textarea. This textarea is displayed over the pdf preview and all textareas are scanned by Grammarly. enter image description here

It is not yet on the store, but you are able to install it if you are only a bit technical. You can find it here: https://github.com/robindijkhof/overleaf-textarea

EDIT: I created a new version. Changed made by Grammarly are automatically merged back to Overleaf. I published it to the Chrome store, it is currently waiting for a review.

EDIT: It is now available from the store. https://chrome.google.com/webstore/detail/overleaf-textarea/iejmieihafhhmjpoblelhbpdgchbckil

EDIT: JFYI, it's also available for Firefox: https://addons.mozilla.org/en-US/firefox/addon/overleaf-textarea

  • 1
    Does it work for MacOs? Jan 15, 2021 at 10:54
  • @MatteoBulgarelli as long a you use either Chrome or FireFox Jan 15, 2021 at 11:32
  • Is it possible to switch between PDF and the textarea? Feb 21, 2021 at 3:25
  • Open the plugin and disable it Feb 21, 2021 at 7:38
  • Hi @RobinDijkhof, I have a question about using your plugin. I have Overleaf open with Grammarly, and your plugin is activated as well. When I intentionally make a typo such as "amd" the plugin doesn't seem to recognize and suggest that I correct it. Is there something else that I'm missing such as having Grammarly premium or certain settings for Overleaf?
    – WnGatRC456
    Mar 4, 2021 at 1:58

In overleaf, if you select rich text mode, then Grammarly works when you write a comment. This screenshot shows the idea:

enter image description here

Update: to somehow make it faster to check, you may select the text you want to analyze and press the comment button so that the text goes directly in the comment and Grammarly checks it instantly.

  • 16
    Only works with comments? Why not the actual text?
    – Clayton
    Feb 20, 2017 at 7:56
  • 14
    better ask Overleaf team and more importantely, Grammarly team.
    – Woeitg
    Feb 21, 2017 at 6:16
  • 3
    This does not seem to work anymore. I can't comment from rich text,at least from firefox
    – andrea m.
    Oct 19, 2020 at 21:54

As a suggestion, I usually write the whole article then check all of its content (all latex document) by Grammarly desktop and also languagetool (and also maybe some others) together to proofread it completely. Then, I refresh the file by copy and pasting the result into the editor (in my case texstudio but you may copy and paste in sharelatex).

  • 16
    the question is about how to integrate Grammarly. Your answer basically suggesting a manual copy and past .
    – Woeitg
    Oct 20, 2016 at 18:42
  • 34
    Actually, I think this is an example of pen or pencil in space dilemma. My suggestion, instead of inventing pen for space use pencil if you don't have resources.
    – Hamid
    Oct 20, 2016 at 18:54
  • 2
    LanguageTool, i.e. the LanguageTool browser add-on, actually supports overleaf.com now (Disclosure: I'm the founder of LanguageTool). May 27, 2021 at 16:05

I just found a way to directly use Grammarly in Overleaf! At the time of writing (Aug, 2022) this is still a beta feature which is being rolled out slowly though it is already documented in their docs and explicit opt-in to the beta program makes this available for everyone.

How to:

  1. Install Grammarly plugin for Chrome.
  2. Overleaf => Account => Account Setting => Overleaf Beta Program => Enroll
  3. Go to your project
  4. You will see an orange "beta" icon in the top-left corner of your editor. Select "Source (Beta)".
  5. Done!

enter image description here

  • Can you add some screenshots?
    – Woeitg
    Apr 26, 2022 at 7:03
  • Added. This is the best day of my life LoL
    – Hubert Lin
    Apr 26, 2022 at 9:55
  • It doesn't work 100% in Firefox (99.0.1). In this example (left part of image), Grammarly, only finds one of the two mistakes. I guess this is due to the text being split among different tags in the HTML document (see right part of the image). Helpful nonetheless, thanks. i.stack.imgur.com/HtNpi.png
    – upe
    May 4, 2022 at 20:29
  • The Overleaf Beta program is the savior.
    – Atif Ali
    Oct 31, 2022 at 4:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.