Escape special HTML characters to entities.
Decode HTML entities back to text.
Format and indent HTML.
Minify HTML markup.