Harper – an open-source alternative to Grammarly

103 ReadCarlBarks 31 6/20/2025, 7:51:45 PM writewithharper.com ↗

Comments (31)

pram · 3h ago
IMO not using LLMs is a big plus in my book. Grammarly has been going downhill since they've been larding it with "AI features," it has become remarkably inconsistent. It will tell me to remove a comma one hour, and then tell me to add it back the next.
boplicity · 31m ago
General purpose LLMs seem to get very confused about punctuation, in my experience. It's one of their big areas of obvious failing. I'm surprised Grammarly would allow this to happen.
chneu · 47m ago
Thank you. In general my grammarly and gboard predictions have become so, so bad over the last year.
raincole · 1h ago
So is there a similar tool but based on an LLM?

Not that I think LLM is always better, but it would be interesting to compare these two approaches.

7thaccount · 53m ago
Grammarly came out before the LLMs. I'm not sure what approach it took, but they're likely feeling a squeeze as LLMs can tell you how to rewrite a sentence to remove passive voice and all that. I doubt the LLMs are as consistent (some comments below show some big issues), but they're free (for now).
demarq · 2h ago
"Me and Jennifer went to have seen the ducks cousin."

No errors detected. So this needs a lot of rule contributions to get to Grammarly level.

alpb · 1h ago
Similarly 0 grammatical errors flagged: "My name John. What your name? What day today?"
wellthisisgreat · 2h ago
What the duck is that test
canyp · 1h ago
Nominative vs objective
VTimofeenko · 3h ago
Comes with a great LSP server capable of checking grammar in code comments:

https://writewithharper.com/docs/integrations/language-serve...

icapybara · 1h ago
Why wouldn't you want an LLM for a language learning tool? Language is one of things I would trust an LLM completely on. Have you ever seen ChatGPT make an English mistake?
healsdata · 47m ago
Grammarly is all in on AI and recently started recommended splitting "wasn't" and added the contraction to the word it modified. Example: "truly wasn't" becomes "was trulyn't"

https://imgur.com/a/RQZ2wXA

Groxx · 1h ago
uh. yes? it's far from uncommon, and sometimes it's ludicrously wrong. Grammarly has been getting quite a lot of meme-content lately showing stuff like that.

it is of course mostly very good at it, but it's very far from "trustworthy", and it tends to mirror mistakes you make.

healsdata · 25m ago
Given this is an Automattic product, I'm hesitant to use it. If it gets remotely successful, Matt will ruin it in the name of profit.
josephcsible · 23m ago
It's FOSS, so even if the worst happens, anyone could just fork the last good version and continue development there.
behnamoh · 1h ago
I wish it had keyboard shortcuts. As a Vim user, in Chrome it's tedious to click on every suggestion given by the app. Also, maybe add a "delay" so it doesn't think the currently-being-typed word is a mistake (let me finish typing first!).

Otherwise, it's great work. There should be an option to import/export the correction rules though.

thr0waway001 · 2h ago
“Yo who dis?”

Passes.

For reference: https://youtu.be/w-R_Rak8Tys?si=h3zFCq2kyzYNRXBI

JPLeRouzic · 3h ago
It is available in Autommatic's Github repository:

https://github.com/Automattic/harper

sestep · 3h ago
Automattic*
orliesaurus · 1h ago
Very buggy, but great start!!

I.e. if you write an "MISTAEK" and then you scroll the highlight follows me around the page

The-Ludwig · 2h ago
Looks awesome! I’ll give it a try over language tool.

Is there any reason why there is no firefox extension?

crimputer · 1h ago
Good start. But still has bugs i guess.

I tried with the following phrase -- "This should can't logic be done me." --

No errors.

jacooper · 2h ago
I think if you can self host language tool, it would still be the better option.
sharkjacobs · 3h ago
This seems to use a hard coded list of explicit rules, not an LLM

https://writewithharper.com/docs/rules

https://github.com/Automattic/harper/blob/0c04291bfec25d0e93...

        "PointIsMoot" => (
            ["your point is mute"],
            ["your point is moot"],
            "Did you mean `your point is moot`?",
            "Typo: `moot` (meaning debatable) is correct rather than `mute`."
        ),
a2128 · 3h ago
From a quick look phrase corrections is just one type of rule. There are many other rules, some are dynamic like when to use "your" vs "you're", oxford commas, etc.

That it doesn't use LLMs is its advantage, it runs in under 10ms and can be easily embedded in software and still provide useful grammar checking even if it's not exhaustive

harper · 1h ago
nice name!
skeptrune · 4h ago
Is this using local LLMs or some other engine?
JPLeRouzic · 3h ago
I don't think it uses an LLM.

https://github.com/Automattic/harper

mika6996 · 5h ago
Which LLM is running with Harper?
ognarb · 2h ago
None
IceWreck · 2h ago
Slightly controversial compared to other comments here but I haven't used Grammerly at all since LLMs came out. Even a 4B local LLM is good enough to rephrase all forms of text and fix most grammer mistakes.