qmetrics.net

Best Open-Source Alternatives to 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.

Sort:Most starsRecentA–Z

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.

★ 18k⟳ yesterdayApache-2.0
Open Source Alternative to:Grammarly
“Think of it as the private alternative to Grammarly, built after years of dealing with the shortcomings of the competition.”

GemType

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.

★ 167⟳ yesterdayGPL-3.0
Browsers & ExtensionsDesktop/CLI app
Open Source Alternative to:Grammarly
“A free, open-source Grammarly alternative.”

OpenGrammar

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.

★ 143⟳ 2 months agoApache-2.0
Browsers & ExtensionsDesktop/CLI app
Open Source Alternative to:Grammarly
“The completely free, zero-compromise Grammarly alternative you can host yourself.”

Also does the same job as Grammarly

These projects don't call themselves a Grammarly alternative, but two independent checks of their own description found they do the same main job.

LanguageTool

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.

★ 15.3k⟳ todayLGPL-2.1
Office SuitesDesktop/CLI app
Open Source Alternative to:Grammarly
“Instantly check grammar, punctuation, and spelling errors with LanguageTool's AI-powered grammar checker. Enhance your writing in over 30 languages with ease.”

Compare Grammarly alternatives

Questions about Grammarly alternatives

Is there an open-source alternative to Grammarly?

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.

What is the best open-source alternative to Grammarly?

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.

Are the open-source alternatives to Grammarly free?

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.