Ansifilter
lastmod 2026-11-10created 2024-08-133 edits
Ansifilter is a command-line tool that removes ANSI escape sequences mixed into text or converts them to other formats. It turns logs and command output containing terminal color codes into clean plain text, and can also convert them to HTML, RTF, LaTeX, BBCode, and more while preserving colors. It is used when pasting terminal output into documents or web pages.
ANSI sequence filter