Inicio
Tom Utilities

Formateador HTML

HTML, CSS y JavaScript

Embellece HTML con sangría uniforme manteniendo correctos los elementos en línea y vacíos.

Entrada

Resultado

Cómo 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.

Preguntas frecuentes

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.