HTML Formatter & Minifier

Format or conservatively minify an HTML fragment locally.

Formatting uses the browser HTML parser. The minifier only removes inter-tag whitespace.