HTML Formatter / Minifier
Format single-line HTML into a clearly structured multi-line layout, or compress it into one line.
输入 HTML 源码
输出结果
How to Use
- Paste your code into the input area.
- Select your preferred indentation (2 or 4 spaces).
- Click Format to beautify, or Minify to compress.
- Click Copy to clipboard.
FAQ
Is my data uploaded to a server?
No. All processing is done instantly online.
How large of a file is supported?
Since it runs in the browser, it supports a few megabytes.
Need more powerful features?
* Some links are affiliate partnerships