HTML Beautifier is a free online tool which used to beautify The Hyper-Text Markup Language with syntax highlighting. Its automatically formats or unminify or prettify your HTML code to be consistent, fancy and easy to read. A standard markup language designed to be displayed in a web browser and can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.

Beautify HTML Options:

Indent with

INPUT (Minified HTML):
OUTPUT (Beautified HTML):
Note:
  • Only one blank line between two rulesets
  • Closed curly brace is at its own line
  • There is no empty line between declarations inside a ruleset
  • No space between the property name and colon
  • One space between colon and the property value
  • Wrap lines that exceed N characters [0]
  • Space before conditional True
  • Comments are preserved