Your result will appear here
Fill in the details on the left and press the button. You will see the answer right here, without the page reloading.
About this tool
Format XML so its structure is easy to read, or remove the whitespace between tags. Errors are reported with line and column. For safety, XML that contains a <!DOCTYPE> or <!ENTITY> is refused: those features can be abused to read files or exhaust memory. Your text is processed for this request only and is never stored.
Frequently asked questions
What does it do?
Indents or minifies XML and shows well-formedness errors.
What causes XML errors?
Usually a missing closing tag, wrongly nested tags or an unescaped character such as &.
Does it check against a schema?
No. It checks that the XML is well formed, not that it follows a particular schema.