Toolbit

XML Formatter, Validator and XPath Tester

Make a SOAP envelope or an RSS feed readable, check that it is well-formed, pull values out with XPath, or convert the whole thing into JSON.

What the XML Formatter does

  • Pretty-print and minify with configurable indentation.
  • Well-formedness checking with line-accurate error messages.
  • XPath query panel for extracting nodes and attributes.
  • XML to JSON conversion for feeding legacy data into modern code.

How to use it

  1. Paste your XML document.
  2. Format it, or switch to the XPath panel to query it.
  3. Copy the formatted XML or the converted JSON.

Why it runs locally

Toolbit has no backend. The XML Formatter is implemented with standard browser APIs, so your input is processed in the tab and never uploaded, logged, or retained. That is what makes it safe to paste real data into — and it is also why the tool keeps working with the network disconnected, once you have installed Toolbit as an app.

Frequently asked questions

Can it validate against an XSD?
It checks well-formedness and structure. Full XSD schema validation needs a dedicated validator; for JSON Schema equivalents, use the JSON validator.
Does XPath support namespaces?
Yes. Namespace-prefixed queries resolve against the declarations in the document.
Is my document uploaded?
Local transformations process input in your browser. HTTP and WebSocket tools send user-initiated requests. Optional product analytics is off by default, excludes tool input and output, and stays off when your browser signals Do Not Track or Global Privacy Control.

Related tools