{ }Devtool

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

  1. Paste input or drop a file above.
  2. Adjust options (delimiter, dialect, quality, ratio).
  3. Copy result or download — no sign-up needed.

FAQ

What errors are caught?

Mismatched closing tags, unclosed tags, stray angle brackets, and empty input — each with a line number.

Related format tools