PHPackages                             docxpresso/html2text - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. docxpresso/html2text

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

docxpresso/html2text
====================

A simple package that converts HTML into plain text using DOM methods

v1.2(8y ago)56.6kMITPHP &gt;=5.4

Since May 3Compare

[ Source](https://github.com/Docxpresso/HTML2TEXT)[ Packagist](https://packagist.org/packages/docxpresso/html2text)[ RSS](/packages/docxpresso-html2text/feed)WikiDiscussions Synced 2mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/Docxpresso/HTML2TEXT).

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity60

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Total

3

Last Release

3281d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/901b363f4ab908d8f4c6b88b1ecef2bf02218a165557610bb41935ffc96598df?d=identicon)[Docxpresso](/maintainers/Docxpresso)

---

Tags

htmldomtexttxt

### Embed Badge

![Health badge](/badges/docxpresso-html2text/health.svg)

```
[![Health](https://phpackages.com/badges/docxpresso-html2text/health.svg)](https://phpackages.com/packages/docxpresso-html2text)
```

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M226](/packages/masterminds-html5)[paquettg/php-html-parser

An HTML DOM parser. It allows you to manipulate HTML. Find tags on an HTML page with selectors just like jQuery.

2.4k7.9M121](/packages/paquettg-php-html-parser)[sunra/php-simple-html-dom-parser

Composer adaptation of: A HTML DOM parser written in PHP5+ let you manipulate HTML in a very easy way! Require PHP 5+. Supports invalid HTML. Find tags on an HTML page with selectors just like jQuery. Extract contents from HTML in a single line.

1.3k9.4M62](/packages/sunra-php-simple-html-dom-parser)[scotteh/php-dom-wrapper

Simple DOM wrapper to select nodes using either CSS or XPath expressions and manipulate results quickly and easily.

1471.9M10](/packages/scotteh-php-dom-wrapper)[simplehtmldom/simplehtmldom

A fast, simple and reliable HTML document parser for PHP.

1921.3M14](/packages/simplehtmldom-simplehtmldom)[texy/texy

Texy converts plain text in easy to read Texy syntax into structurally valid (X)HTML. It supports adding of images, links, nested lists, tables and has full support for CSS. Texy supports hyphenation of long words (which reflects language rules), clickable emails and URL (emails are obfuscated against spambots), national typographic single and double quotation marks, ellipses, em dashes, dimension sign, nonbreakable spaces (e.g. in phone numbers), acronyms, arrows and many others. Texy code can optionally contain HTML tags.

161838.9k15](/packages/texy-texy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
