html2text
« Back to VersTracker
Description:
Advanced HTML-to-text converter
Type: Formula  |  Latest Version: 2.4.0@0  |  Tracked Since: Nov 15, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: html text-conversion cli document-processing web-tools
Install: brew install html2text
About:
html2text is a command-line tool that converts HTML documents into clean, formatted plain text. It parses HTML markup while preserving structure, links, and basic formatting, making it ideal for processing web content into readable text formats. The tool handles complex HTML structures and provides configurable output formatting options.
Key Features:
  • Robust HTML parsing with support for complex markup
  • Configurable output formatting and text wrapping
  • Preservation of links and basic text structure
  • Command-line interface for batch processing
  • Handles malformed HTML gracefully
Use Cases:
  • Converting web pages to readable text for terminal viewing
  • Processing HTML emails or content for text-based systems
  • Extracting text content from HTML for scripting and automation
  • Preparing web content for text-only documentation systems
Alternatives:
  • lynx – Full-featured terminal browser with dump mode, heavier than html2text
  • pandoc – Universal document converter with broader format support but larger dependency footprint
  • w3m – Text-based browser with HTML dumping capabilities, includes rendering engine
Version History
Detected Version Rev Change Commit
Nov 15, 2025 8:38pm 0 VERSION_BUMP 4f13de8f
Nov 15, 2025 2:30pm 0 VERSION_BUMP 70499a3d
Sep 12, 2025 10:36am 0 VERSION_BUMP 86982101
Jan 7, 2025 8:08pm 0 VERSION_BUMP 6da80ffe
Dec 3, 2024 7:52pm 0 VERSION_BUMP 336665ce