HTML Formatter

Pretty-print HTML and Vue templates, including inline script and style.

WebRuns in your browser

About this tool

Pretty-print HTML or Vue templates with consistent indentation, including inline script and style blocks, or minify HTML by collapsing whitespace and removing comments. The markup is parsed as text only and never rendered.