Paste HTML here
Formatted HTML
Paste minified, messy, or unindented HTML and get beautifully formatted, readable code in one click.
Copy any HTML — minified code, messy markup, or unindented source — and paste it in the left panel.
Choose indent size (2 or 4 spaces, or tabs), lowercase tags, remove comments, and syntax highlighting.
Get clean, properly indented HTML with syntax highlighting. Copy or download the result instantly.
Automatically indents nested tags to the correct level — 2 spaces, 4 spaces, or tabs.
Tags, attributes, and values are color-coded so the code is easy to read and scan.
Need compact code? Use the Minify button to compress your HTML into a single line.
All formatting runs in your browser. Your HTML code never leaves your computer.