macOS
brew install html2textlocal Homebrew formula metadata
sudo port install html2textMacPorts ports tree · textproc/html2text/Portfile · ソース: api.github.com
brew / 順位 2034
html2text のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install html2textlocal Homebrew formula metadata
sudo port install html2textMacPorts ports tree · textproc/html2text/Portfile · ソース: api.github.com
sudo apk add html2textAlpine Linux edge package indexes · html2text · ソース: dl-cdn.alpinelinux.org
sudo apt install html2textDebian stable package indexes · html2text · ソース: deb.debian.org
nix profile install nixpkgs#html2textnixpkgs package indexes · pkgs/by-name/ht/html2text/package.nix · ソース: api.github.com
sudo dnf install python3-html2textFedora Rawhide package metadata · python3-html2text · ソース: dl.fedoraproject.org
sudo pacman -S python-html2textArch Linux sync databases · python-html2text · ソース: geo.mirror.pkgbuild.com
sudo zypper install python313-html2textopenSUSE Tumbleweed package metadata · python313-html2text · ソース: download.opensuse.org
概要
Advanced HTML-to-text converter
履歴
html2text renders HTML into terminal- and email-friendly plain text. The grobian-maintained project is a continuation of Martin Bayer's older html2text, with a focus on mail clients, terminal width, links, tables, character sets, and ANSI rendering.
The README states that the repository continues the project formerly hosted at mbayer.de/html2text and carries patches that were no longer available from the original sources. It also states that version 2.0 made the GitLab repository the official home.
GitLab tag metadata places v2.0.0 in 2020, followed by v2.1.x in 2022, v2.2.x in 2023, and v2.3.0 and v2.4.0 in 2025. The ChangeLog shows that later work added autotools-based builds, compatibility flags, whitespace normalization, ANSI escape output, color handling, and direct URL retrieval.
The tool is packaged across Homebrew, Debian, Ubuntu, Alpine, MacPorts, Nix, Arch, and Fedora-family ecosystems. Its adoption is helped by a stable command name and by mailcap integration examples for text-mode mail clients such as Mutt.
The README's central workflow is rendering text/html parts for terminal email. It shows a mailcap entry using html2text with ANSI output, link references, charset conversion, and terminal-width wrapping, plus Mutt configuration that auto-views HTML mail through the converter.
html2text is package-nerd material because it solves a stubborn Unix desktop problem: making HTML email tolerable in text-mode tools. It is small enough for a mailcap line, but specialized enough to preserve tables, links, alignment, and character-set behavior better than a bare text dump.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
html2text | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:html2text |
|---|---|
| バージョン | 2.4.0 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://gitlab.com/grobian/html2text |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
html2text 2.2.3-3
advanced HTML to text converter
https://gitlab.com/grobian/html2text
sudo apt install html2texthtml2text
nix profile install nixpkgs#html2texthtml2text 1.3.2a-28
advanced HTML to text converter
https://github.com/grobian/html2text
sudo apt install html2texthtml2text 2.4.0-r0
html2text is a command line utility, written in C++, that converts HTML documents into plain text.
https://github.com/grobian/html2text/
sudo apk add html2texthtml2text-doc 2.4.0-r0
html2text is a command line utility, written in C++, that converts HTML documents into plain text. (documentation)
https://github.com/grobian/html2text/
sudo apk add html2text-docpython3-html2text 2025.4.15-8.fc45
Convert HTML to Markdown-formatted text
https://github.com/Alir3z4/html2text/
sudo dnf install python3-html2textpython-html2text 2025.4.15-2
A HTML to markdown-structured text converter
https://github.com/Alir3z4/html2text
sudo pacman -S python-html2textpython313-html2text 2025.4.15-1.5
Python script for turning HTML into Markdown text
https://github.com/Alir3z4/html2text/
sudo zypper install python313-html2textpython314-html2text 2025.4.15-1.5
Python script for turning HTML into Markdown text
https://github.com/Alir3z4/html2text/
sudo zypper install python314-html2texthtml2text
sudo port install html2textソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.