Skip to main content

Search 436 pages — tools, formats, elements, namespaces, directory, comparisons, XPath, datatypes, glossary, parse errors, schema errors, use cases, guides, blog and product.

24 free toolsno accountnothing stored

Validate XML.
Find the fix.

Validate, format, convert, and compare XML. Look up parser errors with broken examples and their fixes, or explore 337 reference entries.

Up to 2 MB per document. Processed on our server; document contents are not stored by the tools.

feed.xmllibxml2
  1. <channel>
  2. <item>
  3. <title>First</title>
  4. </channel>

Opening and ending tag mismatch: item line 2 and channel (line 4)

Xerces (Java)
The element type "item" must be terminated by the matching end-tag "</item>".
expat (Python)
mismatched tag: line 4, column 2
Opening and ending tag mismatch — what it means, and the fix

The toolbox

24 free tools. No account required.

Paste a document, get an answer. Each tool parses in memory on the server and returns a result — no document, fragment, or filename is written to a database or a log.

Tools index
  • Paste it or load a file

    Up to 2 MB a document, with a worked example one click away on every tool.

  • Carry it to the next tool

    Validate, then query, convert or diff the same document without pasting it again.

  • libxml2 underneath

    XSD and RELAX NG validation, XPath and formatting run on the engine behind PHP, lxml and Nokogiri.

Validate in CISARIF 2.1.0
curl "https://xmldir.com/api/v1/validate?format=sarif" \
  -H "Authorization: Bearer $XMLDIR_API_KEY" \
  -H "Content-Type: application/xml" \
  --data-binary @public/sitemap.xml
POST /api/v1/validate
Validate an XML document
POST /api/v1/convert
Convert between XML and JSON, YAML or CSV
POST /api/v1/xpath
Evaluate XPath against a document
POST /api/v1/diff
Compare two XML documents structurally
POST /api/v1/transform
Apply an XSLT 1.0 stylesheet
POST /api/mcp
The same operations, as 5 MCP tools for an agent
The OpenAPI description — no key needed to read it

In practice

Feeds, sitemaps, and integrations.

The workspace

Keep versions. Track what changes.

Save documents in a free workspace to search their structure, compare versions, and re-check monitored URLs on a schedule.

Create a free account

No card. The guest workspace needs no account at all.

  • Search the structure

    Find paths, attributes, sample values, and schema references in each document.

  • Compare versions

    See which elements, attributes, and values changed between saved versions.

  • Monitor sources

    Re-check feeds, sitemaps, and partner URLs for errors and structural changes.