Back
HTML formatter
Formatters
Loading
Loading tool
Preparing the tool. The remaining time is not yet known.
All processing for this tool happens in your browser. Your input is not sent to a server.
About this tool
Indent HTML markup while handling void elements and common optional closing tags.
Common uses
- Indent HTML markup while handling void elements and common optional closing tags.
- Paste an HTML fragment or document.
How to use it
- 1.Paste an HTML fragment or document.
- 2.Choose indentation, format, and copy the readable markup.
Limits and notes
- Input is limited to 2 million characters. Invalid closing structure fails; script and style contents are not separately beautified.
Frequently asked questions
What does this tool do?
Indent HTML markup while handling void elements and common optional closing tags.
What should I check before using the result?
Input is limited to 2 million characters. Invalid closing structure fails; script and style contents are not separately beautified.