Tools / HTML Formatter

HTML Formatter

Format HTML source locally without running scripts or loading its resources.

Up to 100 KiB. Formatting is not sanitization or a browser compatibility check. Embedded script and style contents are left as source text. All processing stays on this device.

Result

Your result will appear here after processing.

How do I use this tool?

Paste HTML and format it with two-space indentation. Copy or download the source; it is displayed as text.

What does it support?

Up to 100 KiB. Formatting is not sanitization or a browser compatibility check. Embedded script and style contents are left as source text.

Does my input leave my device?

No. Processing runs locally in your browser. Input and results are kept only on this page and are cleared when you leave, reload or clear the tool. Copy and download happen only when you choose those actions.