
Harper
Private on-device English grammar and spell checker
Harper checks English grammar and spelling locally on your device, without sending your writing to remote servers.
Grammarly
Grammarly by Grammarly is a commercial product. These open-source projects say they can replace it.
The most popular open-source alternative to Grammarly is Harper, with 18k GitHub stars. Other open-source alternatives to Grammarly are LanguageTool, GemType and OpenGrammar. Most Grammarly alternatives here are Browsers & Extensions tools, some are Code Analysis & Transformation. The first 3 say in their own README or website that they can replace Grammarly (the quote is shown under each one); the other 1 do the same job, shown with their own description.
Stars and activity updated 27 November 2026.

Private on-device English grammar and spell checker
Harper checks English grammar and spelling locally on your device, without sending your writing to remote servers.
Grammarly“Think of it as the private alternative to Grammarly, built after years of dealing with the shortcomings of the competition.”

Open-source AI grammar checker with Gemini key
Checks grammar, rewrites tone, and translates to English in browsers, Word, desktop apps, and mobile keyboards using your own Gemini API key.
Grammarly“A free, open-source Grammarly alternative.”
Privacy-oriented browser writing assistant with optional AI backend
OpenGrammar checks spelling and style in the browser with a large offline dictionary and optional AI via your own API keys. A browser extension pairs with a self-hostable grammar API server.
Grammarly“The completely free, zero-compromise Grammarly alternative you can host yourself.”
These projects don't call themselves a Grammarly alternative, but two independent checks of their own description found they do the same main job.

Multilingual grammar, style, and spell checking software
LanguageTool checks grammar, spelling, punctuation, and style in more than twenty languages. It catches many mistakes that basic spell checkers miss.
Grammarly“Instantly check grammar, punctuation, and spelling errors with LanguageTool's AI-powered grammar checker. Enhance your writing in over 30 languages with ease.”
Yes. 4 open-source projects can replace Grammarly, for example Harper, LanguageTool and GemType. 3 of them say so in their own documentation; the other 1 do the same job.
Harper (18k GitHub stars) is the most popular open-source alternative to Grammarly on GitHub. LanguageTool has the most recent code changes. The best choice depends on your needs: compare them side by side, for example Harper vs LanguageTool.
All of the 4 projects listed here are free to use under an open-source license, with no license fee: 2 permissive (such as Apache-2.0), 1 copyleft (such as GPL-3.0), 1 weak copyleft (such as LGPL-2.1). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.