ホーム
Tom Utilities

HTML フォーマッター

HTML・CSS・JavaScript

インライン要素と空要素を正しく保ちながら、一貫したインデントで HTML を整形します。

入力

結果

使い方

How to format HTML

Paste HTML and press Format. The tool indents nested tags and preserves inline text flow.

  1. Paste HTML into the input editor.
  2. Press Format.
  3. Copy the beautified markup.

よくある質問

Does it preserve my content?

Yes. Reformatting only changes whitespace and never alters tags or text values.

Are void elements handled?

Void elements such as br and img are kept self contained and not indented as containers.