Home / Data / XML Formatter, XPath & Validator

XML Formatter, XPath & Validator

Format or minify XML, check it is well-formed and test XPath expressions.

Free, no uploads, no sign-up. Runs 100% in your browser.

How XML Formatter, XPath & Validator works

Your browser parses the XML and reports the first error with its line. Formatting uses xml-formatter, and XPath 1.0 runs on the browser engine, with namespace prefixes taken from the document.

Input: XML, SVG, XSD, RSS, KML, GPX, PLIST. Output: XML.

How to use XML Formatter, XPath & Validator

  1. Open XML Formatter, XPath & Validator and add your file or input.
  2. Pick the options you need. Everything runs on your device.
  3. Press the main button and download the result.

Tips

  • Nothing is uploaded. Your files stay in this browser tab.

XML Formatter, XPath & Validator FAQ

Are my files uploaded?
No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
Is it free? Are there limits or watermarks?
Free and open source (MIT). There are no file-size caps, daily quotas, accounts or watermarks.
Does it work offline?
Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.

Related tools

  • Data Format Converter: Convert between JSON, YAML, XML, TOML, INI, CSV, NDJSON, MessagePack, CBOR and BSON.
  • JSON Formatter: Prettify, validate, minify and explore JSON as a tree.
  • CSV & Spreadsheet Editor: Edit CSV and Excel files in a fast grid: sort, filter, dedupe, find and replace, split and merge.
  • Mock Data Generator: Generate realistic fake names, emails, addresses, products and dates as JSON, CSV, SQL inserts, NDJSON or TSV.

OpenFile runs in your browser. Turn on JavaScript to use the tools.