# html-to-text/node-html-to-text

Advanced html to text converter

Repository: https://github.com/html-to-text/node-html-to-text
Canonical: https://ross.abutalabs.com/products/node-html-to-text
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: html, text, plain-text, node, email, pretty-print, converter
Last push: 2026-08-19T17:30:00+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 5138, "days_push": 14, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1766, forks 229 (observed 2026-08-28T04:05:33.539903+00:00)

## What it is
A Node.js monorepo providing an advanced HTML to plain text converter, available as a library (html-to-text) and a CLI (@html-to/text-cli), with an HTML-to-markdown package in progress. It handles formatting like tables, lists, and pretty-printing when converting HTML documents to readable text.

## Use cases
- convert html email to plain text
- extract readable text from html pages in node
- html to text command line converter
- strip html tags to get plain text
- convert html to markdown
- preprocess html for text analysis

## When to choose
- you need high-fidelity plain text rendering of HTML including tables and lists
- you process HTML emails in Node.js
- you want both a programmatic API and a CLI

## When to avoid
- you need a browser-based DOM manipulation library
- you want full HTML parsing with a DOM tree API
- you need conversion to rich formats other than text or markdown

## Facets
- artifact type: library
- maturity: active
- function: parser, cli, markdown
- domain: web-development, email, developer-tools, files
- platform: cli, cross-platform
- tags: html-to-text, plain-text-conversion, email-processing, monorepo, npm-package, nodejs

## Member repositories
- html-to-text/node-html-to-text (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:33.539903+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:26:29.654028+00:00, confidence not recorded.
  - readme: https://github.com/html-to-text/node-html-to-text (fetched 2026-08-28T04:05:33.539903+00:00, sha bd2106d5b9cb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
