Developer tools
HTML formatter
Nested tags step in and out. Void tags are not over-indented.
Processed in your browser — nothing is uploaded
Splits on tags and tracks depth. Not a browser HTML parser, but enough for fragments.
Last reviewed 2026-09-10.
FAQ
Questions, answered
SVG and XML?
Use the XML formatter for strict XML; this one is tuned to HTML void tags.
Scripts?
Content inside tags is not pretty-printed as JS. Use the JS formatter for that.
Does my text leave the browser?
No. The HTML formatter runs in JavaScript on this page. Your paste is not uploaded.
Related