Task path / input to outcome
How to format HTML
- 01
Paste the markup
HTML · Paste source up to 256 KiB UTF-8. Nothing is executed.
- 02
Choose the indent size
Choose 1–8 spaces or tabs.
- 03
Press Format
HTML · Format a dense snippet, inspect the result and compare it in its target environment before reuse.
- 04
Check the statistics
Compare UTF-8 input and output bytes and the savings percentage. A negative saving means the result grew; inspect it before copying or downloading.
- 05
Copy or download the result
Yes. Both export the current visible UTF-8 result. Changing the source or indentation invalidates the previous result; run again before exporting.