Those Boring Tools
Developer ToolsPrivate by design

XML Formatter & Validator

Paste XML to pretty-print it with indentation, minify it, or check it for well-formedness errors — using your browser's built-in XML parser.

How to use this tool

  1. 1Paste your XML into the input box.
  2. 2Click Format to pretty-print it, or Minify to compress it to one line.
  3. 3If the XML isn't well-formed, an error is shown.

Frequently asked questions

Does this validate against a schema (XSD)?+

No, this checks that the XML is well-formed (correctly nested, matched tags, valid syntax) but doesn't validate against a specific schema or DTD.

Is my XML uploaded anywhere?+

No, parsing happens locally using the browser's native DOMParser — nothing is sent to a server.

Keep the boring tools boring.

If this saved you five minutes of nonsense, you can help keep the free tools running.

Buy the toolbox a coffee