Features How it Works Providers Compare Docs GitHub Get Started
Open source · Free forever

Write with clarity.
Own your privacy.

OGrammar is the free, open-source writing assistant that runs on your own device. A local engine checks grammar, spelling, and style with no account and no network — and you can plug in your own AI key for advanced rewrites. No subscriptions, no data harvesting, no servers.

compose — Gmail
OGrammar checks the text you type, right where you type it. It catches a quick speling SpellingDid you mean "spelling"? slip, notices when you repeat repeat a word, and flags wordy, hard-to-read phrasing — all on your device, with nothing sent to a server.
● 1 Grammar ● 1 Clarity ● 1 Style

Everything you need.
Nothing you don't.

Built for developers, writers, and privacy advocates who want complete control over their writing tools.

No servers, ever

Checking runs on your device. There is no OGrammar backend, no account, and no tracking. Any AI key you add is encrypted on your machine and used only by you.

On-device Harper engine

The Automattic Harper engine checks grammar, spelling, punctuation, and style entirely offline, as you type. Choose American, British, Canadian, or Australian English.

Bring your own AI

Optional and off by default. Add a key for OpenAI, DeepSeek, Groq, OpenRouter, or Together — or run a model 100% locally with Ollama. Your text goes straight to the provider you choose.

It learns as you write

Confirm a correction once and the local engine remembers it — no AI round-trip needed. Undo an autocorrect and it never makes that change again.

Safe with code & secrets

A protected-text engine recognizes URLs, emails, file paths, code, package names, API keys, and version strings — so suggestions never mangle the things you didn't mean to edit.

Tone & rephrase

With AI on, rewrite any selection — Polish, Formal, or Casual — or pull up three alternative phrasings, inline, with a preview before anything changes.

Local first.
AI when you want it.

A fast on-device engine handles everyday checking. Turn on AI — with your own key — for deeper rewrites. Results merge into one ranked list.

1

On-device checking

The Harper engine flags grammar, spelling, punctuation, and style as you type — offline, instantly, with nothing leaving your browser.

2

Spelling that fits the sentence

A built-in 82k-word dictionary plus an n-gram language model rank corrections by what actually fits the context, not just edit distance.

3

Optional AI, your key

Enable advanced rewrites, tone changes, or autocomplete. Text goes directly to the provider you pick — or a local Ollama model. Off by default.

In-page suggestions

Thanks for the quick recieve — I'll review it today.
Spelling
recieve receive
Apply Ignore Add to dictionary

Click a suggestion to apply it, ignore it, or add the word to your personal dictionary — all on your device.

Choose your engine.

Eight providers, your own key, billed by them — never by us. From a free tier to fully local.

Groq

Free tier

A free tier to start, with the fastest cloud responses — pick llama-3.3-70b-versatile for the quickest replies.

  • Free to try
  • No credit card
  • Very fast

DeepSeek

Low cost

A very low cost per check, and the top scorer among the few models in our own small benchmark. Pay only for what you use.

  • Very low cost
  • Top scorer in our test
  • Pay per use

Ollama

100% local

Run an open model on your own hardware. Nothing leaves your machine; works fully offline.

  • Zero data leaves
  • Free forever
  • No internet needed

These picks come from our own small proofreading benchmark that tested only a handful of models — OpenAI and most other models weren't scored, so this isn't a ranking against them. Every provider is fully supported; use whichever you already have.

Set up OpenAI, OpenRouter, Together AI, Abacus RouteLLM, or any custom endpoint →

How we stack up.

FeatureGrammarlyOGrammarLanguageTool
PriceFrom $12/moFreeFrom $4.99/mo
Open source Apache 2.0Partial
Works offline (on-device) Harper enginePartial
Bring your own AI key 8 providers
100% local AI (Ollama)
Tone rewriting Premium
Learns your corrections locally
Stores your text on a serverYes NoYes

Ready in 5 minutes.

Clone, build, load. That's it.

# 1. Clone the repository
git clone https://github.com/zazzn/ogrammar.git

# 2. Build the extension (npm)
cd opengrammar/opengrammar/extension
npm install && npm run build

# 3. chrome://extensions → Developer mode → Load unpacked → select dist/
#  Optional: pick a provider + key in the popup for AI. No backend needed.