Drag and Drop HTML file here
or click to select a .html or .htm fileOr type/paste HTML code below:
Beautification Options
Wrap Attributes
Wrap long attributes to new lines
Preserve Newlines
Keep original empty lines
Fix HTML Errors
Automatically close unclosed tags
Note: This tool formats HTML with default professional settings (2 spaces indentation).
About This HTML Beautifier
This tool beautifies HTML code using professional default settings including:
- 2 spaces indentation (industry standard)
- Proper tag nesting and formatting
- Configurable options for advanced control