Validate XML

Validate XML well-formedness.

Local processing · Nothing is uploaded · 1 MB input limit

Input & settings

Paste text or drop a UTF-8 text file
Ready. Enter your input to begin.

How to use this tool

Paste your source, choose the supported options, then process. Inspect or download the complete result.

Limits and behavior

No XSD or DTD validation. DOCTYPE/entity declarations rejected to prevent expansion and external-entity processing. Maximum total input 1 MB, output 3 MB, JSON nesting 64 levels. Processing stays in your browser worker. Input is limited to 1 MB and output to 3 MB. No input content is saved by CraftAI.

Check XML for structural syntax problems

Validate an XML document's well-formedness, including correctly nested elements and properly quoted attributes.

Is XML well-formedness the same as XML Schema validation?

No. A well-formed XML document may still fail a particular XSD or DTD schema. This tool checks well-formedness rather than arbitrary external schemas.

Related tools: Format XML · Minify XML

Built on Hatchable