XML Formatter & Validator
Format, minify, and validate XML online. Pretty-print with custom indent, catch mismatched or unclosed tags with line numbers, all in your browser.
XML input
How to use
- Paste XML in the input.
- Press Prettify, Minify, or Validate only; set indent for pretty mode.
- Copy or download. Errors name the line number.
FAQ
What errors are caught?
Mismatched closing tags, unclosed tags, stray angle brackets, and empty input — each with a line number.