HTML Formatter
Indent HTML tags.
Indents HTML by tag depth. Not a full HTML5 parser; broken markup stays broken.
What HTML Formatter does
Indents HTML by tag depth. Not a full HTML5 parser; broken markup stays broken.
Practical limit for HTML Formatter: Tag indent only. Does not parse a full HTML5 tree. That is why output can differ from heavy desktop Developer software. Read the tool-specific note again: Indents HTML by tag depth. Not a full HTML5 parser; broken markup stays broken.
How to use HTML Formatter
- Keep this tab on HTML Formatter (/developer/html-formatter). Pasting into the wrong Developer tool (for example HTML to Markdown) changes the job.
- Paste or type the input HTML Formatter expects. Path hint: developer · html formatter. Indent HTML tags.
- Apply the HTML Formatter action only. XML Formatter is a different transform (Pretty-print XML.). Indents HTML by tag depth. Not a full HTML5 parser; broken markup stays broken.
- Copy the output of HTML Formatter if you need it elsewhere. Size/complexity still follows: Tag indent only. Does not parse a full HTML5 tree.
- If the text job is actually Convert HTML tags to Markdown., leave HTML Formatter and open HTML to Markdown.
When not to use HTML Formatter
Skip HTML Formatter when a neighbor tool matches better — start with HTML to Markdown or XML Formatter — or when the description already warns the job will fail. In the tool’s own words: Indents HTML by tag depth. Not a full HTML5 parser; broken markup stays broken.
Questions about HTML Formatter
- What does HTML Formatter do that other Developer pages on this site do not?
- Indents HTML by tag depth. Not a full HTML5 parser; broken markup stays broken. Short version: Indent HTML tags.
- Does HTML Formatter upload my file or text to Tool-You servers?
- No. HTML Formatter runs in this browser tab. Files stay on the device. Limit note: Tag indent only. Does not parse a full HTML5 tree.
- Should I use HTML to Markdown instead of HTML Formatter?
- Use HTML Formatter when you need Indent HTML tags. Use HTML to Markdown when you need Convert HTML tags to Markdown. They share a category (Developer) but not the same job.
- What are the limits of HTML Formatter?
- Tag indent only. Does not parse a full HTML5 tree. Also: Indents HTML by tag depth. Not a full HTML5 parser; broken markup stays broken.