Paste minified or messy HTML and get a beautifully formatted version with proper indentation and line breaks. Choose between 2 or 4 space indentation.
Features
Auto-Indentation — Correctly indents nested elements based on HTML tag hierarchy.
Self-Closing Tag Support — Recognizes , , , , and other void elements.
Configurable Indent — Choose 2 or 4 spaces to match your project's code style.
Real-Time Preview — See the formatted output as you paste or type.
Common Use Cases
Code Review — Format minified vendor HTML to understand its structure.
Debugging — Make compressed HTML readable to find missing tags.
Documentation — Clean up examples before adding to docs.
Email Templates — Format messy generated HTML for editing.
Why Use This Tool
Minified HTML is unreadable. This tool restores proper formatting instantly, making it easy to understand tag hierarchy, find errors, and maintain clean code.