HTML Formatter
開発者向けRe-indent compressed or one-line HTML. pre, textarea, script and style blocks keep their original whitespace.
正在加载工具…
使い方
3 ステップ- 01
Paste your HTML — minified single-line source works too
- 02
Pick an indent: 2 spaces, 4 spaces or tabs
- 03
The result updates live on the right; copy or download it
よくある質問
2 件の質問
Q1Will it change how the page renders?
No. It only adds newlines and indentation between tags; attributes and text content are untouched, and spacing between inline elements is preserved.
Q2Does it re-indent the contents of <pre>?
No. pre, textarea, script and style are masked before formatting and restored afterwards, so preformatted text stays exactly as it was.