HTML Formatter (basic)
A lightweight HTML formatter with simple indentation (best-effort). Runs locally in your browser.
Input HTML
Formatted
<div>
<h1>Hello
</h1>
<p>Test
<strong>bold
</strong>
</p>
</div>Note: This formatter is heuristic and may not handle scripts/styles or malformed HTML perfectly.
Related tools
SQL FormatterCode
Format and beautify SQL queries with syntax highlighting.
GraphQL FormatterCode
Format and prettify GraphQL queries, mutations, and schema definitions.
HTML Minifier (basic)Code
Minify HTML quickly in your browser.
HTML Minifier ProCode
Advanced HTML minifier with options for removing comments, optional attributes, whitespace, and empty elements.
TOML Formatter & ValidatorCode
Format, validate, and prettify TOML documents locally in your browser.
HTML Character Codes ReferenceCode
Browse and search HTML character entities with names, numbers, Unicode codepoints, and descriptions.