Pretty-print HTML source with clean indentation. The result is shown as plain text only.
No comments yet. Be the first!
Pretty-print and indent HTML source. The result is shown as plain text only — scripts are never executed and there is no live preview.
Absolutely not. The formatted result is shown as plain text in the output box only — it is never rendered as a live page, and never executes <script> tags, event handlers, or <iframe> content. This is a source formatter, not an HTML preview.
Their original content is preserved rather than deeply reformatted — only the surrounding block's indentation level is adjusted, to avoid breaking their internal syntax.
HTML5 itself is lenient about certain patterns (like omitted closing tags), and those are reasonably auto-corrected; but genuinely conflicting tag nesting produces a clear error message.
Formatting runs entirely in your browser — the source you paste or upload here is never sent to any server.