ToolboxHub

XML & HTML Formatter

Result

Paste XML or HTML to format

Or drop a .xml or .html file here. The result shows up as you type.

  • Accepts XML, HTML and SVG

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

  1. 1Paste the XML or HTML into the input field.
  2. 2Choose the type and the indentation (or minify).
  3. 3Copy or download the result: it shows up as you type.

Frequently asked questions