HTML formatter
Format HTML source locally with predictable indentation and line wrapping.
Format HTML source locally with predictable indentation and line wrapping.
- AbsolTools makes the tools you use often more accurate and convenient.
- Every tool is free with no sign-up. Work happens in your browser, and inputs and results are not stored on or sent to a server.
- Bookmark this site so you can come straight back next time.
Result is out of date
Formats HTML source only. Embedded CSS and JavaScript are not formatted, and whitespace-sensitive content can change.
How to use HTML formatter
Paste HTML, choose indentation and print width, then review whitespace-sensitive pre and code content before using the result.
Private, local processing
Your input and results are not uploaded or stored. They remain in this browser tab.
Frequently asked questions
What does HTML formatter do?
Format HTML source locally with predictable indentation and line wrapping.
Is my data uploaded?
Your input and results are not uploaded or stored. They remain in this browser tab.
What should I check when using HTML formatter?
Paste HTML, choose indentation and print width, then review whitespace-sensitive pre and code content before using the result.