OSI-licensed only · self-hostable

Open-Source Grammarly Alternatives (2026)

Grammarly checks spelling, grammar and style as you write and suggests rewrites. Open-source tools cover the checking part well, and most can run on your own machine or server so your text is not sent to a third party. None of them replicates Grammarly's generative rewriting.

Every tool below is under an OSI-approved licence (LGPL-2.1, Apache-2.0, MIT, BSD-3-Clause, MPL-2.0), checked against its repository. Some are grammar checkers, others are prose linters that enforce a style guide.

Licences checked against each repository on November 7, 2026.

What you're replacing

  • •Grammar and spelling checks while you write
  • •Style and tone suggestions
  • •Checking in editors, browsers and docs
  • •Keeping drafts private

At a glance

ToolBest forLicenceRuns as
LanguageToolMultilingual grammar checkingLGPL-2.1Server
HarperFast, private English grammar checkingApache-2.0Desktop app
ValeEnforcing a style guide in docs and CIMITDesktop app
proselintWriting-advice lintingBSD-3-ClauseDesktop app
textlintPluggable prose lintingMITDesktop app
LTeX+Grammar checking in LaTeX and MarkdownMPL-2.0Desktop app

1. LanguageTool

LGPL-2.1

Best for: Multilingual grammar checking

Open-source proofreading software for English, Spanish, French, German and more than 20 other languages, finding many errors a simple spell checker cannot detect.

Strengths

  • + Many languages
  • + Finds errors beyond spelling
  • + Can be self-hosted

Trade-offs

  • − Rule-based, not AI rewriting
  • − Premium features are separate from the open-source repo

2. Harper

Apache-2.0

Best for: Fast, private English grammar checking

An offline, privacy-first English grammar checker that the README describes as completely private, quick, with a small memory footprint, and loadable via WebAssembly.

Strengths

  • + Offline and private
  • + Low memory use
  • + Apache-2.0 licence

Trade-offs

  • − English only
  • − Fewer rules than mature checkers

3. Vale

MIT

Best for: Enforcing a style guide in docs and CI

A command-line linter for prose that turns writing guidelines into checks in editors and CI, running entirely offline.

Strengths

  • + Runs offline
  • + Works in CI and editors
  • + MIT licence

Trade-offs

  • − Command-line oriented
  • − You configure the style rules

4. proselint

BSD-3-Clause

Best for: Writing-advice linting

A linter for English prose that scans text and flags issues, drawing on advice from well-known writers and editors.

Strengths

  • + Simple command-line tool
  • + BSD-3-Clause licence
  • + Style advice from writing guides

Trade-offs

  • − English only
  • − Focused on style, not full grammar

5. textlint

MIT

Best for: Pluggable prose linting

The pluggable linting tool for natural language, an ESLint-like linter for prose.

Strengths

  • + Rule plugins
  • + MIT licence
  • + ESLint-style workflow

Trade-offs

  • − Developer-oriented
  • − Needs plugins for useful checks

6. LTeX+

MPL-2.0

Best for: Grammar checking in LaTeX and Markdown

A language server, built on LanguageTool, that provides grammar and spelling errors in markup documents such as LaTeX and Markdown.

Strengths

  • + Works with editors via LSP
  • + Builds on LanguageTool
  • + MPL-2.0 licence

Trade-offs

  • − Aimed at markup documents
  • − Needs an LSP-capable editor

New open-source tools, weekly

One email a week with the open-source projects, launches and releases added to TechLogHub. Unsubscribe in one click.

Get the TechLogHub digest

One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.

How to choose

If you need…Start with
Full multilingual proofreadingLanguageTool
Private English checker with tiny footprintHarper
Enforce a house style in docsVale
Checking prose in a repo or CIVale, proselint or textlint
Grammar checks in LaTeX or MarkdownLTeX+

Open-source Grammarly alternatives: FAQ

Quick answers to common questions

Is there an open-source alternative to Grammarly?

LanguageTool is the best known: open-source proofreading for English and more than 20 other languages. Harper is a newer offline English checker.

Can I keep my writing private?

Harper describes itself as offline and completely private, and Vale runs entirely offline. LanguageTool can be self-hosted.

Do these tools rewrite sentences like Grammarly?

No. They flag errors and style issues from rules. None of the projects here advertises generative rewriting.

Which tool suits developers writing docs?

Vale and textlint turn writing guidelines into automated checks, and Vale works in CI.

Do they support languages other than English?

LanguageTool supports more than 20 languages beyond English, Spanish, French and German. Harper and proselint are English tools.

Maintain an open-source Grammarly alternative?

List it on TechLogHub and we'll review it for this page.

Submit a project