proselint is an open-source command-line prose linter that replaces Hemingway Editor with fast, offline style checks in Git hooks and CI pipelines.
Cognitive scientist Jordan Suchow and data scientist Michael Pacer created proselint at UC Berkeley to turn inert writing handbooks into an executable command-line linter. Instead of expecting authors to memorize usage manuals, they translated stylistic advice from editors and classic authors into deterministic rules. Today, that origin gives developers a lightweight, headless style checker that runs offline inside text editors, scripts, and automated test suites.
Hemingway Editor focuses on manual, visual editing within a web or desktop application, highlighting dense sentences, passive voice, and adverbs to compute an overall readability grade. That design works well for a solo writer reviewing a single essay, but it introduces friction into technical workflows. Developers cannot easily wire Hemingway Editor into a continuous integration pipeline, run it across hundreds of documentation files at once, or parse its feedback inside terminal buffers.
proselint approaches prose through the lens of performance and automation. As a command-line utility and Python module, it evaluates Markdown, plain text, and documentation files locally on disk without sending content to third-party servers. Documentation teams avoid the latency of browser interfaces and cloud calls; a pre-commit check or CI job evaluates updated articles in fractions of a second. While proselint lacks Hemingway Editor's graphical interface and composite readability score, its ability to output structured diagnostics directly to stdout or JSON makes style validation a repeatable, automated step in the software release process.
--output-format json.proselint.json, enabling teams to toggle individual rules or configure path-based overrides for specific documentation subdirectories.LintFile, allowing platform engineers to embed prose linting directly into custom documentation build pipelines.proselint vs Hemingway Editor — how do they differ for technical documentation? proselint is designed for headless automation in Git hooks and CI pipelines across plain text repositories, whereas Hemingway Editor is an interactive visual application geared toward manual single-document editing.
Can proselint check Markdown files without breaking on code blocks?
proselint inspects raw text files, so code fences can occasionally trigger stylistic warnings unless those rules are disabled or path-specific overrides are set in proselint.json.
Does proselint require an internet connection or cloud account? No, proselint runs entirely offline on your local machine, ensuring that internal documentation, API notes, and source code comments remain confidential.
proselint fits engineering teams that treat documentation like code and want fast, headless style enforcement directly inside Git hooks and CI pipelines, though writers needing visual readability scores will still prefer a graphical editor. Its BSD-3-Clause license permits embedding the utility into proprietary toolchains, and continuous repository maintenance into late 2026 keeps its checks dependable for modern software documentation.
Commands from the official package registries. Each package is matched to proselint through the registry's own link to its source code or website.
brew install proselintbrew install proselintLint, codegen, breaking-change checks and dependency management in one Git-native CLI. Open source, no registry lock-in.
Show that proselint is listed as an open-source alternative. Paste into your README: