PHPackages                             kntnt/html-to-markdown - 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. kntnt/html-to-markdown

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

kntnt/html-to-markdown
======================

A dependency-free PHP 8.5 library that converts HTML into GitHub Flavored Markdown. A faithful port of the Go library JohannesKaufmann/html-to-markdown (v2).

v0.1.1(5d ago)025↑2660%MITPHP &gt;=8.5

Since Jun 4Compare

[ Source](https://github.com/Kntnt/kntnt-html-to-markdown)[ Packagist](https://packagist.org/packages/kntnt/html-to-markdown)[ RSS](/packages/kntnt-html-to-markdown/feed)WikiDiscussions Synced 5d ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/Kntnt/kntnt-html-to-markdown).

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance99

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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 ~0 days

Total

2

Last Release

5d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4eebd2a9ac416639b0ab9c50581ee228727ba8b824aaf1d08002ed000bc1fa78?d=identicon)[TBarregren](/maintainers/TBarregren)

---

Tags

htmlconvertermarkdowngfmcommonmark

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kntnt-html-to-markdown/health.svg)

```
[![Health](https://phpackages.com/badges/kntnt-html-to-markdown/health.svg)](https://phpackages.com/packages/kntnt-html-to-markdown)
```

###  Alternatives

[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

3.0k426.1M927](/packages/league-commonmark)[league/html-to-markdown

An HTML-to-markdown conversion helper for PHP

1.9k31.0M266](/packages/league-html-to-markdown)[cebe/markdown

A super fast, highly extensible markdown parser for PHP

1.0k33.5M146](/packages/cebe-markdown)[pixel418/markdownify

The HTML to Markdown converter for PHP

195847.6k8](/packages/pixel418-markdownify)[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.

159855.5k15](/packages/texy-texy)[3f/converter

A set of classes to translate a text from HTML to BBcode and from BBCode to Markdown.

29152.0k](/packages/3f-converter)

PHPackages © 2026

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