Skip to content
Created by Iternal Technologies, the AI Strategy ExpertsBy Iternal (opens in a new tab)

Validate

XML Validator

XML

Paste XML. The first well-formedness error is marked, or the report names the root and element count.

Report

About XML Validator

XML Validator checks that a document is well-formed and stops at the first problem. Paste markup and the report names the root element and how many elements it contains, or the input highlights the tag, quote or character that failed.

An XML declaration, comments, processing instructions, CDATA sections and empty tags such as <item/> are allowed. The five predefined entities and numeric character references are accepted and are not expanded. Other entities are rejected.

Schema checks are out of scope. XSD and DTD validation are not performed, and a DOCTYPE declaration is rejected. The check runs in your browser and the text you paste is never uploaded.

Frequently asked questions

What does this XML validator check?

It checks that the text is well-formed XML and stops at the first problem. A successful check reports the root element name and the number of elements. It does not pretty-print the document.

Are comments, CDATA and empty tags allowed?

Yes. Comments, CDATA sections, an XML declaration, processing instructions and empty tags are allowed. Text, attribute values and markup must still follow XML well-formedness rules.

Does this validate against an XSD or DTD?

No. This checks well-formedness only. XSD and DTD validation are out of scope, and a DOCTYPE declaration is rejected instead of being resolved.

How are entity references treated?

The five predefined entities and numeric character references are accepted and left unexpanded. Any other entity, including one that would need a DTD, is reported as an error at the ampersand.

Is the text I paste uploaded anywhere?

No. Checking runs in your browser and the text you paste is never uploaded or logged. Google Analytics records page views and feature use, never content.

  • JSON Validator

    Check that text is valid JSON and report the first syntax error.

  • Regex Tester

    Test a JavaScript regular expression against text and list the matches.

  • Cron Helper

    Explain a cron expression and list the next run times in UTC.

  • JSON Escape / Unescape

    Turn text into a valid JSON string literal, or decode one back to plain text.

Iternal · AI Blueprint Builder

Plan the AI initiative, not just the output

The AI Blueprint Builder scores each use case across value, feasibility, cost, governance, risk, adoption and readiness before you commit budget. Free to start, about 60 minutes.

Open the AI Blueprint Builder (opens in a new tab)