This perl script uses a completely ad-hoc set of heuristics to filter "typical" text files into html files. Warnings about ambiguous constructions are printed to stderr. Although it may not produce perfect HTML output, it often comes amazingly close, and the resulting output is clean enough to be easily editable. (NOTE: This is a new version as of 2/94, featuring reasonable handling of enumerated and bulleted lists and optional support for mail headers and quotation conventions.)
Usage is
htmlify [-width=n -nohyphen -<cdes>header=Hn -smtp]
This perl script converts "correct" HTML into text. It isn't as forgiving as the average browser, so a few apparently correct documents may have problems.
Usage is
html2txt [-margin=n -linelen=n -{I,B,H1,H2}cap={0,1} -{I,B}bracket="string" -{H1,H2}under={0,1}]