Loading...
Loading...
Beautify or minify HTML code with customizable indentation — instantly.
Paste your HTML code
Click Beautify or Minify
Copy the formatted output
Both beautify and minify modes
Choose indent size (2 or 4 spaces)
Preserves script and style content
It formats the structure but does not fix missing closing tags or invalid nesting.
Script and style blocks are optionally formatted too.
HTML entities are preserved as-is during formatting.