Tool Comparison

Grammarly for VS Code Alternative: 5 Best Free Code-Aware Grammar Checkers in 2026

2026-09-20 · 8 min · Lint Team

Grammarly for VS Code Is Gone, and It Is Not Coming Back

If you opened the VS Code Marketplace, searched for Grammarly and found nothing usable, you are not imagining it. The popular Grammarly extension for Visual Studio Code was archived on 7 May 2024. The repository went read-only, updates stopped, and even a manual install no longer gives you working suggestions inside the editor.

The cause was a product decision rather than a bug. Grammarly discontinued its Text Editor SDK on 10 January 2024, which removed the API that every editor integration depended on. For developers the practical effect was blunt: the one place where most technical writing actually happens, the editor, lost the most famous grammar checker on the market.

The gap is real, because developers write prose all day. README files, API reference pages, pull request descriptions, commit messages, docstrings and code comments are all natural language, and none of it lives in Gmail or Google Docs, which is exactly where Grammarly's remaining products are strongest.

  • Archived: the Grammarly extension for VS Code, 7 May 2024, now read-only with no further updates

  • Discontinued: the Grammarly Text Editor SDK, 10 January 2024, the API behind every editor integration

  • Still working: Grammarly's browser extension and desktop app, neither of which checks inside your IDE

  • Left behind: roughly 298,000 recorded downloads of the old extension and no official replacement

Grammarly for VS Code has been archived, leaving no alternatives. For anyone who writes a lot of documentation in the IDE, this is a real bummer.

The 5 Best Alternatives at a Glance

Five tools fill the hole in 2026, and they fall into two families. Three are prose linters that run locally or in continuous integration, namely Harper, LanguageTool and Vale. Two are AI-based checkers that read code context and can rewrite a sentence without breaking a token, which is where a code-aware tool such as Lint fits.

The table below compares what each one costs, whether it plugs into VS Code, and whether it understands code at all. That last column is the one that matters most for technical writing.

ToolPriceVS Code integrationUnderstands codeBest for
HarperFree, open source (Apache-2.0)Official extensionPartial, English onlyPrivacy-first offline checking
LanguageToolFree tier, Premium about $5.83 per monthOfficial extensionPartial, tunable dictionaryMultilingual teams, self-hosting
ValeFree, open sourceOfficial extensionYes, rules target prose onlyDocs-as-code and CI style gates
textlintFree, open sourceOfficial extensionYes, pluggable JS rulesJavaScript and TypeScript projects
LintFree tier, paid plans from $12/month, BYOK freeEditor and CLI workflowYes, keeps code and technical terms intactDevelopers who write prose next to code

Deep Dive: Harper and LanguageTool

Harper is the most interesting thing to happen to this category in years. It is written in Rust by Elijah Potter and now developed at Automattic, it is free under the Apache-2.0 licence, and it runs entirely on your machine. There is no account, no credit card and no cloud round trip, which makes it safe to point at private repositories.

Suggestion latency is under 10 milliseconds, so it keeps up with typing. It ships as a language server as well as a VS Code extension, which means the same engine works in Neovim, Helix, Emacs, Zed, Sublime Text and Obsidian. The trade-off is scope: Harper is English only and focuses on capitalisation, spelling, awkward phrasing and broken grammar rather than style rewriting or tone.

LanguageTool is the veteran of the group. Its core rule engine is open source, it covers more than 25 languages, it integrates with VS Code and other editors, and you can self-host the whole server with Docker so that no text ever leaves your network.

The catch is the free tier. Character limits apply per check and several of the best real-time features lean on Premium. Even so, if you write in English plus German, French, Spanish or Portuguese, or your company forbids sending drafts to a third party, LanguageTool remains the strongest answer.

  • Harper: free forever, fully offline, English only, ideal for private repositories

  • LanguageTool: more than 25 languages, self-hostable, free tier is capped

  • Both ignore fenced code blocks better than a generic browser checker does

  • Neither will rewrite a confusing sentence for you, which is the next problem to solve

docker run -d -p 8010:8010 --name lt --restart always erikvl87/languagetool

Harper returns suggestions in under 10 milliseconds and never sends your text anywhere.

Deep Dive: Vale, textlint and Code-Aware AI Checkers

Vale is the choice for teams that already treat documentation as code. It is a command line prose linter: you declare a style package, point it at your Markdown, and it fails the build when your writing drifts. Because it runs locally and in CI, it costs nothing per check and never phones home.

textlint plays the same role inside the JavaScript ecosystem. Rules are npm packages, so a team can share one style configuration across every repository and enforce it from a pre-commit hook.

Both are excellent at consistency and poor at judgement. They can tell you that a sentence used a banned word, but not that the sentence is confusing. That is where code-aware AI checkers come in.

A code-aware checker treats prose and code as different materials. It ignores identifiers such as getUserById and localhost, leaves fenced code blocks untouched, and only rewrites the sentence around them. Lint was built for exactly this workflow, and the difference shows the moment you paste a README with a code sample into a generic checker and watch it try to capitalise a function name.

  • Vale: zero cost per check and enforceable in CI, but no semantic judgement

  • textlint: shareable npm rule packs, best for JavaScript and TypeScript monorepos

  • Code-aware AI checkers: catch confusing sentences without mangling tokens

  • The test that matters: paste a README with a code block and see what survives

vale --config=.vale.ini README.md

Which One Should You Actually Use

The honest answer depends on what you are protecting. If your constraint is confidentiality, choose a tool that runs locally. If your constraint is consistency across a large documentation set, choose a linter you can put in CI. If your constraint is that the writing has to be clear and you do not want to repair your own identifiers afterwards, choose something code-aware.

Most developers end up with two tools: a fast local linter for the daily loop, and one AI checker for the text that other people will actually read.

Your situationBest choiceWhy
Private or internal repositoriesHarperRuns fully offline, no account, no cloud
Multilingual documentationLanguageToolMore than 25 languages, self-hostable
Large docs set with a house styleValeRules live in CI and fail the build on drift
JavaScript or TypeScript monorepotextlintRules are npm packages, easy to share
READMEs, pull requests and comments that must read wellLintUnderstands code context and keeps tokens intact

How to Switch in Ten Minutes

Migration is simpler than most people expect, because nothing that still works needs to be uninstalled. Start by removing the archived extension so VS Code stops trying to start a dead language server, then add the replacement that matches your constraint.

If you choose a self-hosted option, keep the server on localhost and point the editor at it. If you choose a hosted checker, paste one real document first, ideally a README or a pull request description that contains a code block, and confirm that your identifiers survive the pass. That single test tells you more than any feature list.

  • Remove the archived Grammarly extension from VS Code

  • Install the replacement and open one real README, not a sample paragraph

  • Verify that code blocks, identifiers and technical terms come back untouched

  • For linters, commit the configuration file so the whole team inherits it

code --uninstall-extension znck.grammarly

Test with a document that contains a code block. If your function names come back capitalised, the tool is not code-aware.

Start with the safest path

You do not need a subscription to proofread technical writing. Start with a free tier and one real document, and let the tool prove that it understands code before you pay for anything.

Lint is a code-aware writing assistant built for people who write next to code. The free tier needs no signup, the paid plan is $12 per month — roughly the same as Grammarly Premium, with code awareness at $12 per month, and if you bring your own API key the tool is free with no limits. It covers grammar, paraphrasing, summarising, translation and readability, and it leaves your code blocks alone.

Open the tools page, paste a README with a code sample, and see whether your identifiers survive: https://tools.aicreditsapi.com/tools/

  • Free tier: no signup, no credit card, 5 free uses per day

  • Paid plan $12/month, same as Grammarly Premium

  • Bring your own API key: unlimited checks at no cost

  • Code-aware: identifiers, code blocks and technical terms stay intact

Check your own text — free

Paste a commit message, PR description, or code comment into the free Lint grammar checker. It proofreads the prose and leaves identifiers, commands, and fenced code blocks untouched — no signup needed for your first checks.

Frequently Asked Questions

Is the Grammarly extension for VS Code still available?

No. The extension was archived on 7 May 2024 and the repository is read-only. Grammarly discontinued its Text Editor SDK on 10 January 2024, which removed the API the extension depended on. The browser extension and desktop app still work, but neither checks inside your editor.

What is the best free Grammarly alternative for VS Code?

For privacy and offline use, Harper. For multilingual writing, LanguageTool. For documentation enforced in continuous integration, Vale. For prose that sits next to code and must not be mangled, a code-aware checker such as Lint.

Do grammar checkers break code?

Generic checkers often do. They treat identifiers, file paths and command names as ordinary English, so they suggest capitalising localhost or rewriting getUserById. Code-aware tools separate prose from code and only edit the prose.

Can I use a grammar checker on private repositories?

Only if it runs locally. Harper processes text on your device, and LanguageTool and Vale can both be self-hosted, so nothing leaves your network. Hosted tools send your text to a server.

How much should a developer pay for a grammar checker?

Grammarly Premium is $12 per month on annual billing and up to $30 month to month. Free tiers cover most technical writing, and metered or bring-your-own-key plans let you pay only for what you actually use.

📌 Prices and tool count in this article may be outdated. Lint now ships 16 tools with Pro at $12/mo, or $60/year. 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

16 AI 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 $60/yr
💬