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
- 1Paste the XML or HTML into the input field.
- 2Choose the type and the indentation (or minify).
- 3Copy or download the result: it shows up as you type.