About the XML & HTML Formatter
Paste raw XML or HTML — such as an invoice, a legacy API response or a messy page — and get indented, colored and organized code. You can also minify it to reduce size. All formatting happens locally in your browser, nothing sent to servers. It completes the data trio alongside our JSON Formatter.
How to format in 3 steps
- Paste the XML or HTML into the input field.
- Choose the type and the indentation (or minify).
- Click Format and copy or download the result.