Skip to main content

XML Formatter & Validator

Format, prettify, and validate XML documents. Configurable indent and minify mode.

Frequently Asked Questions

How is validation performed?

Using the browser's built-in DOMParser. Well-formedness (tags balanced, attributes quoted) is checked; DTD/XSD validation is not performed.

Does this handle SVG?

Yes. SVG is valid XML, so it formats correctly.

Related Tools