XML Formatter and Validator

Paste XML, the tag-based format used in config files, feeds and web services, to indent it so it's easy to read, or minify it to remove the extra spaces and line breaks. It also checks that your XML is well-formed and shows where any mistake is.

Only the whitespace between tags changes. Text, attributes, comments and CDATA stay exactly as you typed them, and an element that mixes text with other tags, such as <p>Hello <b>world</b>!</p>, is left as it is so its meaning can't change. This checks that your XML is well-formed. It doesn't check it against a schema or DTD. Your text is processed in your browser and is not sent to our server.