Accueil
Tom Utilities

Formateur HTML

HTML, CSS et JavaScript

Embellit le HTML avec une indentation cohérente tout en respectant les éléments en ligne et vides.

Entrée

Résultat

Comment utiliser

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.

Questions fréquentes

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.