XML Validator

Paste XML to check that it is well-formed. Mismatched or unclosed tags, unquoted attributes and stray characters are reported with the line and column, and valid documents are re-printed with highlighting.

Formatted XML will appear here.

Shortcuts: Ctrl/Cmd + Enter run · Ctrl/Cmd + Shift + F format

How to use

  1. 1Paste or type XML into the editor on the left.
  2. 2Click Validate XML, or press Ctrl/Cmd + Enter.
  3. 3Fix any reported error using the line and column shown.
  4. 4Beautify or minify the document, then copy or download it.

Frequently asked questions