There are millions scripts to [convert ansi to html](https://encrypted.google.com/search?q=convert+ansi+to+html). [Ansifilter](http://www.andre-simon.de/doku/ansifilter/en/ansifilter.php) can convert ANSI codes to text, HTML, pango, TeX, rtf and BBCodes.
– phdDec 19 '17 at 15:54