Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

html-to-text

Convert HTML to plain text with support for preserving formatting and structure.

Scraping, browsers and parsingNPM

GitHubWebsite

1. License

License from npm.

github.com/html-to-text/node-html-to-text

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What html-to-text does

Convert HTML to plain text with support for preserving formatting and structure.

html-to-text popularity

62 / 100
Gid Score, #857 overall
33M
downloads a week, npm
1,762
GitHub stars
9
agent projects use it
html-to-text: downloads per weeknpm, html-to-text 33,004,202
html-to-text: GitHub starshtml-to-text/node-html-to-text 1,762

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How html-to-text is used

  • html-to-text is a dependency in 9 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 60 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is Cheerio (76 projects).
  • Projects that use it most often also use LangChain.js (48.3%), dotenv (55.0%), mammoth (45.0%).

By coding agent

6 projects, 0.2%

Often used with

In 48.3% of its projects
In 55.0% of its projects
In 45.0% of its projects
In 41.7% of its projects
In 41.7% of its projects
In 63.3% of its projects
In 38.3% of its projects
In 36.7% of its projects

More about html-to-text

Funding
  • GitHub Sponsors: https://github.com/KillyMXI
  • 1 GitHub sponsors

See all

More in Scraping, browsers and parsing

Alternatives

html-to-text This page

MITGid 6233M/wk

Cheerio

jQuery-like syntax for parsing and manipulating HTML/XML with server-side speed.

MITGid 7837.4M/wk

Compare html-to-text with another tool

Get started

Install it.

npm install html-to-text

No step-by-step start for html-to-text yet: we have not written its hand-checked card.