HTML 格式化
格式化并缩进 HTML。
Paste HTML to indent and tidy it. This is a lightweight, dependency-free formatter — it re-indents tags by nesting depth. Everything runs locally in your browser.
工作原理
- 1 Paste your HTML.
- 2 The indented output appears live.
- 3 Copy or download the .html file.
常见用例
- Make minified HTML readable.
- Tidy up copied markup.
- Inspect page structure.
- Prepare HTML for review.
常见问题
Is my input sent to a server?
No. Everything runs locally in your browser — your input is never uploaded, stored or logged.
Are there limitations?
It re-indents by tag nesting and is intentionally simple; it does not reflow text content or fix invalid markup. For complex documents, a full formatter may differ.
Is it really free?
Yes — free, with no signup and no limits.