Command-line tool
aha
brew/aha
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
ANSI HTML adapter
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install aha
Linux
brew install aha
Convert terminal output to HTML
color_command | aha > path/to/output.html
Read from a file instead of `stdin`
aha -f path/to/input.txt > path/to/output.html
Convert to HTML with a black background
color_command | aha -b > path/to/output.html
Related command-line tools
- ansifilter
Strip or convert ANSI codes into HTML, (La)Tex, RTF, or BBCode - enscript
Convert text to Postscript, HTML, or RTF, with syntax highlighting - ansi-regex
Regular Expression for matching ANSI escape codes. - wrap-ansi
A high-performance, Unicode-aware Rust library for intelligently wrapping text while preserving ANSI escape sequences,… - ansi-escape-sequences
High-performance Rust library for detecting, matching, and processing ANSI escape sequences in terminal text with… - r3bl_ansi_color
DEPRECATED: Use r3bl tui instead. Rust crate to generate formatted ANSI 256 (8-bit) and truecolor (24-bit) color… - sequin
Human-readable ANSI sequences - cfonts
Sexy ANSI fonts for the console
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents