HTML Formatter
Indents and formats HTML to make it easy to read.
Workspace · HTML Formatter
El código no se ejecuta: solo se transforma como texto.
How to use it
Paste the code, URL or data you want to process.
Select the format or action available in the tool.
Check the result and copy it into your editor or configuration file.
Examples
Disorganised excerpt
HTML on a single line is broken up into indented tags.
Review
Detect unclosed tags using the formatter.
What you need to know
The formatter indents the tags and preserves the content. It does not correct invalid HTML or execute scripts; please check the result before using it in production.
Frequently Asked Questions
Related tools
Other tools that can help with similar tasks.
CSS Formatter
Format CSS code with well-indented rules, properties and curly brackets.
JavaScript Formatter
Indent and organise JavaScript code so that it can be reviewed easily.
XML Validator
Checks whether an XML file is well-formed and identifies errors.
