v2.1 Now Available

Write with confidence.
Keep your privacy.

OpenGrammar is the free, open-source Grammarly alternative. Run local rule-based checks offline, or plug in your own AI API key for advanced edits without paying monthly subscriptions.

Most popular grammar assistants require you to send every keystroke to their servers and charge a hefty monthly fee

for advanced features. OpenGrammar changes that. The core engine runs locally in your browser, checking for passive voice and repetition without needing a server.

Everything you need, nothing you don't.

Designed for developers, writers, and privacy advocates who want complete control over their writing environment.

Absolute Privacy

No databases, no user accounts. The local engine runs offline. AI requests are sent to a stateless edge function and immediately forgotten.

Bring Your Own AI

Paste in your API key for OpenAI, Groq, OpenRouter, or Together. Pay fractions of a cent per month directly to the provider instead of a $12/mo subscription.

Self-Hostable Backend

Don't want to use our proxy? Deploy your own Cloudflare Worker or Vercel Edge function in a single command. You own the entire infrastructure.

Dual-Engine Architecture

1

Local Rules Engine

Checks for passive voice, repeated words, and overly long sentences right in your browser. Fast, free, and completely offline.

2

AI Processing

For complex grammar, tone rewriting, and clarity suggestions, text is sent securely to an LLM using your personal API key.

3

Contextual UI

See red, yellow, and blue underlines as you type. Click to accept suggestions, ignore them, or add words to your custom dictionary.

Writing Statistics

Document Analysis
Words
1,248
Reading Time
4 min
Readability Score Excellent (78)

Ready to take back control?

Start writing better today without sacrificing your privacy or your wallet.

# 1. Clone the repository

git clone https://github.com/swadhinbiswas/opengrammar.git

# 2. Build the extension

cd opengrammar/extension

bun install

bun run build

# 3. Load unpacked in Chrome

Go to chrome://extensions, enable Developer Mode, and select the dist/ folder.