Formatters
Format, beautify, and minify HTML markup locally.
Add an input and run this tool to see the output.
Run AIOptional, bring your own key.
Add your own AI provider in AI settings to enable AI help for this tool. Nothing is sent until a key is configured.
Tool overview
Format unindented or messy HTML into a clean, readable structure with two-space indentation, or minify HTML to reduce payload size.
What this tool supports
- Formats and indents HTML documents with 2-space indentation.
- Supports void tags, doctypes, comments, scripts, and stylesheets.
- Includes instant minification mode to strip unnecessary whitespace and comments.