Natural provides general purpose natural language processing utilities for applications built with Node.js.
Retext
Retext processes natural language through a plugin based toolkit in the unified JavaScript ecosystem.

About Retext
Retext is a tool that transforms natural language with plugins in the unified JavaScript ecosystem. It represents prose as concrete syntax trees that plugins can inspect and change, for tasks such as checking spelling, fixing typography, flagging redundant phrases, and checking readability. Users can use existing plugins or write their own.
The repository is a monorepo with parsers for English, Dutch, and other Latin-script prose, plus a serializer and a programmatic interface. It can run on the server, the client, Deno, and related JavaScript environments. The source recommends retext-english for English, retext-dutch for Dutch, and the general parser for other Latin-script languages.
Key features
- Inspect and change natural language syntax trees with plugins
- Parse English prose to syntax tree via retext-english
- Parse Dutch prose to syntax tree via retext-dutch
- Parse Latin-script prose via retext-latin
- Serialize syntax trees to text via retext-stringify
- Create custom plugins for spelling, typography and readability checks
- Plugin ecosystem allows use of existing plugins or custom plugins
- Runs on the server, the client, Deno, and related environments
- Fully typed with TypeScript with types for nlcst available
- Parsing guidance covers English, Dutch, and other Latin-script languages
- Community plugins vary in maintenance and require quality assessment
Retext at a glance
- Website
- github.com/retextjs/retext
- Category
- Development › Programming Languages
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
Retext alternatives
Tools and sites you could use instead, ranked by how closely they match.
Apache OpenNLP is a machine learning based toolkit for the processing of natural language text.
The stdlib project provides a numerical library for JavaScript and TypeScript applications.
MixedModels.jl fits statistical mixed effects models using the Julia programming language.
Use Crystalline, a Language Server Protocol implementation for the Crystal programming language.
Polyglot provides multilingual text processing tools for natural language processing.
Popular in Programming Languages
Well-known listings from the same topic.
Retext FAQ
When should I use retext-english, retext-dutch, or retext?
Can I create my own retext plugin?
How do I find existing plugins?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.











