跳到内容
RapideTools

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. 1 Paste your HTML.
  2. 2 The indented output appears live.
  3. 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.