Harper – offline grammar and spelling checker

Harper is an English grammar and spelling checker designed to provide fast, private proofreading without sending documents to an external service. Its analysis engine runs locally, using linguistic rules and dictionaries to identify errors in written text. Unlike systems that depend on remote language models, Harper can examine documents directly on the user’s computer, making it suitable for confidential notes, source code comments and other writing that should remain private.

Harper is available through integrations with text editors, development environments, note-taking applications and web browsers. Its language server allows compatible editors to display suggestions alongside the text being written, while its browser extensions provide proofreading in web-based applications. The engine supports several regional varieties of English and can distinguish natural-language passages from programming syntax. Harper can also be incorporated into other applications through its reusable libraries and WebAssembly interface.

This is free and open source software.

Key Features

  • Grammar checking – detects grammatical mistakes, incorrect word usage and agreement errors.
  • Spell checking – identifies misspelled words and suggests corrections using local dictionaries.
  • English dialects – supports American, British, Canadian, Australian and Indian English.
  • Privacy – performs proofreading locally without requiring documents to be uploaded to a remote server.
  • Fast analysis – processes text with low latency and modest memory requirements.
  • Language Server Protocol – provides harper-ls for integration with compatible editors.
  • Editor integrations – supports Neovim, Visual Studio Code, Helix, Emacs, Zed and other editors.
  • Obsidian integration – checks grammar and spelling inside the Obsidian note-taking application.
  • Browser extensions – provides proofreading integrations for Firefox and Chromium-based browsers.
  • Code-aware proofreading – examines comments and other natural-language content in supported programming languages.
  • Markdown support – checks prose in Markdown documents while accounting for markup syntax.
  • Configurable rules – allows individual linting rules and categories to be enabled or disabled.
  • Custom dictionaries – supports user-defined vocabulary and spelling exceptions.
  • JavaScript integration – exposes the proofreading engine through harper.js.
  • WebAssembly – provides a compact proofreading engine for applications that execute WebAssembly.
  • Command-line interface – supports document checking through terminal-based workflows.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/Automattic/harper
Support:
Developer: Elijah Potter and contributors
License: Apache License 2.0

Options with Harper

Harper is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Linters
LanguageToolStyle and grammar checker for 30+ languages
ValeWrite with a consistent tone and style
ALEAsynchronous Lint Engine
textlintPluggable linting tool for text and markdown
HarperEnglish grammar checker designed to be just right
proselintAs the name suggests, this is a linter for prose
write goodLinter for English prose
TeXtidoteCommand-line correction tool designed for LaTeX documents
alexCatch insensitive, inconsiderate writing
EloquentWorks fully offline, powered by the LanguageTool standalone server
RedPenProvides both a simple standalone command line tool and a server

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted