HTML Beautifier
Format and prettify HTML instantly. Configure indent size, wrap length, and newline preservation. Runs entirely in your browser — nothing is sent to a server.
0 characters
What does beautify mean?
HTML beautification adds consistent indentation and line breaks to minified or hand-written HTML, making it easier to read and maintain. It does not validate or repair invalid markup.
Minified vs. pretty HTML
Build tools minify HTML to reduce file size. Beautifying reverses this for readability during development. Never commit beautified HTML if your build pipeline expects a minified source.
Wrap at setting
Controls the column at which long attribute lists are wrapped onto new lines. Use 80 for terminal-friendly output, 120 for modern wide-screen editors, or Off to disable wrapping entirely.