General

Harper vs Vale (2026): Grammar Checker or Style Linter for Your Docs?

2026-11-21 · 5 min · Lint Team

Harper and Vale both get recommended to developers who write documentation, but they solve different problems. Harper is a grammar checker. Vale is a style linter. Picking the wrong one means either typos sail through CI or your editor nags you about banned words while missing real errors. Here's how to choose.

Not sure which kind of check you need? Run one paragraph through a checker that fixes the English and leaves code, commands, and identifiers exactly as written.

Try the free checker →Free, no signup for your first checks.


The one-line difference



  • Harper checks whether your English is *correct*: spelling, grammar, punctuation, repeated words. It runs offline in your editor.
  • Vale checks whether your English follows *your rules*: banned terms, capitalization, sentence length, house style. It runs in CI and on the command line.


Harper: correctness, in the editor, offline



Harper is an open-source English grammar checker written in Rust, backed by Automattic (Apache-2.0). It runs entirely on your machine — as a language server (harper-ls) in VS Code, Neovim, Helix, Emacs, Zed, and Sublime Text, as a browser extension, or as a WebAssembly library. Suggestions arrive in milliseconds, nothing is sent to a cloud, and there's no account or subscription.

Strengths: real grammar and spelling detection, privacy, speed, and it understands Markdown well enough to check prose in docs and comments. Limits: English only, no custom house-style rules, and no CI gate — it's a writing-time tool, not a policy enforcer.

Vale: consistency, in CI, configurable



Vale is an open-source prose linter written in Go by errata-ai (MIT). You define styles as YAML rule packages — Google, Microsoft, proselint, write-good, alex, or your own — and Vale enforces them over Markdown, AsciiDoc, reStructuredText, HTML, and code comments. It's markup-aware, so code blocks don't trigger prose rules, and the official GitHub Action makes it a natural pull-request gate.

Strengths: total control over rules, repo-wide consistency, CI enforcement. Limits: Vale does not check grammar or spelling the way Harper does — a sentence can pass every Vale style and still be ungrammatical. It also needs setup: a .vale.ini, style packages, and tuning to keep false positives down.

Side by side



  • What it catches — Harper: spelling, grammar, punctuation. Vale: style violations against rules you choose.
  • Where it runs — Harper: your editor and browser, offline. Vale: command line and CI.
  • Setup — Harper: install the extension, done. Vale: install the binary, write config, sync styles.
  • Customization — Harper: rule toggles and a user dictionary. Vale: arbitrary YAML rules and full style guides.
  • Privacy — Harper: fully local. Vale: local CLI (your text stays in your repo/CI).
  • Price — Both free and open source.


The honest answer: most teams use both



Harper while writing, Vale in CI is the common setup — Harper catches the errors, Vale enforces the conventions. They don't overlap enough to conflict.

And when you need a one-off check without installing either — a PR description before you submit, a commit message, a README paragraph — Lint's web grammar checker proofreads prose around code in the browser, leaving identifiers, commands, and fenced code blocks untouched. Think of it as the zero-setup middle ground: more than a spell-checker, less commitment than a toolchain.

Which one should you pick?



  • Typos and grammar errors in your docs → Harper
  • Inconsistent terminology and style drift across a repo → Vale
  • Both problems → Harper + Vale
  • One paragraph checked right now, nothing installed → Lint


Check your own text — free



Run your next commit message or doc paragraph through the free Lint grammar checker. Code, commands, and identifiers stay exactly as written; only the English gets fixed.
📌 Prices and tool count in this article may be outdated. Lint now ships 16 tools with Pro at $12/mo, or $39/year founding. See the current pricing page.
Try Lint free — no signup, code-aware
Free · no account needed · open full toolkit →
L
Lint Team
Lint Tools — AI writing for developers

Stop letting Grammarly break your code

18 AI and browser tools built for developers. Code-aware parsing.

Try free — no signup View pricing
Or upgrade to Pro for 500 checks a day · All tools · No ads

Need more than free tools?

Unlock 500 checks a day, larger text capacity, and priority support.

View pricing → Upgrade Lint — Pro $12/mo or $39/yr founding
💬