HTML Formatter
Make messy or minified HTML readable.
- Free, no sign-up
- Runs in your browser
Drop your file here, or
TXT, CSV, JSON, Markdown, HTML, XML, DOCX, PDF, RTF and more
Options
Runs in your browser
Result
Your result will appear here.
Add your text, then press Format HTML.
How to use HTML Formatter
- Paste your text into the input box, or drop a file onto it.
- Choose your options.
- Press Format HTML.
- Copy the result or download it in the format you need.
Example
<ul><li>One</li><li>Two</li></ul>
<ul> <li>One</li> <li>Two</li> </ul>
Block elements on their own lines.
Good for
- Reading minified page source
- Tidying email templates
- Reviewing HTML snippets
Safe to use
Your HTML is only re-indented as text. It is never rendered or run, so scripts in your input can’t do anything.
What happens to your text
Your text is processed in your browser and kept only in this tab’s memory. It is not uploaded, saved or used for analytics.
Questions about HTML Formatter
More answers in the TextVix FAQ.
Will formatting change how my page looks?
Inline elements such as <b> and <a> stay within their lines, and <pre> and <textarea> content is untouched, so rendering is preserved in normal cases.
Is my text uploaded anywhere?
No. This tool runs entirely in your browser. Your text and files are never sent to a server or stored.

