Skip to main content

Beautify and indent minified HTML online

HTML
Beautified

The result appears here as you type.

Puts each element on its own line at the right depth, which is usually the quickest way to find the div that was never closed. Works on minified output and on the deeply nested HTML that page builders and email templates produce. Also called an HTML formatter, prettifier or indenter. Handy for email templates where nested tables hide the structure.

How to use the HTML Beautifier, step by step

Real screenshots of the tool, captured while running it.

  1. 1

    Open the tool

    HTML Beautifier opens empty, with html on the left and beautified on the right.

    Empty HTML Beautifier before any input
  2. 2

    Add your input

    Paste your own html, or load the sample. The beautified pane fills in as you type.

    HTML Beautifier with input in place
  3. 3

    Read the result

    The beautified appears on the right with copy and save beside it.

    HTML Beautifier showing its result

Questions people ask

Related tools