Início
Tom Utilities

Formatador HTML

HTML, CSS e JavaScript

Embeleza HTML com recuo consistente, mantendo corretos os elementos em linha e vazios.

Entrada

Resultado

Como usar

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.

Perguntas frequentes

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.