Nifty / Tools / XML

XML Validator

Check that XML is well-formed: matching tags, quoted attributes, one root element.

xml-validator
XML to checkDrop a file here
Formatted (when valid)
Loading…

Runs in your browser. Nothing you paste is uploaded or stored.

How to use the XML Validator

  1. Paste XML on the left.
  2. Read the status line: the first error is shown with its line and column.
  3. When it's valid, the formatted XML appears on the right.

Questions

Is my data uploaded anywhere?

No. The tool runs entirely in your browser. Nothing you paste or drop is sent to a server, logged or stored, so it's safe for API responses, config files and other private data.

Does it validate against an XSD schema?

No. It checks that XML is well-formed, which catches most mistakes. Checking against an XSD schema needs the schema file; in VS Code, Red Hat's XML extension does that and works alongside Nifty XML.

Related tools