Automattic/harper

GitHub Trending (daily) Tools

Summary

Harper is a fast, private, offline English grammar checker designed as an alternative to Grammarly and LanguageTool, with a small memory footprint and sub-millisecond linting.

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Original Article
View Cached Full Text

Cached at: 07/24/26, 05:14 AM

Automattic/harper

Source: https://github.com/Automattic/harper

Harper Binaries Website Checks Crates.io NPM Version Downloads Obsidian Plugin Downloads

Harper is an English grammar checker designed to be just right. I created it after years of dealing with the shortcomings of the competition.

Grammarly was too expensive and too overbearing. Its suggestions lacked context, and were often just plain wrong. Not to mention: it’s a privacy nightmare. Everything you write with Grammarly is sent to their servers. Their privacy policy claims they don’t sell the data, but that doesn’t mean they don’t use it to train large language models and god knows what else. Not only that, but the round-trip-time of the network request makes revising your work all the more tedious.

LanguageTool is great, if you have gigabytes of RAM to spare and are willing to download the ~16GB n-gram dataset. Besides the memory requirements, I found LanguageTool too slow: it would take several seconds to lint even a moderate-size document.

That’s why I created Harper: it is the grammar checker that fits my needs. Not only does it take milliseconds to lint a document, take less than 1/50th of LanguageTool’s memory footprint, but it is also completely private.

Harper is even small enough to load via WebAssembly.

Language Support

Harper currently only supports English, but the core is extensible to support other languages, so we welcome contributions that allow for other language support.

Performance Issues

We consider long lint times bugs. If you encounter any significant performance issues, please create an issue on the topic.

If you find a fix to any performance issue, we would appreciate the contribution. Just please make sure to read our contribution guidelines first.

Links

Huge Thanks

This project would not be possible without the hard work from those who contribute.

Harper’s logo was designed by Lukas Werner.

Similar Articles

Tidy

Product Hunt

Tidy is a macOS tool that fixes grammar and spelling in any app using a keyboard shortcut, powered by Apple Intelligence without uploading data.

Meboki

Product Hunt

Meboki is an open-source offline grammar checker that works with any Mac app.

Write Lint

Product Hunt

Write Lint is a proofreading tool for Mac that can be summoned with the ⌘⇧L keyboard shortcut.

Harbor

Product Hunt

Harbor is a privacy-focused note-taking app that serves as an Evernote alternative, featuring OCR and handwriting search across multiple devices with a price-locked subscription model.

Catching Typos on My Website with Browser Testing

Lobsters Hottest

The author describes a hybrid approach to spell-checking their website using Bombadil for property-based browser testing and Claude Code for triaging flagged words, which has caught 13 real typos and added over 130 words to a custom dictionary.