IV · JSON & Data
IV · JSON & DataAV-D10

AV-D10

XML Formatter & XPath

Format or minify XML with parse errors by line, and run XPath queries against it.

● Runs on your device; nothing is uploaded

How to use it

  1. Paste XML into XML input, or click Open file.
  2. Choose Indent: 2 spaces, 4 spaces or Minified.
  3. Fix any parse error shown with its line and column.
  4. Type an XPath 1.0 Expression; use the d: prefix for a default namespace.
  5. Copy the matches, and click Download for the formatted XML.

Limits

Opened file size
20 MB
XPath matches listed
1,000 nodes
Formatted preview
300,000 characters (copy or download for all)
Features
  • XPath 1.0 with node-set, number, string and boolean results
  • Default namespace bound to the d: prefix automatically
  • Each match shown with its node type and location path
  • Keeps comments, CDATA, processing instructions and DOCTYPE
  • Parses with the browser DOMParser, which never runs scripts
AV-D10 · XML Formatter & XPath

Loading the tool…