XML Formatter & Validator
Format XML into indented output, or minify formatted XML. Validates well-formedness as it parses — malformed XML produces an error pointing to the offending line. Useful for inspecting SOAP responses, RSS feeds, sitemaps, and config files.
How to use the XML Formatter & Validator
Paste XML. Format inserts line breaks at tag boundaries and indents children. Minify produces a single-line, whitespace-free version. Validate only parses without producing output — useful when you just need to confirm the XML is well-formed.